Windows Vista Forums

How to add run as admin on the right click for all file

  1. #1



    Newbie
    Join Date : Oct 2011
    Posts : 8
    Vista Home Premium 32 bit
    Local Time: 02:07 PM

    How to add run as admin on the right click for all file

    Hello All,

    Vista have lost "run as admin" on the right click of any file. If I am not mistaken , this happened after registry defrag. (I logged in vista as admin)

    I tried the following

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\WinRAR.ZIP\shell\runas\command]
    @="\"C:\\Program Files\\WinRAR\\WinRAR.exe\" \"%1\""

    How to add run as admin on the right click for all file-run-winrar.jpg

    yet no run as admin appears option on the right click.

    I have tried in window seven with similar approach and could add "run as admin" to all files on the right click yet I could not find that website.

    Would you please suggest how to add run as on the right click to all file without having to change regisry for each file type, please?

      My System SpecsSystem Spec

  2.   


  3. #2
    richc46's Avatar

    BSOD Squad




    Join Date : Dec 2008
    Fairfield County, CT
    Posts : 19,786
    Windows 7 SP1 x64
    Local Time: 02:07 AM
    usa us connecticut

     

    Re: How to add run as admin on the right click for all file

    Welcome
    First stop using those registry cleaners, registry defrags or anything else they can be called. They do not help and can cause problems.

    Go back a few days with system restore, you will be put back the way you were.
    System Restore - How to

      My System SpecsSystem Spec

  4. #3



    Newbie
    Join Date : Oct 2011
    Posts : 8
    Vista Home Premium 32 bit
    Local Time: 02:07 PM


      Thread Starter

    Re: How to add run as admin on the right click for all file

    Hello richc46 , thank you for suggestion , I just recognized that i manually backed up registry before registry defragmentation. The incident is solved now.

    Regarding registry , I messed up by registry cleaner before ;therefore , I have never cleaned registry since then yet I thought defrag registry is different and would not delete the entry as I saw this tutorial.

    16. Defragment the Registry Unlike registry cleaning utilities, no entries are removed from the registry. Instead, wasted space is reclaimed and the files are defragmented in the registry to improve performance. Free Registry Defrag is a great free program for this.
    Free Registry Defrag
    However, I would bare in mind about your advise.

      My System SpecsSystem Spec

  5. #4
    townsbg's Avatar

    ~~тσωηsвg~~

    Join Date : Sep 2011
    US of A
    Posts : 1,410
    Mac OS X 10.8.5
    Local Time: 01:07 AM
    usa

     

    Re: How to add run as admin on the right click for all file

    If it ain't broke don't fix it!!! I also agree to stay away from registry cleaners with no exceptions (especially the ones you have to pay for).

      My System SpecsSystem Spec

  6. #5



    Newbie
    Join Date : Oct 2011
    Posts : 8
    Vista Home Premium 32 bit
    Local Time: 02:07 PM


      Thread Starter

    Re: How to add run as admin on the right click for all file

    Hello All,

    Actually, the thread is already marked as solved;however, the problem occur again. This time I am not sure what cause the problem. One thing is strange is i download portable virtual box yet unable to extract the file (no file extracted) and after that i just notice that run as admin was disappeared.

    Try merging the backed up registry , using Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\WinRAR.ZIP\shell\runas\command]
    @="\"C:\\Program Files\\WinRAR\\WinRAR.exe\" \"%1\"" , together with doing system restore yet still no 'run as admin.' shows in the context munu.

    Would you have any suggestion , please ?

      My System SpecsSystem Spec

  7. #6
    richc46's Avatar

    BSOD Squad




    Join Date : Dec 2008
    Fairfield County, CT
    Posts : 19,786
    Windows 7 SP1 x64
    Local Time: 02:07 AM
    usa us connecticut

     

    Re: How to add run as admin on the right click for all file

    The reason that you are having these problems is probably because you use stuff on the registry. After things are fixed, stay away from registry cleaners, and everything else.

      My System SpecsSystem Spec

  8. #7



    Newbie
    Join Date : Oct 2011
    Posts : 8
    Vista Home Premium 32 bit
    Local Time: 02:07 PM


      Thread Starter

    Re: How to add run as admin on the right click for all file

    so, are there anyway to enable runas without reinstall window , please ?

    edit 1 : found for adding runas command prompt by pressing Ctrl+Shift+enter at the same time when click command

    edit 2 : edit 1 approach is unable to run " installer " (window script commnand) from the window AIK files as admin, How could I run such file as administrator, please ?

    Last edited by AA light; 15 Oct 2011 at 05:03 AM.
      My System SpecsSystem Spec

  9. #8



    Newbie
    Join Date : Oct 2011
    Posts : 8
    Vista Home Premium 32 bit
    Local Time: 02:07 PM


      Thread Starter

    Re: How to add run as admin on the right click for all file

    update :

    tried opening command prompt and type "Net user administrator /active:yes" without quotation , log off and log on again as admin , there are runas administrator appears in the context menu .

      My System SpecsSystem Spec

  10. #9
    townsbg's Avatar

    ~~тσωηsвg~~

    Join Date : Sep 2011
    US of A
    Posts : 1,410
    Mac OS X 10.8.5
    Local Time: 01:07 AM
    usa

     

    Re: How to add run as admin on the right click for all file

    Nice going!!! Really, if you are an administrator you usually don't need the run as administrator option. It's only when you don't run as an administration that you need the run as option.

      My System SpecsSystem Spec


How to add run as admin on the right click for all file
Similar Threads
Thread Forum
Why can't I run any .exe Applications unless I click on 'run as admin' ? General Discussion
File Won't Open on Double-Click General Discussion
eula - can't click on run as admin .NET General
Right click on file does not show Open With General Discussion
Right-click on file Vista General