Enable Standard User to Run a Program as an Administrator


Create a Batch File “C:\myprogram.bat” with the following line in it (make sure you replace notepad with your own program):

runas /user:COMPUTERNAME\Administrator /savecred "C:\Program Files (x86)\Notepad++\notepad++.exe" 


The first time you run the batch file above you will get prompted for your administrator password.

Run the Batch File first, so you can register your password.


Disable the annoying DOS Prompt. Create another batch file and put the following lines in it:

Set WshShell = CreateObject("WScript.Shell" ) 
WshShell.Run chr(34) & "C:\myprogram.bat" & Chr(34), 0 
Set WshShell = Nothing 

Voila. You are good to go.