MSFN Forum: Device drivers lost after windows installs - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Device drivers lost after windows installs Rate Topic: -----

#1 User is offline   Steve.mccall 

  • Newbie
  • Group: Members
  • Posts: 38
  • Joined: 18-July 06

Posted 27 July 2006 - 06:31 AM

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


#2 User is offline   Shindo_Hikaru 

  • Honor, Courage, Commitment
  • PipPipPip
  • Group: Members
  • Posts: 441
  • Joined: 14-June 06

Posted 27 July 2006 - 06:49 AM

Considering your explaination, do you see any yellow exclmation marks or red X in the device mananger.

#3 User is offline   Steve.mccall 

  • Newbie
  • Group: Members
  • Posts: 38
  • Joined: 18-July 06

Posted 27 July 2006 - 06:51 AM

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

#4 User is offline   Shindo_Hikaru 

  • Honor, Courage, Commitment
  • PipPipPip
  • Group: Members
  • Posts: 441
  • Joined: 14-June 06

Posted 27 July 2006 - 07:12 AM

Try this:

Uninstall each device, then perform a restart.

#5 User is offline   Steve.mccall 

  • Newbie
  • Group: Members
  • Posts: 38
  • Joined: 18-July 06

Posted 27 July 2006 - 07:53 AM

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

#6 User is offline   Shindo_Hikaru 

  • Honor, Courage, Commitment
  • PipPipPip
  • Group: Members
  • Posts: 441
  • Joined: 14-June 06

Posted 27 July 2006 - 08:10 AM

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.

#7 User is offline   Steve.mccall 

  • Newbie
  • Group: Members
  • Posts: 38
  • Joined: 18-July 06

Posted 27 July 2006 - 08:22 AM

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

#8 User is offline   jmmdss 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 01-November 05

Posted 27 July 2006 - 06:31 PM

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.

This post has been edited by jmmdss: 27 July 2006 - 06:34 PM


#9 User is offline   Steve.mccall 

  • Newbie
  • Group: Members
  • Posts: 38
  • Joined: 18-July 06

Posted 28 July 2006 - 02:05 AM

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

This post has been edited by Steve.mccall: 28 July 2006 - 02:08 AM


#10 User is offline   Steve.mccall 

  • Newbie
  • Group: Members
  • Posts: 38
  • Joined: 18-July 06

Posted 28 July 2006 - 03:17 AM

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

#11 User is offline   jmmdss 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 01-November 05

Posted 28 July 2006 - 07:12 AM

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy