Sign in to follow this  
Followers 0
net_user

adding domain users to local admin group

3 posts in this topic

i'm using psexec to attach to a network pc, and run this command

net localgroup administrators /add "domain\domain users"

this work great, but then the user has to logoff for the admin rights to "show up"

is there a command i can run without having to logoff and log back on?

0

Share this post


Link to post
Share on other sites

The user has to open a new session to get the new rights. He could use runas to force a second authentification and launch another app with the admin rights.

0

Share this post


Link to post
Share on other sites

crap i was affraid of that, i'll just force a log off

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.