Jump to content

Really Need Some Help With Unattend Error Message


Recommended Posts

Alright

When 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:

echo
diskpart.exe /s "pepart.txt"
format c: /fs:ntfs /v:"" /Q /Y

c:
cd \

mkdir Scripts
copy u:\Scripts\unattend\Control\WinXPsp2EN\*.* c:\scripts
copy u:\Scripts\unattend\stage1\*.* c:\scripts
copy u:\Scripts\unattend\Common\*.* c:\scripts
copy u:\scripts\mini-setup\*.* c:\scripts

u:
cd source\Winxpsp2en\i386

winnt32 /unattend:c:\scripts\unattend.txt /syspart:c: /noreboot
reboot

My 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 upgrad

I have checked everything, ACL, security...but can't find the problem.

thanks for any help

John

Link to comment
Share on other sites


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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...