Jump to content

Unnatend Issues


Recommended Posts

ok i built and distro with drivers in it and winnt.sif with the winnt.sif the install canft find watchdriversigningpolicy.exe i remove it and install continues to the t-30 mark installing network and then hangs any ideas what i did wrong here is some more info

cd layout

xpcd\i386

xpcd\$OEM$\$1\drivers

xpcd\$OEM$\apps

have setdevicepath.exe and watchdriversigningpolicy.exe in xpcd\$OEM$\$1\drivers

presetup.cmd and winnt.sif are in xpcd\i386

presetup.cmd

set tagfile=\WIN51
for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist "%%i:%tagfile%" set CDDRIVE=%%i:

%SystemDrive%
cd %SystemRoot%\system32

if exist setup.exe ren setup.exe setupold.exe
if exist setupORG.exe ren setupORG.exe setup.exe

%CDDRIVE%\$OEM$\$1\drivers\SetDevicePath.exe %CDDRIVE%\drivers
start %CDDRIVE%\drivers\WatchDriverSigningPolicy.exe

start /WAIT setup.exe %*

EXIT

winnt.sif

[Data]
   AutoPartition=1
   MsDosInitiated="0"
   UnattendedInstall="Yes"

[Unattended]
   UnattendMode=FullUnattended
   OemSkipEula=Yes
   OemPreinstall=Yes
   TargetPath=\WINDOWS
   FileSystem=*
   UnattendSwitch="yes"
   WaitForReboot="No"
  ;DriverSigningPolicy=Ignore
  ;NonDriverSigningPolicy=Ignore
  ;OemPnPDriversPath="drivers\001_chipset;drivers\002_network;drivers\003_graphics;drivers\004_sound;drivers\005_touchpad;drivers\006_ata;drivers\007modem;drivers\008_keypoard"
  ;DriverSigningPolicy=ignore
   Hibernation=No

[GuiUnattended]
   AdminPassword="XXXXXXX"
   EncryptedAdminPassword=NO
   AutoLogon=Yes
   AutoLogonCount=5
   OEMSkipRegional=1
   TimeZone=20
   OemSkipWelcome=1

[UserData]
   ProductKey=XXXX-XXXX-XXXX-XXXX-XXXX
   FullName="XXXX XXXXXXX"
   OrgName="XXXXXXX"
   ComputerName=XXXXXXXX

[SystemFileProtection]
   SFCQuota=0

[Display]
   BitsPerPel=32
   Xresolution=1280
   YResolution=1024
   Vrefresh=75

[TapiLocation]
   CountryCode=1
   AreaCode=850

[RegionalSettings]
   LanguageGroup=1
   Language=00000409

[Branding]
   BrandIEUsingUnattended=Yes

[URL]
   Home_Page=about:blank
   Help_Page=about:blank
   Search_Page=about:blank

[Proxy]
   Proxy_Enable=0
   Use_Same_Proxy=1

[Identification]
   JoinWorkgroup=WORKGROUP

[Networking]
   InstallDefaultComponents=No

[Components]
   msmsgs=off
   msnexplr=off
   freecell=on
   hearts=off
   minesweeper=off
   pinball=off
   solitaire=off
   spider=off
   zonegames=off
   
[Shell]
   DefaultStartPanelOff = Yes
   DefaultThemesOff = Yes  
   
[GuiRunOnce]
%systemdrive%\install\RunOnceEx.cmd
   

thanks for the help in advance

Link to comment
Share on other sites


Here I re did your script

Your Code

set tagfile=\WIN51
for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist "%%i:%tagfile%" set C1=%%i:

%SystemDrive%
cd %SystemRoot%\system32

if exist setup.exe ren setup.exe setupold.exe
if exist setupORG.exe ren setupORG.exe setup.exe

%CDDRIVE%\$OEM$\$1\drivers\SetDevicePath.exe %CDDRIVE%\drivers
start %CDDRIVE%\drivers\WatchDriverSigningPolicy.exe

start /WAIT setup.exe %*

EXIT

My Edit Try This

echo off
cls && Color 9e
for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist "%%i:\WIN51" set C1=%%i:
set D1=%SystemRoot%\system32\

if exist %D1%setup.exe ren %D1%setup.exe setupold.exe
if exist %D1%setupORG.exe ren %D1%setupORG.exe setup.exe

start /w %C1%\$OEM$\$1\drivers\SetDevicePath.exe
start /w %C1%\$OEM$\$1\drivers\WatchDriverSigningPolicy.exe


EXIT

Edited by gunsmokingman
Link to comment
Share on other sites

TjobzzZ the problem is this when i try and use the install with the winnt.sif the install cannot find the WatchDriverSigningPolicy.exe but when i remove the winnt.sif install finds the file and continues like it should untill the 30 min mark at that time it stops at installing network i thought it might be the network drivers that it was installing at that point so i removed the updated drivers

thanks gunsmokingman im giving it a try right now and we will see how it goes

Link to comment
Share on other sites

gunsmokingman modified the code a little bit

your code

echo off
cls && Color 9e
for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist "%%i:\WIN51" set C1=%%i:
set D1=%SystemRoot%\system32\

if exist %D1%setup.exe ren %D1%setup.exe setupold.exe
if exist %D1%setupORG.exe ren %D1%setupORG.exe setup.exe

start /w %C1%\$OEM$\$1\drivers\SetDevicePath.exe
start /w %C1%\$OEM$\$1\drivers\WatchDriverSigningPolicy.exe


EXIT

modified code

echo off
cls && Color 9e
for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist "%%i:\WIN51" set C1=%%i:
set D1=%SystemRoot%\system32\

if exist %D1%setup.exe ren %D1%setup.exe setupold.exe
if exist %D1%setupORG.exe ren %D1%setupORG.exe setup.exe

start /w %C1%\$OEM$\$1\drivers\SetDevicePath.exe
start /w %C1%\$OEM$\$1\drivers\WatchDriverSigningPolicy.exe

start /WAIT setup.exe %*

EXIT

still not respoinding when it starts up but if i reset the machine when it is not responding it goes past that point but still hangs at t-30 min not sure what the issue is there i even removed the lines like was previously suggested but to no avail pls help it seems like it only does it when the winnt.sif is added

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...