-
Notifications
You must be signed in to change notification settings - Fork 0
ddhahn/AutoIT-RunAsServiceAccount
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This script will run a command as the specified user, making sure the command is elevated to the highest privilege on the system It does this by modifying the local security policy to allow the specified user the ability to log on as a service, then uses that logon type to get "admin" level privileges, sort of going around UAC. It also runs the command on another desktop besides the default one. This is to ensure the user doesn't encounter any dialogs in the command generates them This script must be run as system to work, so they're no magic here as far as elevating privileges on a Windows system. I wrote this originally because we needed a way to run a command via LANDesk as another admin user, besides SYSTEM. Some installers weren't designed to work as system. This software is licensed under the MIT license.
About
Runs a command as the specified user with highest available privileges
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published