OneScript Team Blog

A world of automation script samples based on IT Pros' real-world tasks

[Script Of July 4] How to easily run an application as administrator without UAC prompts

[Script Of July 4] How to easily run an application as administrator without UAC prompts

  • Comments 2
  • Likes
image image
July
4
image

Script Download:  
The script is available for download from http://gallery.technet.microsoft.com/scriptcenter/How-to-easily-run-an-0c0eb47a/.  You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment. 

Sometimes, a standard user will be able to use the "runas /savecred" command to run any command as administrator without entering a password. Perhaps user wants to allow a child's standard user account to run a game as Administrator without asking you, etc. This script can easily help you do it.

You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment