How to WINDOWS10 under Settings always run as Administrator
Studied: https://jingyan.baidu.com/article/e2284b2b6e6df8e2e7118d7a.html
You can set the shortcut mode, you can install the general program can also be set;
For Cmd.exe seemingly can not be set;
========================================================
Studied: https://bbs.kafan.cn/thread-1844768-1-1.html
You can also change the registration form:
Windows10 how to get admin privileges: Create a new Notepad, copy the following: [Mw_shl_code=css,true]windowsdows Registry Editor Version 5.00[hkey_classes_ Root*shellunas]@= "" Admin get All Rights "" "" "noworkingdirectory" "=" "" [hkey_classes_root*shellunascommand]@= "" cmd.exe/c Takeown/f "" "%1" "&& icacls" "%1" "/grant administrators:f" "" "isolatedcommand" "=" "cmd.exe/c takeown/f" "%1" "&am p;& icacls ""%1 ""/grant administrators:f "" [hkey_classes_rootexefileshellunas2]@= "" Admin get All Rights "" "" Noworkingdirectory "" = "" "" [hkey_classes_rootexefileshellunas2command]@= "" Cmd.exe/c takeown/f ""%1 "" && Icacls "" "%1" "/grant administrators:f" "" "isolatedcommand" "=" "cmd.exe/c takeown/f" "%1" "&& icacls" "%1" "/grant Administrators:f "" [hkey_classes_rootdirectoryshellunas]@= "" Admin get All Rights "" "" "noworkingdirectory" "=" "" "[Hkey_classes_ Rootdirectoryshellunascommand]@= "" Cmd.exe/c takeown/f ""%1 ""/r/d y && icacls ""%1 ""/grant administrators:f/t "" "" "" "isolatedcommand" "=" "cmd.exe/c takeown/f" "%1" "/r/d y && icacls" "%1" "/grant Administrators:f/T "" [/mw_shl_code] OK, save Windows10 Get administrator privileges. Reg., remember that the suffix must be. reg.
PS or sometimes because the program is in operation, and can not be deleted, the Task Manager may be enabled to end all processes of the program, and then try to delete again. Enable Administrator account: Run Gpedit.msc--Computer Configuration--Windows Settings--security settings--local policy--security options--Account: Administrator account status--double-click Open Properties--enable--OK.
How to WINDOWS10 under Settings always run as Administrator