JSI Tip 1381. How do I make Domain Users local Administrators during unattended setup of a WinNT Workstation?

In the cmdlines.txt file, include the following commands:

net use \\PDCname DomainAdminPassword /User:DomainName\DomainAdminUserName
net start netlogon
net localgroup Administrators "DomainName\Domain Users" /add

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.