I need a script to run with admin rights but I dont want to save the user/pass within the script file. Also, what would be the command that allows the script to assign "Authenticated Users" modify rights to a folder? TIA
login with the an admin account then run the script?
run the script as a scheduled task i think it then runs as system?
use runas to call the script?
use psexec.exe when logged onto remote machine as user will elevated permissions?
start the script from some installation service? e.g. altiris, sccm, sms, these clients will prob have elevated rights?
pass the script as command line parameters the creditials you want it to use in its calls?
use cacls or xcacls to assign folder permissions?
I Hear, I Forget
I See, I Remember
I Do, I Understand
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.