MSFN Forum: Unsigned drivers from software in windows installation? - MSFN Forum

Jump to content


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

Unsigned drivers from software in windows installation? How to accept unsigned drivers?

#1 User is offline   kallie 

  • Group: Members
  • Posts: 2
  • Joined: 30-September 09

  Posted 30 September 2009 - 12:11 AM

Hello everyone,

I've made my own unattened windows 7 dvd with the support of this great forum.
But i've a little question.

I've some software that will be installed in my windows 7 , but in the installation i get a screen if i want to accept the unsigned driver yes or no.
Is there a posibility to always accept these drivers in my setup of windows 7, so i don't need to click every time?


#2 User is offline   beats 

  • Free cookies
  • PipPipPip
  • Group: Members
  • Posts: 344
  • Joined: 08-November 07

Posted 30 September 2009 - 02:55 AM

Try this: Driver Signature Enforcement Overrider :)

#3 User is offline   sp00f 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 712
  • Joined: 30-November 06

Posted 16 October 2009 - 05:52 PM

View Postkallie, on Sep 30 2009, 08:11 AM, said:

Hello everyone,

I've made my own unattened windows 7 dvd with the support of this great forum.
But i've a little question.

I've some software that will be installed in my windows 7 , but in the installation i get a screen if i want to accept the unsigned driver yes or no.
Is there a posibility to always accept these drivers in my setup of windows 7, so i don't need to click every time?

use :
 /forceunsigned


example
dism /image:"C:\Temp\mount" /add-driver /driver:"C:\Temp\source\drivers\lan\ws3cap.inf" /forceunsigned


#4 User is offline   1to1 

  • Junior
  • Pip
  • Group: Members
  • Posts: 76
  • Joined: 22-February 05

Posted 19 October 2009 - 07:33 AM

View Postsp00f, on Oct 16 2009, 11:52 PM, said:

View Postkallie, on Sep 30 2009, 08:11 AM, said:

Hello everyone,

I've made my own unattened windows 7 dvd with the support of this great forum.
But i've a little question.

I've some software that will be installed in my windows 7 , but in the installation i get a screen if i want to accept the unsigned driver yes or no.
Is there a posibility to always accept these drivers in my setup of windows 7, so i don't need to click every time?

use :
 /forceunsigned


example
dism /image:"C:\Temp\mount" /add-driver /driver:"C:\Temp\source\drivers\lan\ws3cap.inf" /forceunsigned



hi
can you explane a bit more the forceunsigned command is it used in autounattend file?


thanks

#5 User is offline   tomatthe 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 22-September 04

Posted 19 October 2009 - 08:07 AM

/forceunsigned is used when adding drivers to a .wim file. It would not be used in unattend.xml

#6 User is offline   derniwi 

  • Newbie
  • Group: Members
  • Posts: 44
  • Joined: 24-November 08

Posted 17 December 2009 - 03:19 AM

Hi,

I'm just setting up an unattended installation with WDS, MDT 2010 and PXEBoot. But I have two unsigned drivers yet and I get the question during setup.
So I'm looking for a solution to disable the driver signing check while installing the software.

I tried setting the registry key, but this would just work for XP:
reg.exe add "HKCU\Software\Policies\Microsoft\Windows NT\Driver Signing" /v BehaviorOnFailedVerify /t reg_dword /d 0x00000000 /f

Also I tried the following commands in several combinations (started with admin privileges and reboot after setting)
bcdedit.exe /set loadoptions " /DISABLE_INTEGRITY_CHECKS"
bcdedit.exe /set loadoptions DDISABLE_INTEGRITY_CHECKS
bcdedit.exe /set TESTSIGNING ON
bcdedit.exe /set NOINTEGRITYCHECKS ON

But the signing check is still asking...

Any ideas?

Best regards, Nils.

#7 User is offline   MrJinje 

  • Tool™ Developer
  • Group: Developers
  • Posts: 942
  • Joined: 14-October 09
  • OS:none specified
  • Country: Country Flag

  Posted 17 December 2009 - 09:38 AM

The method described above will work for you, first mount your Install.wim with DISM and then run the /FORCEUNSIGNED command when integrating your driver. Once that is working you can drop all the bcdedit and registry stuff during the install.

Quote

dism /image:"C:\Temp\mount" /add-driver /driver:"C:\Temp\source\drivers\lan\ws3cap.inf" /forceunsigned
For people who do not know DISM is a a new command line tool in Windows 7.

For help with basic syntax. Start > Run > CMD > DISM /?

NOTE-TO-SELF: Next version of DISM Tool™ should add support for this.

This post has been edited by MrJinje: 17 December 2009 - 09:41 AM


