Jump to content

Device drivers lost after windows installs


Steve.mccall

Recommended Posts

Hi, I'm having a problem in that my drivers for LAN, Chipset, SATA etc are lost once windows starts up and I need to reinstall them. The drivers install fine for the actual installation but just arn't shown in the device manager. My template is shown below... beware I'm quite new to all this so forgive any stupid mistakes...

[data]

floppyless = "1"

msdosinitiated = "1"

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

OriTyp = "4"

LocalSourceOnCD = 1

DisableAdminAccountOnDomainJoin = 0

[setupData]

OsLoadOptions = "/noguiboot /fastdetect"

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

[unattended]

UnattendMode=FullUnattended

OverwriteOemFilesOnUpgrade=No

OemPnPDriversPath="Drivers\000_chipset;Drivers\001_network;Drivers\002_graphics;Drivers\003_audio;Drivers\004_SATA"

DriverSigningPolicy=Ignore

OemPreinstall = yes

FileSystem = LeaveAlone

ExtendOEMPartition = 0

TargetPath = \WINDOWS

OemSkipEula = yes

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

LegacyNIC = 1

[userData]

ProductKey=.....

FullName = "..."

OrgName = "%ORGNAME%"

ComputerName = %MACHINENAME%

[GuiUnattended]

AdminPassword=6f8c02a42d4be282e72c57ef50f76a0520d103f4f34891938d84e336cef9e795

EncryptedAdminPassword=Yes

AutoLogon=Yes

AutoLogonCount=1

OemSkipWelcome = 1

OemSkipRegional = 1

TimeZone = %TIMEZONE%

[Display]

BitsPerPel = 32

XResolution = 1024

YResolution = 768

VRefresh = 60

[RegionalSettings]

LanguageGroup=1

SystemLocale=00000809

UserLocale=00000809

InputLocale=0809:00000809

[setupMgr]

DistFolder=C:\windist

DistShare=windist

[identification]

JoinDomain = %MACHINEDOMAIN%

DoOldStyleDomainJoin = Yes

[Networking]

InstallDefaultComponents=No

ProcessPageSections=Yes

[NetAdapters]

Adapter1=params.Adapter1

[params.Adapter1]

INFID=*

[NetClients]

MS_MSClient=params.MS_MSClient

[NetServices]

MS_SERVER=params.MS_SERVER

[NetProtocols]

MS_TCPIP=params.MS_TCPIP

[params.MS_TCPIP]

DNS=No

UseDomainNameDevolution=No

EnableLMHosts=Yes

AdapterSections=params.MS_TCPIP.Adapter1

[params.MS_TCPIP.Adapter1]

SpecificTo=Adapter1

DHCP=Yes

DNSServerSearchOrder=200.200.200.1

WINS=No

NetBIOSOptions=0

[RemoteInstall]

Repartition = Yes

UseWholeDisk = Yes

[OSChooser]

Description = "Gigabyte - GA-81945GMF v2"

Help = "This will install Windows XP Pro SP2 Pro in a standard configuration."

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

ImageType = "Flat"

Also I need to be able to join a domain.

Steve

Link to comment
Share on other sites


Nope, that didn't work. This is the 1st time I've actually started windows since the OS installed. I'm not sure what I need to do to be honest. I've used the $oem$... folders in the installation image to hold the drivers then referenced them in the template file. Do I need to do something else to get them to work in the windows environment?

Steve

Link to comment
Share on other sites

Do you still have the drivers that came with your hardware

Manually right click and select reinstall driver, and make it search your floppy or CD drive if that is whre the driver is located. You do this after you uninstall the failed driver and restart your computer.

Link to comment
Share on other sites

I can reinstall the drivers fine, but I really want to be able to install them as part of an unattended install. I've many other applications to be installed and I'm writing scripts to execute silent installs. It's all a bit pointless if I've got to manually install the LAN drivers before I can access the network.

Steve

Link to comment
Share on other sites

So the driver folders (ex. C:\Drivers\000_chipset) exist on the machine after imaging? Your OemPnpDriversPath looks okay to me. I haven't used quotes around the value, but I doubt it would make a difference. One person said they had problems with OemPnpDriversPath with RIS and used the DevicePath string in the registry instead.

[HKLM\Software\Microsoft\Windows\CurrentVersion\DevicePath]

With your folders, the value of DevicePath should be:

%SystemRoot%\inf;%systemdrive%\Drivers\000_chipset;%systemdrive%\Drivers\001_network;%systemdrive%\Drivers\002_graphics;%systemdrive%\Drivers\003_audio;%systemdrive%\Drivers\004_SATA

In fact, you should have these paths in the registry value after imaging as a result of OemPnpDriversPath. If you don't, that might explain why the drivers aren't installing.

Edited by jmmdss
Link to comment
Share on other sites

Actually, now I look, the drivers file doesn't exist on the C:\ drive after installation. What I did was create the folders in a flat image of the windows xp pro disk on the RIS server. Would I be better off creating the folders on the source computer, then making an image of it?

EDIT: I've checked the registry and the value is exactly as you specified.

Thanks for the help

Steve

Edited by Steve.mccall
Link to comment
Share on other sites

I think that $oem$ should be on the same level as i386 for flat images. It's been awhile since I used RIS though. If you use a riprep image, I don't know the preferred way to do this, but in the past, I've just put the Drivers folder inside Setup\English\Images\<Image name>\i386\Mirror1\UserData\.

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