Always run cmd.exe as administrator
To always run the cmd (or any program) as administrator in Windows 7, modify the regedit as follows:
* Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers (create if necessary)
*Create a Key-value
*for the key, the full path: i.e. C:\Windows\System32\cmd.exe (no quotes)
*for the value, RUNASADMIN (no quotes either)
That can be extended to other programs too
Written by Alvaro Garcia
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Windows
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#