![]() |
|
|||||||
| Operating Systems Discussion topics on operating systems including Windows 9x, 2000, XP, FreeBSD, BeOS, etc. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | Advertisement (Guests Only)
Login or Register to remove this ad
|
|
RIP Dad 4/2/48-4/7/09
Join Date: Oct 2003
Location:
Birmingham, AL
Posts: 27,509
|
Windows device installation uses digital signatures to verify the integrity of driver packages and to verify the identity of the publishers of the driver packages. In addition, the kernel-mode code signing policy for 64-bit versions of Windows Server 2008 and Windows Vista specifies that a kernel-mode driver must be signed in order for the driver to load. This can cause problems where an application or driver has not been signed and you wish to use it with Microsoft Windows Vista x64 and Microsoft Windows Server 2008 x64. The solution is to use the Windows Driver Kit to create your own Certificate and sign your own drivers. Note that under the licensing agreements you are not permitted to distribute any part of the WDK or your test certificates and drivers. Skills and Requirements: This guide assumes you know how to use windows explorer to find and copy files, including those in the hidden system partitions (Windows\System32). It also assumes you know how to run a command prompt as administrator in Windows Vista, and execute commands. You will need to examine the Windows Event log. You will also need a Windows Live ID. You will need ~5Gb of free space, temporarily. Obtaining the Windows Driver Kit: The first step in creating your own test signed drivers is to obtain the Windows Driver Kit. This is a simple process, but requires a Windows Live ID that you must then register on the Windows Connect site. Windows Connect: The link below will show you the steps to gaining access to the Windows Connect site, and registering for the Windows Driver Kit. Once you have registered you can download the ~2.3Gb ISO file containing all the tools you will ever need, want or desire, for Windows Drivers. Code:
How to Get the Windows Driver Kit and the Windows Logo Kit http://www.microsoft.com/whdc/DevTools/WDK/WDKpkg.mspx http://www.microsoft.com/whdc/devtools/WDK/default.mspx and click on the "How to Get the Windows Driver Kit and the Windows Logo Kit" link on that page. These steps should take only a couple of minutes to complete. The download may take longer, depending on your connection speed. Go watch a movie unless you have a 5mbps+ connection and are locally situated to the Microsoft download servers. ![]() ![]() Installing the Windows Driver Kit: Once you have downloaded the ISO file, you will need to access the files within. Either burn it to DVD, mount it in a Virtual DVD drive or extract it to your hard drive. Now you need to install the kit, by running the installer, satisfying the pre-requisites, and finally installing the WDK. Note that this can use up to 1800mb of drive space. ![]() ![]() Finding the driver signing executables Now we need to gather the tools we need. We want to use the following executables and files: Code:
capicom.dll certmgr.exe makecert.exe signtool.exe Code:
C:\WinDDK\6000\bin\SelfSign .Yes, we download a 2.7Gb ISO and installed a 1.7Gb set of applications, to get access to 700Kb of files. If anyone knows how to get the executables and libraries directly from the image, please let me know.Copy the files to a temporary work location, such as C:\driversign\ (create the folder if it doesn't exist). Create a Certificate: The first thing we need is a certificate. This is a test certificate, as you yourself are declaring the authenticity of the files you sign. Thus, only sign drivers you trust, and don't use anyone else's test certificate. To create your certificate, open a command window, as an administrator, change directory to your temporary work location and enter the following commands: Code:
> makecert.exe -$ individual -r -pe -ss "Caveman Certificate Store" -n CN="Caveman Certificate" "Caveman Certificate.cer" > certmgr.exe /add "Caveman Certificate.cer" /s /r localMachine root Code:
> %WINDIR%\system32\certmgr.msc Now we need to gather the driver files we want to sign. For example, if I am going to use VMware Server 1.0.5, I run the download and run the installer executable. I Followed the prompts until the red banded Driver Signing alerts appeared - which took some time, as Windows tries to verify the drivers itself before throwing an alert back to the user. Be patient, and ignore any warning messages that appear indicating that the Windows Installer has encountered a problem or failed. Once the Driver Signing alerts appear, navigate to the install directory, and find the driver files - all the .sys extension files. Copy these to the temporary work location you created earlier. Now, accept the driver signing warnings, and complete the installation of the software. Don't try and run it yet. Signing The Drivers: For each driver listed in the temporary work location, run the signtool executable as follows: Code:
signtool.exe sign /v /s "Caveman Certificate Store" /n "Caveman Certificate" drivername.sys Now verify the validity, by running the signtool executable again: Code:
signtool.exe verify /pa /v drivername.sys Test Sign Mode: Finally we need to allow Test Signed drivers to be allowed to load in to the Kernel. To do this we need to edit start up options, using BCDedit: Code:
bcdedit.exe /set TESTSIGNING ON Note that if the drivers you are attempting to install are not compatible with 64bit systems, this process will not help. Reboot and Test: Now reboot your system. If all is well, then you should see the Test Mode alerts in all four corners of the screen. Check the Windows Event logs for failed driver loads. If there are any, find them and sign them, copy them to where they need to be and reboot. Rinse and repeat as needed. Cleanup: Uninstall the WDK using Control Panel's Programs and Features - Uninstall a Program and delete the downloaded ISO if there is nothing further you need from it. I suggest burning it to DVD, just in case you need it again later.
__________________
newb Quote:
Last edited by caveman-jim : Apr 9, 2008 at 02:40 PM. |
|
|
|
|
|
|
#2 |
|
The Furry Animals
Join Date: May 2002
Location:
Arkansas, USA
Posts: 12,307
|
File->Save Page As. Archived! ![]() Also +rep.
__________________
Member of the Glorious PC Gaming Master Race. Reasons why it’s worth to be a PC gamer. |
|
|
|
|
|
#3 |
|
InSaneX
Join Date: Oct 2001
Location:
Kenya
Posts: 1,059
|
Cheers very, very much for the guide. ![]() P.S Is it possible to upload those paticular files here? It wouldn't be breaking any rules/regulations, would it? It'd spare those downloading over 2GB just for 700K of files. But otherwise, fantastic. Questions...even though its in "Test" mode, will that message be displayed on the screen at all times? Rather, is the message a watermark? And if so, is there a way to disable it? Cause it'd be a big lame if the watermark was permanent. ![]() Cheers plenty, caveman-jim. ![]() r2rX ![]()
__________________
ready2rumbelX -Intel Core 2 Quad Q6600 @ 3.4Ghz -Gigabyte EP45-UD3R motherboard -2x2GB DDR2 G.Skill PC-6400 (@ 850Mhz) RAM (5-4-5-11) -Seagate 160GB + 320GB (IDE) + Western Digital 500GB (SATA II) H.D -Sapphire Radeon HD 4870 512MB GDDR 5 (780/4300) -Windows Vista Ultimate SP2 (x64) -Realtek HD (ALC899A) w/ Creative PC Works 5.1 -2 x L.G DVD/CD-RW Combo - GSA-H62N |
|
|
|
| Advertisement (Guests Only) |
|
Login or Register to remove this ad
|
|
|
#4 |
|
ATI Beta Tester
Join Date: Jan 2003
Location:
England
Posts: 14,943
|
Thanks Jim for the guide, will come in handy for sure You can hack out the test warning message in the corner of the screen http://www.mydigitallife.info/2006/1...-from-desktop/
__________________
Game.AMD Administrator AMD/ATI Beta Tester Terry Makedons Twitter, read for latest Catalyst news http://twitter.com/CatalystMaker |
|
|
|
|
|
#5 |
|
Justice will be served
Join Date: Jan 2001
Location:
Location...
Posts: 14,014
|
When I got to download, I get this. ![]()
__________________
Brought to you by Matsumura Fishworks & Tamaribuchi Heavy Manufacturing Concern. |
|
|
|
|
|
#6 | |||
|
RIP Dad 4/2/48-4/7/09
Join Date: Oct 2003
Location:
Birmingham, AL
Posts: 27,509
|
Quote:
See below for watermark ![]() Quote:
![]() I got that as well. Click on the downloads link in the top left pane. you can still download the WDK and use it.
__________________
newb Quote:
|
|||
|
|
|
|
|
#7 |
|
InSaneX
Join Date: Oct 2001
Location:
Kenya
Posts: 1,059
|
Sorry. It's quite clear that I didn't read through properly. ![]() r2rX ![]()
__________________
ready2rumbelX -Intel Core 2 Quad Q6600 @ 3.4Ghz -Gigabyte EP45-UD3R motherboard -2x2GB DDR2 G.Skill PC-6400 (@ 850Mhz) RAM (5-4-5-11) -Seagate 160GB + 320GB (IDE) + Western Digital 500GB (SATA II) H.D -Sapphire Radeon HD 4870 512MB GDDR 5 (780/4300) -Windows Vista Ultimate SP2 (x64) -Realtek HD (ALC899A) w/ Creative PC Works 5.1 -2 x L.G DVD/CD-RW Combo - GSA-H62N |
|
|
|
|
|
#8 |
|
Justice will be served
Join Date: Jan 2001
Location:
Location...
Posts: 14,014
|
__________________
Brought to you by Matsumura Fishworks & Tamaribuchi Heavy Manufacturing Concern. |
|
|
|
|
|
#9 |
|
InSaneX
Join Date: Oct 2001
Location:
Kenya
Posts: 1,059
|
B.T.W, the link returns that "We're sorry, but we were unable to service your request". I donno why.... r2rX ![]()
__________________
ready2rumbelX -Intel Core 2 Quad Q6600 @ 3.4Ghz -Gigabyte EP45-UD3R motherboard -2x2GB DDR2 G.Skill PC-6400 (@ 850Mhz) RAM (5-4-5-11) -Seagate 160GB + 320GB (IDE) + Western Digital 500GB (SATA II) H.D -Sapphire Radeon HD 4870 512MB GDDR 5 (780/4300) -Windows Vista Ultimate SP2 (x64) -Realtek HD (ALC899A) w/ Creative PC Works 5.1 -2 x L.G DVD/CD-RW Combo - GSA-H62N |
|
|
|
|
|
#10 | |
|
RIP Dad 4/2/48-4/7/09
Join Date: Oct 2003
Location:
Birmingham, AL
Posts: 27,509
|
If you get that error then click on this link http://www.microsoft.com/whdc/devtools/WDK/default.mspx and follow the link shown "How to Get the Windows Driver Kit and the Windows Logo Kit"
__________________
newb Quote:
Last edited by caveman-jim : Apr 9, 2008 at 02:41 PM. |
|
|
|
|
|
|
#11 |
|
Justice will be served
Join Date: Jan 2001
Location:
Location...
Posts: 14,014
|
I installed this under VMWare, have not had a chance to play around with it yet. If anyone wants the files, I'll post them assuming it is allowed.
__________________
Brought to you by Matsumura Fishworks & Tamaribuchi Heavy Manufacturing Concern. |
|
|
|
|
|
#12 |
|
InSaneX
Join Date: Oct 2001
Location:
Kenya
Posts: 1,059
|
A star, caveman-jim....a star. ![]() r2rX ![]()
__________________
ready2rumbelX -Intel Core 2 Quad Q6600 @ 3.4Ghz -Gigabyte EP45-UD3R motherboard -2x2GB DDR2 G.Skill PC-6400 (@ 850Mhz) RAM (5-4-5-11) -Seagate 160GB + 320GB (IDE) + Western Digital 500GB (SATA II) H.D -Sapphire Radeon HD 4870 512MB GDDR 5 (780/4300) -Windows Vista Ultimate SP2 (x64) -Realtek HD (ALC899A) w/ Creative PC Works 5.1 -2 x L.G DVD/CD-RW Combo - GSA-H62N |
|
|
|
|
|
#13 | |
|
RIP Dad 4/2/48-4/7/09
Join Date: Oct 2003
Location:
Birmingham, AL
Posts: 27,509
|
__________________
newb Quote:
|
|
|
|
|
|
|
#14 |
|
Justice will be served
Join Date: Jan 2001
Location:
Location...
Posts: 14,014
|
__________________
Brought to you by Matsumura Fishworks & Tamaribuchi Heavy Manufacturing Concern. |
|
|
|
|
|
#15 | |
|
RIP Dad 4/2/48-4/7/09
Join Date: Oct 2003
Location:
Birmingham, AL
Posts: 27,509
|
its ok, it does seem ludicrous to have to download 2.8gb and install 1.8gb to get 700kb of files.
__________________
newb Quote:
|
|
|
|
|
|
|
#16 | |
|
Rage3D Veteranski
Join Date: Sep 2002
Location:
Schweden Schweden
Posts: 8,430
|
great guide there caveman! ![]() Id rep you if I could. Lucky for me I havent had any trouble with any drivers yet but Ill be sure to read this guide if I do ![]()
__________________
Quote:
Using a very modded and hacked HTC Blackstone with Sennheiser HD25-1, best mobile phone I ever had! Public Service FTW! No more Intel and Nvidia, Nvidia products!! |
|
|
|
|
|
|
#17 |
|
Rage3D Veteran
Join Date: Feb 2004
Posts: 1,796
|
this makes putting x64 back on my machine so much more appealing ! |
|
|
|
|
|
#18 | |
|
InSaneX
Join Date: Oct 2001
Location:
Kenya
Posts: 1,059
|
Quote:
![]() I haven't managed to remove the watermark yet, but as far as the drivers go; I have XBCD installed with no issues, and i've tweaked my mouse to 500Hz with a patched driver.....so i'm quite pleased. ![]() Cheers again. ![]() r2rX ![]()
__________________
ready2rumbelX -Intel Core 2 Quad Q6600 @ 3.4Ghz -Gigabyte EP45-UD3R motherboard -2x2GB DDR2 G.Skill PC-6400 (@ 850Mhz) RAM (5-4-5-11) -Seagate 160GB + 320GB (IDE) + Western Digital 500GB (SATA II) H.D -Sapphire Radeon HD 4870 512MB GDDR 5 (780/4300) -Windows Vista Ultimate SP2 (x64) -Realtek HD (ALC899A) w/ Creative PC Works 5.1 -2 x L.G DVD/CD-RW Combo - GSA-H62N |
|
|
|
|