Jump to content

adding domain users to local admin group


Recommended Posts

Posted

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?


Posted

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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...