
You can do the same to run other programs. The application opened with limited rights and more importantly there was no UAC pop-up. I used C:\Windows\system32>H:\Downloads\RunWithRestrictedRights.exe "C:\Program Files (x86)\Kingston_SSD_Manager\KSM.exe" for this. Let's try this with an application that is not part of the operating system and requires UAC, e.g. Where aaaa = 4 digit number representing the process ID. You will also see a new message on the command prompt screen which reads Application "notepad" started at Medium Integrity with PID aaaa. exe file), so bear that in mind.If done correctly, the restricted program should open. This password will be saved – the next time you double-click the shortcut, the application will launch as Administrator without asking you for a password.Īs we mentioned above, the standard user account now has the ability to run any application as Administrator without entering a password (using the runas /savecred command to launch any. The first time you double-click your shortcut, you’ll be prompted to enter the Administrator account’s password, which you created earlier. If you’re using an other program, browse to its. For example, you can browser to CCleaner.exe and choose an icon associated with it. To select an icon for your new shortcut, right-click it and select Properties.Ĭlick the Change Icon button in the Properties window.

Runas /user:Laptop\Administrator /savecred “C:\Program Files\CCleaner\CCleaner.exe”

For example, if your computer’s name was Laptop and you wanted to run CCleaner, you’d enter the following path: 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\Administrator /savecred “ C:\Path\To\Program.exe“ Enter a command based on the following one into the box that appears:
