johnbreton Posted March 7, 2005 Share Posted March 7, 2005 AlrightWhen I boot either with BartPe or WinPE, and I start my Unattend setup file, I get this error message:"The specified setup script file (C:\scripts\unattend.txt) in inacessible or invalid"Here is the part where I am calling the unattend file:echodiskpart.exe /s "pepart.txt" format c: /fs:ntfs /v:"" /Q /Yc:cd \mkdir Scriptscopy u:\Scripts\unattend\Control\WinXPsp2EN\*.* c:\scriptscopy u:\Scripts\unattend\stage1\*.* c:\scriptscopy u:\Scripts\unattend\Common\*.* c:\scriptscopy u:\scripts\mini-setup\*.* c:\scriptsu:cd source\Winxpsp2en\i386winnt32 /unattend:c:\scripts\unattend.txt /syspart:c: /norebootrebootMy unattend file is located in u:\Scripts\unattend\Control\WinXPsp2EN which get copied locally. (I have verified)Here is the first part of my unattend file:[Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes" AutomaticUpdates = 1[Unattended] UnattendMode = FullUnattended OemSkipEula = Yes OemPreinstall = Yes OemFilesPath = \\jpbreton\unattend\OEM1\$OEM$ OemPnPDriversPath=\Windows\System32\Drivers\NIC\Intel;\Windows\System32\Drivers\vid\1;\Windows\System32\Drivers\vid\2;\Windows\System32\Drivers\vid\3;\Windows\System32\Drivers\vid\4;\Windows\System32\Drivers\AUD\1;\Windows\System32\Drivers\AUD\2;\Windows\System32\Drivers\CHP\1;\Windows\System32\Drivers\CHP\2 DriverSigningPolicy = Ignore DUDisable = Yes DUStopOnError = No; ExtendOemPartition = 1 ; If Set extends disk partition to end of disk or by x MB FileSystem = ConvertNTFS ; Specify wheter to leave filesystem alone or convert to NTFS AutoActivate = No ; Determines if Windows should auto activate over Internet ActivateProxy = Proxy ; Proxy Setting to use when auto activating windows CrashDumpSetting = 3 ; 3=small memory dump 0-3 DisableDynamicUpdates = NO ; Don't go get updates from Internet during install Hibernation = 1 ; 0=Enables hibernation WaitForReboot = Yes ; Yes=Wait 15seconds after guimode setup to reboot; ComputerType = ; Defines Custom HAL type; Factory = Yes ; Used in conjuction with OPK If yes will not delete Sysprep directory; ForceHalDetection = No ; Used in upgrades to keep previous hal; Keyboardlayout = ; Allows specification of keyboard type; NTUpgrade = No ; Indicates whether or not this is an OS upgrade ; OverwriteOEMFilesOnUpgrade = 0 ; Indicates whether OEM files should be overwritten; Repartition = 1 ; Only when booting to CD specify 1 to repartition hard disk; UnattendSwitch = No ; Set to yes during winnt installation to skip welcome; Win9xUpgrade = No ; Indicats if this is an upgradI have checked everything, ACL, security...but can't find the problem.thanks for any helpJohn Link to comment Share on other sites More sharing options...
FeTT! Posted March 7, 2005 Share Posted March 7, 2005 Use Xcopy instead copy Link to comment Share on other sites More sharing options...
Dahi Posted March 8, 2005 Share Posted March 8, 2005 You should probably reboot after partitioning your disk. If you dont then you get all sorts of strange errors, even though the disk seems to be partitioned and formatted correctly. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now