Right-click the desktop (or elsewhere), point to New, and select Shortcut.
Enter <runas /user:ComputerName\Administrator /savecred “C:\Path\To\Program.exe“> into the box that appears. Replace ComputerName with the name of your computer and C:\Path\To\Program.exe with the full path of the program you want to run.
runas /user:ComputerName\Username /savecred
The completed command looks something like this.
runas /user:ComputerName\Username /savecred "C:\path\to\file.exe"
Found on Spiceworks: https://community.spiceworks.com/how_to/86844-create-a-shortcut-that-lets-a-standard-user-run-an-application-as-administrator?utm_source=copy_paste&utm_campaign=growth
https://www.maketecheasier.com/standard-users-run-program-admin-rights/
Sem comentários:
Enviar um comentário