• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

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

#1
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 as 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 Computer

System One

  • Manufacturer/Model
    Acer
    CPU
    Intel(R) Core(TM)2 Duo CPU T5800 @ 2.00GHz, 2
    Motherboard
    Aspire 4930
    Memory
    1 GB DDR2
    Graphics Card(s)
    NVIAD Geforce 9300M GS
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    ..

richc46

Staff member
Vista Guru
Gold Member
#2

My Computer

System One

  • Manufacturer/Model
    Dell XPS420
    Memory
    6 gig
    Graphics Card(s)
    ATI Radeon HD3650 256 MB
    Sound Card
    Intergrated 7.1 Channel Audio
    Monitor(s) Displays
    Dell SP2009W 20 inch Flat Panel w Webcam
    Hard Drives
    640 gb
    Cooling
    Fan
    Mouse
    Dell USB 4 button optical
    Keyboard
    Dell USB
    Other Info
    DSL provided by ATT
#3
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 Computer

System One

  • Manufacturer/Model
    Acer
    CPU
    Intel(R) Core(TM)2 Duo CPU T5800 @ 2.00GHz, 2
    Motherboard
    Aspire 4930
    Memory
    1 GB DDR2
    Graphics Card(s)
    NVIAD Geforce 9300M GS
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    ..

townsbg

~~тσωηsвg~~
Vista Guru
Gold Member
#4
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 Computer

System One

  • Manufacturer/Model
    Mid 2010 iMac
    CPU
    3.2 Ghz I3
    Memory
    8 gb
#5
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 Computer

System One

  • Manufacturer/Model
    Acer
    CPU
    Intel(R) Core(TM)2 Duo CPU T5800 @ 2.00GHz, 2
    Motherboard
    Aspire 4930
    Memory
    1 GB DDR2
    Graphics Card(s)
    NVIAD Geforce 9300M GS
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    ..

richc46

Staff member
Vista Guru
Gold Member
#6
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 Computer

System One

  • Manufacturer/Model
    Dell XPS420
    Memory
    6 gig
    Graphics Card(s)
    ATI Radeon HD3650 256 MB
    Sound Card
    Intergrated 7.1 Channel Audio
    Monitor(s) Displays
    Dell SP2009W 20 inch Flat Panel w Webcam
    Hard Drives
    640 gb
    Cooling
    Fan
    Mouse
    Dell USB 4 button optical
    Keyboard
    Dell USB
    Other Info
    DSL provided by ATT
#7
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:

My Computer

System One

  • Manufacturer/Model
    Acer
    CPU
    Intel(R) Core(TM)2 Duo CPU T5800 @ 2.00GHz, 2
    Motherboard
    Aspire 4930
    Memory
    1 GB DDR2
    Graphics Card(s)
    NVIAD Geforce 9300M GS
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    ..
#8
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 Computer

System One

  • Manufacturer/Model
    Acer
    CPU
    Intel(R) Core(TM)2 Duo CPU T5800 @ 2.00GHz, 2
    Motherboard
    Aspire 4930
    Memory
    1 GB DDR2
    Graphics Card(s)
    NVIAD Geforce 9300M GS
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    ..

townsbg

~~тσωηsвg~~
Vista Guru
Gold Member
#9
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 Computer

System One

  • Manufacturer/Model
    Mid 2010 iMac
    CPU
    3.2 Ghz I3
    Memory
    8 gb