Solved

Unattend.txt:  adding a user account

Posted on 1998-06-24
4
372 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Limited time offer using promo code EXPERTS25

Designed with a wealth of functionality and convenience, ATEN's new Thunderbolt™ 2 Sharing Switch takes your Thunderbolt setup to the next level. Now through August 31, 2017, Experts Exchange members get 25% off the US7220 on the ATEN USA eShop using promo code EXPERTS25.

Question has a verified solution.

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

Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

626 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