Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

adding domain users to local admin group

- - - - -

  • Please log in to reply
2 replies to this topic

#1
net_user

net_user

    Advanced Member

  • Member
  • PipPipPip
  • 371 posts
  • Joined 02-June 05
  • OS:Windows 7 x86
  • Country: Country Flag
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?
Hex:
526573697374616e636520697320667574696c6521

A+


How to remove advertisement from MSFN

#2
allen2

allen2

    Not really Newbie

  • Member
  • PipPipPipPipPipPipPip
  • 1,812 posts
  • Joined 13-January 06
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
net_user

net_user

    Advanced Member

  • Member
  • PipPipPip
  • 371 posts
  • Joined 02-June 05
  • OS:Windows 7 x86
  • Country: Country Flag
crap i was affraid of that, i'll just force a log off
Hex:
526573697374616e636520697320667574696c6521

A+




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN