Jump to content

RIS - Problem installing NIC and not so unattended!


Recommended Posts

Hello all

Im tring to build a Dell Latitude X1 and D520 with RIS.

I have a couple of problems:

I have added the NIC drivers to both of the Laptops to RIS image in the following path: remoteinstall\setup\english\images\image_dir\$oem$\$1\drivers\nic i also copied the same files into the 1386 folder.

I copied files:

b57win32.cat

b57win32.inf

b57xp32.sys

i changed the ristndrd.sif with the following:

[unattended]

DriverSigningPolicy = Ignore

OemPnPDriversPath = "\drivers\nic"

To begin with the RIS server went no further by saying the network card isnt supported. Once i updated it with the above it copied the files across and built XP but haults half way through requiring user names. I assume its doing this because it cant add it to the domain because the NIC isnt installed properly.

After a fully automated installation, windows xp started for the first time, and a window appeared saying: "To improve the appearance of visual elements, Windows will automatically adjust your screen resolution."

So i had to click "OK" (There goes the automated installation)

Then another message appeared, saying: "Windows adjusted your screen resolution. If you can read this, click OK to continue."

So i click "OK" again.

Then, i didnt want to have the first winxp screen that says: "Help protect my PC by turning on Automatic Updates now."

So i configured my ristndrd.sif

[Data]

AutomaticUpdates=yes

But this has done nothing - how can i automate these prompts??

Can anyone help?

Link to comment
Share on other sites


Guys ive looked on the site and i cant find anything! Im still getting prompted during the RIS install....

Heres my ristndrd.sif

;SetupMgrTag

[Data]

AutoPartition=1

MsDosInitiated="1"

UnattendedInstall="Yes"

floppyless="1"

OriSrc="\\%SERVERNAME%\RemInst\%INSTALLPATH%"

OriTyp="4"

LocalSourceOnCD=1

[setupData]

OsLoadOptions="/noguiboot /fastdetect"

SetupSourceDevice="\Device\LanmanRedirector\%SERVERNAME%\RemInst\%INSTALLPATH%"

[unattended]

UnattendMode=FullUnattended

AutomaticUpdates=yes

OemSkipEula=Yes

OemPreinstall=yes

TargetPath=\WINDOWS

FileSystem=LeaveAlone

NtUpgrade=No

OverwriteOemFilesOnUpgrade=No

DriverSigningPolicy = Ignore

OemPnpDriversPath = "Drivers\Nic;Drivers\Chipset;Drivers\modem;Drivers\audio;Drivers\video;"

[OEMBootFiles]

nvatabus.sys

nvraid.cat

nvraid.inf

nvraid.sys

txtsetup.oem

[GuiUnattended]

AdminPassword=0d5fb0cd25e75e806e54da88dd150d11ff850e7a42bd4d7e0a90c01861f9b32a

EncryptedAdminPassword=Yes

AutoLogon=Yes

AutoLogonCount=1

OEMSkipRegional=1

TimeZone=%TIMEZONE%

OemSkipWelcome=1

[userData]

ProductKey=xxxx-xxxx-xxxx-xxxx

FullName=""

OrgName=""

ComputerName=%MACHINENAME%

[Display]

BitsPerPel=16

Xresolution=1024

YResolution=768

Vrefresh=60

[RegionalSettings]

LanguageGroup=1

SystemLocale=00000809

UserLocale=00000809

InputLocale=0809:00000809

[setupMgr]

DistFolder=C:\windist

DistShare=windist

[GuiRunOnce]

Command0=\\hera\

Command1="rundll32 printui.dll,PrintUIEntry /in /n \\hera\mst"

Command2="rundll32 printui.dll,PrintUIEntry /in /n \\hera\smtcolour"

Command3="rundll32 printui.dll,PrintUIEntry /in /n \\hera\ict1"

[identification]

JoinDomain=%MACHINEDOMAIN%

DoOldStyleDomainJoin=Yes

[Networking]

InstallDefaultComponents=Yes

ProcessPageSections=Yes

[RemoteInstall]

Repartition=Yes

[OSChooser]

Description="Windows Professional - Standard Installation"

Help="This will install Windows Professional in a standard configuration."

LaunchFile="%INSTALLPATH%\%MACHINETYPE%\templates\startrom.com"

ImageType=Flat

Link to comment
Share on other sites

For the video resolution prompts, you will ONLY recieve these if the built-in Windows VGA driver is installed (meaning it didn't pick up any built-in or 3rd party drivers during setup), so you'll have to find a way to integrate your video drivers in a way that actually works because they're not installed properly. As to the Automatic Updates prompt, setting AutomaticUpdates = 1 should turn it on, but if that fails, consider simply importing the proper registry entries into the registry location HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate (and it's subkeys).

Link to comment
Share on other sites

It would appear that none of my drivers are being installed during the RIS build process.

I have created the following directory in the i386 folder $OEM$ - $1 - DRIVERS - NIC - Video ...etc

I have made sure that each folder has the drivers files and i have copied the .sys, .inf and .cat files into the route of the I386 folder..... am i doing this correctly?????

But yet no drivers are being installed - Any suggestions would a great help as im at wits end!

Link to comment
Share on other sites

Remove the quotes from the OemPnpDriversPath. Check if the driver folders are actually copied to the correct location. Make sure you use signed drivers where possible. You only need to copy the NIC driver .sys and .inf files (not the .cat files) to the i386 folder. None of the other driver files need to be copied there.

Link to comment
Share on other sites

Tried this and still no joy, i really do think this should be working now.

Im still getting the "visual appearance prompt" and the windows update and the create user prompt.

none of the drivers are installing!

I dont know what else to check for!

Heres my updated ristndrd.sif file

;SetupMgrTag

[Data]

AutoPartition=1

MsDosInitiated="1"

floppyless="1"

OriSrc="\\%SERVERNAME%\RemInst\%INSTALLPATH%"

OriTyp="4"

LocalSourceOnCD=1

[setupData]

OsLoadOptions="/noguiboot /fastdetect"

SetupSourceDevice="\Device\LanmanRedirector\%SERVERNAME%\RemInst\%INSTALLPATH%"

[unattended]

OemPreinstall=yes

OemPnpDriversPath = \Drivers\Nic;Drivers\Chipset;Drivers\modem;Drivers\audio;Drivers\video

DriverSigningPolicy = Ignore

UnattendMode=FullUnattended

AutomaticUpdates=yes

OemSkipEula=Yes

TargetPath=\WINDOWS

FileSystem=LeaveAlone

NtUpgrade=No

OverwriteOemFilesOnUpgrade=No

InstallFilesPath = "\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE%"

LegacyNIC = 1

CrashDumpSetting = 3

[GuiUnattended]

AdminPassword=0d5fb0cd25e75e806e54da88dd150d11ff850e7a42bd4d7e0a90c01861f9b32a

EncryptedAdminPassword=Yes

AutoLogon=Yes

AutoLogonCount=1

OEMSkipRegional=1

TimeZone=%TIMEZONE%

OemSkipWelcome=1

[userData]

ProductKey=

FullName=""

OrgName=""

ComputerName=%MACHINENAME%

[Display]

BitsPerPel=16

Xresolution=1024

YResolution=768

Vrefresh=60

[RegionalSettings]

LanguageGroup=1

SystemLocale=00000809

UserLocale=00000809

InputLocale=0809:00000809

[Components]

msnexplr = off

freecell = off

hearts = off

minesweeper = off

pinball = off

solitaire = off

spider = off

zonegames = off

[GuiRunOnce]

Command0=\\hera\

Command1="rundll32 printui.dll,PrintUIEntry /in /n \\hera\mst"

Command2="rundll32 printui.dll,PrintUIEntry /in /n \\hera\smtcolour"

Command3="rundll32 printui.dll,PrintUIEntry /in /n \\hera\ict1"

[identification]

JoinDomain=%MACHINEDOMAIN%

DoOldStyleDomainJoin=Yes

[Networking]

InstallDefaultComponents=Yes

ProcessPageSections=Yes

[RemoteInstall]

Repartition=Yes

[OSChooser]

Description="Windows Professional - Standard Installation"

Help="This will install Windows Professional in a standard configuration."

LaunchFile="%INSTALLPATH%\%MACHINETYPE%\templates\startrom.com"

ImageType=Flat

Link to comment
Share on other sites

Allright, I have checked your SIF and found the following errors:

  • Add an extra line to the [Data] section: UnattendedInstall="Yes" (as documented in the Preinstallation Reference)
  • Remove backslash at the beginning of the OemPnpDriversPath (as documented in the Preinstallation Reference)
  • Remove the InstallFilesPath entry (this is only supported in SysPrep.inf)
  • Move the AutomaticUpdates entry to the [Data] section (that's where it's supposed to be)
  • Remove the LegacyNIC entry (this is undocumented in the Preinstallation Reference)
  • You can't use AutoLogon in conjunction with EncryptedAdminPassword (as documented in the Preinstallation Reference)

This is exactly why I started by referring you to the guide and the deployment tools. I really urge you to get and read these before you start building an unattended installation, instead of the trial-and-error approach you're using now.

Link to comment
Share on other sites

Not really, except this one: I think it's best if you would start over again. Get the Setup Manager and build a basic RIS answer file. Test that. Then, one by one, add your drivers and other customizations, following the guide, and keep testing after every modification. I can't imagine why you can't get it working, but if you follow all instructions carefully you should get there in the end.

Link to comment
Share on other sites

Are you absolutely positive your $OEM$ folder is located OUTSIDE of the i386 folder? They should be side by side for RIS installs. Also, the suggestions offered by Ctrl-X in a previous post are almost all quite correct, with one exception - I would not suggest removal of the LegacyNic option, as it causes RIS problems if you choose to run riprep:

887937: You receive the error message "The network location cannot be reached" when you upload a Windows XP Riprep image to a RIS server

http://support.microsoft.com/default.aspx?...Ben-us%3B887937

Edited by cluberti
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...