#8 User is offline   gunsmokingman 

  • MSFN Master
  • Group: Super Moderator
  • Posts: 2,350
  • Joined: 02-August 03
  • OS:none specified
  • Country: Country Flag

Posted 17 December 2009 - 11:13 AM

If you have all your drivers for your computer in on directory then you could use this Dism command
C:\UaWorkArea\TempUa , Wim Image Path
C:\Win7_UaWorkArea\Drivers , Path To Drivers

Quote

Dism /image:C:\UaWorkArea\TempUa /Add-Driver /ForceUnsigned /driver:C:\Win7_UaWorkArea\Drivers /recurse


#9 User is offline   derniwi 

  • Newbie
  • Group: Members
  • Posts: 44
  • Joined: 24-November 08

Posted 07 January 2010 - 07:29 AM

But what if I just have two unsigned drivers which I like to install and turn on the signing check after the installation?

At the moment I install this drivers with individual AutoHotKey/AutoIt scripts. This seems to be a good compromise.

#10 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,747
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 January 2010 - 07:34 AM

gunsmokingman cmd line explained it all as did others above.
1 driver or 127 like I had before i trimmed them down

/ForceUnsigned will add the unsigned drivers to the image store
/recurse will process 1 root folder and ALL sub folders within

This does not affect the driver signing policy, it will still be on after the Install.
You are only forceing integration of the ones in your 'Drivers' folder at the time you do it.

#11 User is offline   Fernando 1 

  • Easy RAIDer
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,983
  • Joined: 03-June 05
  • OS:Windows 7 x64

Posted 11 January 2010 - 08:08 AM

View PostmaxXPsoft, on Jan 11 2010, 02:34 PM, said:

/ForceUnsigned will add the unsigned drivers to the image store
Will this work with unsigned AHCI and RAID drivers too?
Example:
Users with an nForce2, nForce3 or nForce4 RAID system are not able to get Win7 installed by booting off the original Win7 DVD. The Win7 in-box nForce SATA and RAID driver do not support their SATARAID Controllers, WHQL certified nForce drivers either are not accepted (because they are designed for Windows XP) or do not support the related chipsets.

#12 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,747
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 January 2010 - 09:21 AM

Boot critical drivers are added to the image. Non boot critical are added to the store where when they are needed they will be finished installing. I used to inject my Sata Raid drivers into Vista and was no problem.
Before that I was F6 and provide the floppy with drivers

OK 7 vanilla won't boot with them driver's. What are your options? Inject them and try, I can't say since 7 supports what I have now.

It's a learning curve, try the inject method especially for the boot critical.

Don't ask ?, try it and learn and let us know. There is such things as VM where you can test.

This post has been edited by maxXPsoft: 11 January 2010 - 09:22 AM


#13 User is offline   Fernando 1 

  • Easy RAIDer
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,983
  • Joined: 03-June 05
  • OS:Windows 7 x64

Posted 11 January 2010 - 10:06 AM

View PostmaxXPsoft, on Jan 11 2010, 04:21 PM, said:

OK 7 vanilla won't boot with them driver's. What are your options? Inject them and try, I can't say since 7 supports what I have now.
It's a learning curve, try the inject method especially for the boot critical.
Don't ask ?, try it and learn and let us know. There is such things as VM where you can test.
Thanks for your reply, but the execution of your advice is not as easy as you think, because I don't have an nForce RAID system anymore. Furthermore I am not sure, if you can virtually simulate a real Win7 installation onto a RAID array.
I posted this question, because I have started >this< thread at a time, when I owned an nForce4 RAID system myself. Users with an nForce2-4 RAID system are waiting for a solution.

#14 User is offline   MrJinje 

  • Tool™ Developer
  • Group: Developers
  • Posts: 942
  • Joined: 14-October 09
  • OS:none specified
  • Country: Country Flag

  Posted 11 January 2010 - 11:25 AM

View PostmaxXPsoft, on Jan 11 2010, 09:21 AM, said:

Boot critical drivers are added to the image.

Boot critical drivers also need to be added to Boot.wim Image #2

#15 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,747
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 January 2010 - 04:51 PM

View PostMrJinje, on Jan 11 2010, 11:25 AM, said:

View PostmaxXPsoft, on Jan 11 2010, 09:21 AM, said:

Boot critical drivers are added to the image.

Boot critical drivers also need to be added to Boot.wim Image #2

yes, I used to do something called SetDriversRoot.cmd and boot.wim 2 with Vista where during install it would stop and add them.

search the Vista unattend forum for this Windows\System32\SetDriversRoot.cmd
http://www.msfn.org/...oot-t91468.html

This post has been edited by maxXPsoft: 11 January 2010 - 07:11 PM


Share this topic:


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

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



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