Solved

Unattend.txt:  adding a user account

Posted on 1998-06-24
4
359 Views
Last Modified: 2013-12-14
I am  running  the  unattend.txt in  a  netware  4.11  environment.  I  need to know  how I can  add an additional administrators account  in  the  unattend.tx
0
Comment
Question by:darbycrsh
  • 2
4 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1768596
in your unattend.txt use:

   UserExecute = drive:\your\path\batch.bat


in batch.bat use:

   addusers /c file

see addusers for a description how to specify your user in file (addusers /d  gives you an example ;-)
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1768597
just rejecting won't help much ;-(
would you please tell me what's wrong
0
 

Author Comment

by:darbycrsh
ID: 1768598
I need to do it with preset passwords. This method  just sets the passwords to blank.  sorry about that.  I should  have explained more
0
 
LVL 4

Accepted Solution

by:
vvk earned 200 total points
ID: 1768599
Create a $oem$ folder in you I386 (from where you start setup).
Create a Cmdlines.txt file with the following section:
[commands]
".\net user <UserName> (Password> /add"
".\net group Admministrators <UserName> /add"
Copy of the Net.exe in the $oem$ folder.
In Unattend.txt file, make sure the Oempreinstall value is set to Yes.
Run an unattended setup.

0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question