Windows Vista Forums

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

  1. #1


    Join Date : Oct 2011
    Posts : 8
    Vista Home Premium 32 bit
    Local Time: 22:23

    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\""

    -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. #2
    richc46's Avatar



    Join Date : Dec 2008
    Fairfield County, CT
    Posts : 20,036
    Windows 7 SP1 x64
    Local Time: 10:23
    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

  3. #3


    Join Date : Oct 2011
    Posts : 8
    Vista Home Premium 32 bit
    Local Time: 22:23


      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

  4. #4
    townsbg's Avatar

    Join Date : Sep 2011
    US of A
    Posts : 1,743
    Mac OS 10.10.3
    Local Time: 09:23
    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

  5. #5


    Join Date : Oct 2011
    Posts : 8
    Vista Home Premium 32 bit
    Local Time: 22:23


      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

  6. #6
    richc46's Avatar



    Join Date : Dec 2008
    Fairfield County, CT
    Posts : 20,036
    Windows 7 SP1 x64
    Local Time: 10:23
    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

  7. #7


    Join Date : Oct 2011
    Posts : 8
    Vista Home Premium 32 bit
    Local Time: 22:23


      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.
      My System SpecsSystem Spec

  8. #8


    Join Date : Oct 2011
    Posts : 8
    Vista Home Premium 32 bit
    Local Time: 22:23


      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

  9. #9
    townsbg's Avatar

    Join Date : Sep 2011
    US of A
    Posts : 1,743
    Mac OS 10.10.3
    Local Time: 09:23
    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' ?
Hi, I have never had this problem before, until today when the infamous fake "Vista atnivirus 2010" somehow got into my system, with its unstopable...
General Discussion
File Won't Open on Double-Click
Hopefully this will be an acceptable forum to put this in. Honestly, I'm not sure where else. So, here's the problem: If I double-click on...
General Discussion
eula - can't click on run as admin
Running Office Prof 2003 on VISTA I right clicked on the Office application shortcut clicked on properties Clicked on advanced the run as...
.NET General
Right click on file does not show Open With
Anyone know how I can get the Open With assigned to my right click menu in Vista Ultimate 64? Thank you.
General Discussion
Right-click on file
When I right click on a file name, one of the choices is "open with". When I click on a picture file I get some choices that I don't want because...
Vista General
Rename file - click 3 times
I encountered some of the files when I rename them I need to get rid of 3 pop up confirmation boxes. Why is that?
Vista General
How do I put a command on the right click menu for a file type?
In all the other versions of Windows, you can add and edit options that appear on the right click menu when you click on a given file type by going...
Vista file management