首页 > 代码库 > 有直接运行的runas命令,XP就有

有直接运行的runas命令,XP就有

net user administrator /active:yes

runas /user:ComputerName\Administrator /savecred “C:\Path\To\Program.exe“
runas /user:Laptop\Administrator /savecred “C:\Program Files\CCleaner\CCleaner.exe”

技术分享

 

http://www.howtogeek.com/124087/how-to-create-a-shortcut-that-lets-a-standard-user-run-an-application-as-administrator/

https://technet.microsoft.com/en-us/library/bb490994.aspx

有直接运行的runas命令,XP就有