nico Posted March 28, 2006 Report Share Posted March 28, 2006 HIA 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, usingwinnt /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 switchunattend.batcontains 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 onremrem 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.remset AnswerFile=.\unattend.txtset 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 gratefulThanks Quote Link to comment Share on other sites More sharing options...
Scarecrow Man Posted March 29, 2006 Report Share Posted March 29, 2006 Have you looked at this MS KB article? There are also links at the bottom. Quote Link to comment Share on other sites More sharing options...
nico Posted March 29, 2006 Author Report Share Posted March 29, 2006 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 helpfulThanks Quote Link to comment Share on other sites More sharing options...
Scarecrow Man Posted March 29, 2006 Report Share Posted March 29, 2006 Can you post the contents of your bat file into a code box?[code]unattend.batcodecodecodecodeend[code] (use a /code in the brackets) Quote Link to comment Share on other sites More sharing options...
nico Posted March 30, 2006 Author Report Share Posted March 30, 2006 unattend.bat@rem SetupMgrTag@echo onremrem 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.remset AnswerFile=.\unattend.txtset SetupFiles=\\QTX-BUILDSERVER\win2000serv \\QTX-BUILDSERVER\win2000serv\winnt32 /s:%SetupFiles% /unattend:%AnswerFile%end Quote Link to comment Share on other sites More sharing options...
Scarecrow Man Posted March 30, 2006 Report Share Posted March 30, 2006 Is the line unattend.batactually in your batch file? or is that the title?You have to use a REM command before everything that is not an actual dos command.You're problem may also lie in the @REM command. I do not think you can use an @REM. You must remove the @ Quote Link to comment Share on other sites More sharing options...
nico Posted April 3, 2006 Author Report Share Posted April 3, 2006 HISorry 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.txtBad command or file name.This may purely because I am not running the "winnt" command.TA Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.