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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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