MSFN Forum: adding domain users to local admin group - MSFN Forum

Jump to content


Unattended CD/DVD Guide Homepage · MSFN Forum Rules

If you have questions about customizing Windows XP that are nLite-specific, please post them in the nLite forum, not here. If you have questions regarding the unattended installation of Windows XP, please post them in the Unattended Windows 2000/XP/2003 section.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

adding domain users to local admin group Rate Topic: -----

#1 User is offline   net_user 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 371
  • Joined: 02-June 05
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 18 October 2012 - 01:27 PM

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?


#2 User is offline   allen2 

  • Not really Newbie
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,737
  • Joined: 13-January 06

Posted 18 October 2012 - 01:48 PM

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.

#3 User is offline   net_user 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 371
  • Joined: 02-June 05
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 18 October 2012 - 01:52 PM

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy