|
-
Oct 28th, 2007, 06:15 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] Workaround for Shutdown.exe LUA bug
I'm trying to create a code that does the following automatically.
How to do it (requires admin privileges): Open Administrative Tools \ "Local Security Settings". Navigate to Security Settings \ Local Policies \ User Rights Assignment. Double-click "Force shutdown from a remote system" in the right pane. Click "Add User or Group". Enter the name INTERACTIVE in the text box and click "Check names", then click OK, and OK again.
Taken from: http://blogs.msdn.com/aaron_margosis...27/518214.aspx
I have administrative rights on the computer, but i wish to create code that does that automatically. I have no idea what to search for to even begin coding. Can i just grab my username & smack it into that place like you can in the registry, or is it a little more complicated?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|