Jump to content

unattend installation


nico
 Share

Recommended Posts

HI

A brief description I am trying to carry out a network installation between two machines, the source PC is a server running windows 2003 server standard, the client is a HP Compaq nx6125 laptop.

Both machines are communicating, the server has been set up using "SetupMgr.exe", to install windows 2000 server onto a source directory \datsoc\osinstallation\win2000serv. The laptop has Bart Dos Boot disk installed and running.

All so far appears to be working, the source directory is shared and able to locate the "unattend.bat", from the client.

The problem I am having is if I try to run the "unattend.bat" remotely, using

winnt /u:unattend.bat /s:\\qtx-buildserver\datsoc\osinstallations\win2000\i386 /t:c:

The windows 2000 setup blue window appears with the following script:

"The script file specified with the /u command line switch

unattend.bat

contains a syntax error on line 1.

Setup cannot continue.

I have tried editing and removing some of the lines, but still get the same message as above.

---------------------------------------

unattend.bat

@rem SetupMgrTag

@echo on

rem

rem This is a SAMPLE batch script generated by the Setup Manager Wizard.

rem If this script is moved from the location where it was generated, it may have to be modified.

rem

set AnswerFile=.\unattend.txt

set SetupFiles=\\QTX-BUILDSERVER\win2000serv

\\QTX-BUILDSERVER\win2000serv\winnt32 /s:%SetupFiles% /unattend:%AnswerFile%

-----------------------------------------

I have also tried to install WinXP, from the server to the client but same results.

Any help on the above I would be most grateful

Thanks

Link to comment
Share on other sites

Have you looked at this MS KB article? There are also links at the bottom.

Thank you for the info,

Yes I have looked at using RIS, and will be one objective in the near future.

The network is quite small resides in a Lab, the general plan is to automate the installation and configuration of software applications and OS's, emulating data acquisitions systems presently out on sites, remote linking to clients around the world, but this is for the future.

Otherwise any help on the original problem would be most helpful

Thanks

Link to comment
Share on other sites

 unattend.bat

@rem SetupMgrTag
@echo on

rem
rem This is a SAMPLE batch script generated by the Setup Manager Wizard.
rem If this script is moved from the location where it was generated, it may have to be modified.
rem

set AnswerFile=.\unattend.txt
set SetupFiles=\\QTX-BUILDSERVER\win2000serv

\\QTX-BUILDSERVER\win2000serv\winnt32 /s:%SetupFiles% /unattend:%AnswerFile%

end

Link to comment
Share on other sites

HI

Sorry I am a little late in replying, anyway, from you previous email the "unattend.bat" is the title of the file I edited the unattend.bat file as suggest, but with no change at all.

One other thing I forgot to mention from my original email, if I just run the "unattend.Bat" file from the command prompt on the remote PC, I get the following error.

DATA.INSTALL@PC-304802 F:\OSINST~1\WIN2000>\\QTX-BUILDSERVER\win2000inst\winnt32 /s:\\QTX-BUILDSERVER\win2000inst /unattend:.\unattend.txt

Bad command or file name.

This may purely because I am not running the "winnt" command.

TA

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy