Windows Forum / Windows XP / Setup and Deployment / August 2006
Sysprep "prefers" Windows driver instead of mine ...
|
|
Thread rating:  |
nicolas.gendron@gmail.com - 25 Aug 2006 17:38 GMT Hi,
I want to use Sysprep to make a ghost of our production PC. We have a custom driver for our NIC. This driver is not signed. In the factory mode, this driver is installed and working. After the image as been sealed, the defaut Windows signed driver is used.
I search in this group and foud that I have to use the [Unattended] section of the .ini file. So here is what I added in the .ini file :
[Unattended] OemPnPDriversPath=\Drivers DriverSigningPolicy=Ignore
But, this does not seems to work. I reinstall the drivers from the C:\Drivers location and it works, so the drivers in there are the good one.
Any idea?
Thanks a lot.
Nicolas
Adam Leinss - 26 Aug 2006 17:37 GMT nicolas.gendron@gmail.com wrote in news:1156523911.815125.311880 @h48g2000cwc.googlegroups.com:
> [Unattended] > OemPnPDriversPath=\Drivers [quoted text clipped - 3 lines] > I reinstall the drivers from the C:\Drivers location and it works, so > the drivers in there are the good one. Are the drivers in the root of \drivers or in a folder below drivers? Make sure they are in the root.
Also, purge any OEM*.INF from C:\windows\inf and then try the sysprep again.
Adam
 Signature Visit my PC Tech blog at www.leinss.com/blog
nicolas.gendron@gmail.com - 28 Aug 2006 14:58 GMT Hi,
Thanks for your answer, however it still not works.
- My drivers are in the root of "\Drivers" folder. - I don't have any OEM*.inf in Windows\inf folder.
Should I remove the .sys related to my driver in Windows\System32\Drivers? I don't use sysprep's mini-setup ... should I use it? Is there any way to get a log of what sysprep is doing or a log of the installation to know what append?
Any other ideas?
Thanks,
Nicolas
> nicolas.gendron@gmail.com wrote in news:1156523911.815125.311880 > @h48g2000cwc.googlegroups.com: [quoted text clipped - 14 lines] > > Adam nicolas.gendron@gmail.com - 28 Aug 2006 15:28 GMT It seems that I have a file named "unattend.txt" in the root of Sysprep folder.
It is supposed to be there? Can it be the source of my problem?
Thanks,
Nicolas
> Hi, > [quoted text clipped - 33 lines] > > > > Adam nicolas.gendron@gmail.com - 28 Aug 2006 20:59 GMT Here are some informations :
My [Unattended] section in sysprep.ini file looks like :
[Unattended] DriverSigningPolicy=Ignore OemPnPDriversPath=drivers OEMPreinstall=Yes UpdateInstalledDrivers=Yes
however, it seem that DriverSigningPolicy=Ignore line is being ignore. In setupapi.log there is the line :
#I087 Driver node not trusted, rank changed from 0x00000003 to 0x00008003.
Any ideas ???
Thanks a lot.
Nic
> It seems that I have a file named "unattend.txt" in the root of Sysprep > folder. [quoted text clipped - 43 lines] > > > > > > Adam Adam Leinss - 29 Aug 2006 04:50 GMT > Here are some informations : > [quoted text clipped - 11 lines] > #I087 Driver node not trusted, rank changed from 0x00000003 to > 0x00008003. Interesting. You have me a bit stumped.
I did look up the above error message via Google and found this from http://download.microsoft.com/download/e/b/a/eba1050f-a31d-436b-9281- 92cdfeae4b45/SetupAPILog.doc:
7.1.1.1.1.2 INF Cache Needs Updating
SetupAPI logs the following messages during the finding-the-drivers stage of driver installation. These messages are associated with locating the modified blender.inf file. @ 20:41:06.656 #I382 "blender.PNF" migrate: INF may have been modified. @ 20:41:07.813 #V042 Opened INF "E:\WINDOWS\inf\blender.inf", PNF created (Languge = 0409). @ 20:41:07.829 #I022 Found "Blender_Hardware_ID" in E:\WINDOWS\inf \blender.inf; Device: "Blender_Device_Description "; Driver: "Blender_Driver_Description"; Provider: "Blender_Provider_Name"; Mfg: "Blender_Manufacturer_Name"; Section name: "Blender_install-section-name". @ 20:41:07.829 #I087 Driver node not trusted, rank changed from 0x00000001 to 0x00008001. @ 20:41:07.829 #I023 Actual install section: Blender_install-section- name.NT]. Rank: 0x00008001. Driver date: 07/01/2003. Version: 5.1.3604.0.
In the previous example, the #I382 through #I023 messages indicate that the dates of the INF and PNF files do not match and that the INF file is unsigned. Due to the former condition, SetupAPI regenerates the PNF file. Due to the latter condition, SetupAPI changes the INF file’s rank to 0x00008001. (The date of the INF file is specified by its DriverVer directive.) If the log file contains a #I087 message for a signed INF file, perform the following steps:
1. If the INF file is not in the default system INF file directory, delete only the PNF file. 2. If the INF file is in the default system INF file directory, and its name is oem*.inf, delete the INF file and the PNF file. 3. Re-install the device.
---------------------
So based on all that gibberish, I don't think it's rejecting the driver, but it's just telling you the dates of the PNF and INF file don't match and it changes the file "rank" accordingly. I have no idea though why it uses PNF files to cache INF files.
I'm also not aware of any logs of sysprep action.
Is using NewSID instead of Sysprep an option in this case? Also, are you specifying -pnp for sysprep on the command line? If you aren't do so and vice versa and see what the results are.
Adam
 Signature Visit my PC Tech blog at www.leinss.com/blog
Darrell Gorter[MSFT] - 29 Aug 2006 19:13 GMT Hello, It's changing the ranking based on the fact that the driver is unsigned. So when we find a match of the PNP ID's we then use the better ranked driver based on the rating. Since the driver was unsigned the ranking is lowered. The inbox driver now ranks higher than the non-signed drivers so the inbox driver gets installed. See also: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/DevInst_d/h h/DevInst_d/install-over_806ed23a-ab2b-4891-bad1-33fc1dba7c13.xml.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/DevInst_d/h h/DevInst_d/install-over_276b1d55-635f-48c4-9f03-9e99426723df.xml.asp You can override these settings while inside the OS. The unattend setting allows you to install unsigned drivers, without nofifications during setup. But it doesn't change the ranking of how drivers get installed during setup. Thanks, Darrell Gorter[MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights -------------------- <Newsgroups: microsoft.public.windowsxp.setup_deployment <Subject: Re: Sysprep "prefers" Windows driver instead of mine ... <From: Adam Leinss <aleinss@hotmail.com> <References: <1156523911.815125.311880@h48g2000cwc.googlegroups.com> <Xns982B763AC5B6aleinsstechie@toughguy.net> <1156773526.336583.41100@h48g2000cwc.googlegroups.com> <1156775303.797764.295990@i3g2000cwc.googlegroups.com> <1156795164.882173.96010@i42g2000cwa.googlegroups.com> <Organization: Stud Inc. <Message-ID: <Xns982DE86FCB2B4aleinsstechie@toughguy.net> <User-Agent: Xnews/5.04.25 <Lines: 76 <X-Complaints-To: abuse@easynews.com <X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly. <Date: Tue, 29 Aug 2006 03:50:56 GMT <Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTFEEDS01.phx.gbl!msrtrans!m srn-in!newshub.sdsu.edu!newsfeed.news2me.com!newsfeed2.easynews.com!easynews .com!easynews!easynews-local!fe08.news.easynews.com.POSTED!not-for-mail <Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windowsxp.setup_deployment:153450 <X-Tomcat-NG: microsoft.public.windowsxp.setup_deployment < <nicolas.gendron@gmail.com wrote in <news:1156795164.882173.96010@i42g2000cwa.googlegroups.com: < <> Here are some informations : <> <> My [Unattended] section in sysprep.ini file looks like : <> <> [Unattended] <> DriverSigningPolicy=Ignore <> OemPnPDriversPath=drivers <> OEMPreinstall=Yes <> UpdateInstalledDrivers=Yes <> <> however, it seem that DriverSigningPolicy=Ignore line is being <> ignore. In setupapi.log there is the line : <> <> #I087 Driver node not trusted, rank changed from 0x00000003 to <> 0x00008003. < <Interesting. You have me a bit stumped. < <I did look up the above error message via Google and found this from <http://download.microsoft.com/download/e/b/a/eba1050f-a31d-436b-9281- <92cdfeae4b45/SetupAPILog.doc: < <7.1.1.1.1.2 INF Cache Needs Updating < <SetupAPI logs the following messages during the finding-the-drivers <stage of driver installation. These messages are associated with <locating the modified blender.inf file. <@ 20:41:06.656 #I382 "blender.PNF" migrate: INF may have been <modified. <@ 20:41:07.813 #V042 Opened INF "E:\WINDOWS\inf\blender.inf", PNF <created (Languge = 0409). <@ 20:41:07.829 #I022 Found "Blender_Hardware_ID" in E:\WINDOWS\inf <\blender.inf; Device: "Blender_Device_Description <"; Driver: "Blender_Driver_Description"; Provider: <"Blender_Provider_Name"; Mfg: "Blender_Manufacturer_Name"; Section <name: "Blender_install-section-name". <@ 20:41:07.829 #I087 Driver node not trusted, rank changed from <0x00000001 to 0x00008001. <@ 20:41:07.829 #I023 Actual install section: Blender_install-section- <name.NT]. Rank: 0x00008001. Driver date: 07/01/2003. Version: <5.1.3604.0. < <In the previous example, the #I382 through #I023 messages indicate <that the dates of the INF and PNF files do not match and that the INF <file is unsigned. Due to the former condition, SetupAPI regenerates <the PNF file. Due to the latter condition, SetupAPI changes the INF <file’s rank to 0x00008001. (The date of the INF file is specified by <its DriverVer directive.) <If the log file contains a #I087 message for a signed INF file, <perform the following steps: < <1. If the INF file is not in the default system INF file directory, <delete only the PNF file. <2. If the INF file is in the default system INF file directory, and <its name is oem*.inf, delete the INF file and the PNF file. <3. Re-install the device. < <--------------------- < <So based on all that gibberish, I don't think it's rejecting the <driver, but it's just telling you the dates of the PNF and INF file <don't match and it changes the file "rank" accordingly. I have no <idea though why it uses PNF files to cache INF files. < <I'm also not aware of any logs of sysprep action. < <Is using NewSID instead of Sysprep an option in this case? Also, are <you specifying -pnp for sysprep on the command line? If you aren't <do so and vice versa and see what the results are. < <Adam <-- <Visit my PC Tech blog at www.leinss.com/blog <
nicolas.gendron@gmail.com - 30 Aug 2006 17:06 GMT Hi Darrell,
Where can I override the setting of ranking in the OS ?
On my Factory image (before running sysprep) in "System Properties", tab "Hardware", "Driver Signing Options" the action regarding unsigned drivers is set to "Ignore".
The problem still there so I think I'm not at the right place.
Thanks
Nicolas
> Hello, > It's changing the ranking based on the fact that the driver is unsigned. [quoted text clipped - 16 lines] > > This posting is provided "AS IS" with no warranties, and confers no rights Darrell Gorter[MSFT] - 30 Aug 2006 18:05 GMT Hello, The answer is to sign the driver automatically override the driver other than remove the inbox driver(rename the inf) That setting is just to allow the driver to install without prompts. That settings is not to override the ranking process, it's designed to allow drivers to install during setup that otherwise were not available. Thanks, Darrell Gorter[MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights -------------------- <From: nicolas.gendron@gmail.com <Newsgroups: microsoft.public.windowsxp.setup_deployment <Subject: Re: Sysprep "prefers" Windows driver instead of mine ... <Date: 30 Aug 2006 09:06:26 -0700 <Organization: http://groups.google.com <Lines: 36 <Message-ID: <1156953986.694383.139660@h48g2000cwc.googlegroups.com> <References: <1156523911.815125.311880@h48g2000cwc.googlegroups.com> < <Xns982B763AC5B6aleinsstechie@toughguy.net> < <1156773526.336583.41100@h48g2000cwc.googlegroups.com> < <1156775303.797764.295990@i3g2000cwc.googlegroups.com> < <1156795164.882173.96010@i42g2000cwa.googlegroups.com> < <Xns982DE86FCB2B4aleinsstechie@toughguy.net> < <Z1$MNb5yGHA.4548@TK2MSFTNGXA01.phx.gbl> <NNTP-Posting-Host: 69.70.33.68 <Mime-Version: 1.0 <Content-Type: text/plain; charset="iso-8859-1" <X-Trace: posting.google.com 1156953990 12792 127.0.0.1 (30 Aug 2006 16:06:30 GMT) <X-Complaints-To: groups-abuse@google.com <NNTP-Posting-Date: Wed, 30 Aug 2006 16:06:30 +0000 (UTC) <In-Reply-To: <Z1$MNb5yGHA.4548@TK2MSFTNGXA01.phx.gbl> <User-Agent: G2/0.2 <X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6,gzip(gfe),gzip(gfe) <X-HTTP-Via: 1.1 CYBQCROUTER.cybectec.com:3128 (squid/2.5.STABLE12) <Complaints-To: groups-abuse@google.com <Injection-Info: h48g2000cwc.googlegroups.com; posting-host=69.70.33.68; < posting-account=9mYaqw0AAAAYam9f5nn9Kp0DUqcyn6Pz <Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTFEEDS01.phx.gbl!news-out.c wix.com!newsfeed.cwix.com!newscon02.news.prodigy.net!prodigy.net!nx01.iad01. newshosting.com!newshosting.com!216.196.98.140.MISMATCH!border1.nntp.dca.gig anews.com!nntp.giganews.com!postnews.google.com!h48g2000cwc.googlegroups.com !not-for-mail <Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windowsxp.setup_deployment:153492 <X-Tomcat-NG: microsoft.public.windowsxp.setup_deployment < <Hi Darrell, < <Where can I override the setting of ranking in the OS ? < <On my Factory image (before running sysprep) in "System Properties", <tab "Hardware", "Driver Signing Options" the action regarding unsigned <drivers is set to "Ignore". < <The problem still there so I think I'm not at the right place. < <Thanks < <Nicolas < <"Darrell Gorter[MSFT]" wrote: <> Hello, <> It's changing the ranking based on the fact that the driver is unsigned. <> So when we find a match of the PNP ID's we then use the better ranked <> driver based on the rating. <> Since the driver was unsigned the ranking is lowered. <> The inbox driver now ranks higher than the non-signed drivers so the inbox <> driver gets installed. <> See also: <> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/DevInst_d/h <> h/DevInst_d/install-over_806ed23a-ab2b-4891-bad1-33fc1dba7c13.xml.asp <> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/DevInst_d/h <> h/DevInst_d/install-over_276b1d55-635f-48c4-9f03-9e99426723df.xml.asp <> You can override these settings while inside the OS. <> The unattend setting allows you to install unsigned drivers, without <> nofifications during setup. But it doesn't change the ranking of how <> drivers get installed during setup. <> Thanks, <> Darrell Gorter[MSFT] <> <> This posting is provided "AS IS" with no warranties, and confers no rights < <
|
|
|