Is there some way to elevate priviledges within a script? (batch, powershell, perl doesn't matter)
Our goal is to allow users to start and stop services. We would like to be able to run a script using type of remote job execution. We downloaded the subinacl.exe and can start it remotely with the correct parameters. However, it fails with
"WARNING :Unable to set SeSecurityPrivilege privilege. This privilege may be required."
If I start a command line with elevated privileges and run the command it works fine.
Since we are dealing with dozens of machines and several services (with more to come), we would like some way to automate this process.
Any suggestions?
Our goal is to allow users to start and stop services. We would like to be able to run a script using type of remote job execution. We downloaded the subinacl.exe and can start it remotely with the correct parameters. However, it fails with
"WARNING :Unable to set SeSecurityPrivilege privilege. This privilege may be required."
If I start a command line with elevated privileges and run the command it works fine.
Since we are dealing with dozens of machines and several services (with more to come), we would like some way to automate this process.
Any suggestions?