Posted by: jonc | July 6, 2006

Change group membership token for user

I found this very useful script a while back that will give a local user temporary administrator rights without having to log off. Even though it’s not possible to refresh a security token group membership for a user without log off, this script makes it possible to execute programs as the current user with administrator rights.

Essentially all the script does is:

  1. Authenticate as Admin
  2. Add user to Admin group
  3. Starts command line process in a new session with a new token for user with admin rights
  4. Removes user from Admin group

Find the script and more information here – Aaron Margosis’ WebLog : MakeMeAdmin — temporary admin for your Limited User account


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: