Steve.mccall Posted July 27, 2006 Share Posted July 27, 2006 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 = 1DisableAdminAccountOnDomainJoin = 0[setupData]OsLoadOptions = "/noguiboot /fastdetect"SetupSourceDevice = "\Device\LanmanRedirector\%SERVERNAME%\RemInst\%INSTALLPATH%"[unattended]UnattendMode=FullUnattendedOverwriteOemFilesOnUpgrade=NoOemPnPDriversPath="Drivers\000_chipset;Drivers\001_network;Drivers\002_graphics;Drivers\003_audio;Drivers\004_SATA"DriverSigningPolicy=IgnoreOemPreinstall = yesFileSystem = LeaveAloneExtendOEMPartition = 0TargetPath = \WINDOWSOemSkipEula = yesInstallFilesPath = "\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE%"LegacyNIC = 1[userData]ProductKey=.....FullName = "..."OrgName = "%ORGNAME%"ComputerName = %MACHINENAME%[GuiUnattended]AdminPassword=6f8c02a42d4be282e72c57ef50f76a0520d103f4f34891938d84e336cef9e795EncryptedAdminPassword=YesAutoLogon=YesAutoLogonCount=1OemSkipWelcome = 1OemSkipRegional = 1TimeZone = %TIMEZONE%[Display]BitsPerPel = 32XResolution = 1024YResolution = 768VRefresh = 60[RegionalSettings]LanguageGroup=1SystemLocale=00000809UserLocale=00000809InputLocale=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 = YesUseWholeDisk = 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 More sharing options...
Shindo_Hikaru Posted July 27, 2006 Share Posted July 27, 2006 Considering your explaination, do you see any yellow exclmation marks or red X in the device mananger. Link to comment Share on other sites More sharing options...
Steve.mccall Posted July 27, 2006 Author Share Posted July 27, 2006 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 Link to comment Share on other sites More sharing options...
Shindo_Hikaru Posted July 27, 2006 Share Posted July 27, 2006 Try this:Uninstall each device, then perform a restart. Link to comment Share on other sites More sharing options...
Steve.mccall Posted July 27, 2006 Author Share Posted July 27, 2006 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 More sharing options...
Shindo_Hikaru Posted July 27, 2006 Share Posted July 27, 2006 Do you still have the drivers that came with your hardwareManually 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 More sharing options...
Steve.mccall Posted July 27, 2006 Author Share Posted July 27, 2006 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 More sharing options...
jmmdss Posted July 28, 2006 Share Posted July 28, 2006 (edited) 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_SATAIn 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 July 28, 2006 by jmmdss Link to comment Share on other sites More sharing options...
Steve.mccall Posted July 28, 2006 Author Share Posted July 28, 2006 (edited) 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 helpSteve Edited July 28, 2006 by Steve.mccall Link to comment Share on other sites More sharing options...
Steve.mccall Posted July 28, 2006 Author Share Posted July 28, 2006 Would moving the $OEM$.. folders into the \i386 folder instead of being along side it make any difference? Link to comment Share on other sites More sharing options...
jmmdss Posted July 28, 2006 Share Posted July 28, 2006 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now