Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Device drivers lost after windows installs

Featured Replies

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

  • Author

Yeah, for the LAN, Graphics, Sound and Chipset there are Yellow exclamations. In properties the Device status is that the drivers are not installed.

Steve

  • Author

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

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.

  • Author

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

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

  • Author

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

  • Author

Would moving the $OEM$.. folders into the \i386 folder instead of being along side it make any difference?

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

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.