Run script as administrator in guest account

  • Thread starter Thread starter Jeff Kuehl
  • Start date Start date
J

Jeff Kuehl

I am looking for some advice as to if it is possible to
Run a script to modify security policy's (and how, I am
unsure as to how the script should go in modifiying the
policy's) and how I would be able to run them in a guest
account?

Thanks for any suggestions or help
 
I do mean, with having a login. Such as I can right click
the group editing policy and click "Run as" and type in
the admin or another user login.
 
Well, I don't know about scripting, but you can check out the LogonUser()
and CreateProcessAsUser() functions. Make sure to read the remarks under
LogonUser() to ensure you have the proper privileges - the minimum required
privileges seem to have changed between Win2k and WinXP.

{L}
 
-----Original Message-----
Well, I don't know about scripting, but you can check out the LogonUser()
and CreateProcessAsUser() functions. Make sure to read the remarks under
LogonUser() to ensure you have the proper privileges - the minimum required
privileges seem to have changed between Win2k and WinXP.

{L}





.
 
Back
Top