Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need admin access to add programs after W2K install

Status
Not open for further replies.

netwerkassist

Technical User
Apr 17, 2002
12
CA
I can upgrade my NT box to W2K, but need help in
specifying some "Connect As/Password" credentials when I
want to run my runonce.bat file. Would appreciate an
example of a how I could accomplish this! I tryed net use
at the top of the runonce.bat but no luck and I don't want
to use a "guest" account.

Also when you upgrade you are prompted to logon. If you
do a clean install you are not prompted. Need a way to
auto logon for the upgrade as their are many boxes.

Here's an example of my runonce.bat.

@echo OFF

net use z: \\yew\i386
mypassword /USER:pdavies\mydomain /PERSISTENT:NO

"Start /wait msiexec /i \\YEW\w2k\TOOLS\2000rkst.msi /qb"
rem Resource Kit
"Start /wait msiexec /i \\YEW\w2k\W2KResKitS1
\w2000rk.msi /qb"
rem Set Server Time
"Start /wait net time /setsntp:york.jettadetta.com"
"Q323255 /n /q /z"

Appreciate help
 
Try putting your password after the username:

ie. net use g: \\servername\filename /user:username yourpassword /persistent:no
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top