After the recent upgrade to Windows 10, the good ol' AppCompatFlags
method no longer works. Which is something like this -
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\\Windows\\System32\\cmd.exe"="~ RUNASADMIN"
"C:\\Windows\\SysWOW64\\cmd.exe"="~ RUNASADMIN"
"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"="~ RUNASADMIN"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\\Windows\\System32\\cmd.exe"="~ RUNASADMIN"
"C:\\Windows\\SysWOW64\\cmd.exe"="~ RUNASADMIN"
"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"="~ RUNASADMIN"
Is there any other way I can make command prompt run as admin by default? I'm not talking about the CTRL + SHIFT + ENTER to run as admin or through a shortcut as they are all very inconvenient.
(E.g. say when you SHIFT right click in a folder and open a new command prompt, it's not gonna run as admin by default and there's no way you can make it run with the privilage without editing the context menu.)
No comments:
Post a Comment