Run script as administrator in guest account

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
 
J

Jeff Kuehl

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.
 
L

LiquidJ

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}
 
J

Jeff Kuehl

-----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}





.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top