Go Back   Rage3D » Rage3D Discussion Area » Gaming and Computing Forums » Operating Systems
Rage3D Subscribe Register FAQ Members List Calendar Mark Forums Read

Operating Systems Discussion topics on operating systems including all iterations of Windows, Linux, MacOS, BeOS, etc.

Closed Thread
 
Thread Tools Display Modes
Old Apr 8, 2008, 09:52 PM   #1
Advertisement (Guests Only)

Login or Register to remove this ad
caveman-jim
Deposed King of Rage3D
 
Join Date: Oct 2003
Posts: 48,926
caveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badges


HowTo: Test Sign Drivers for use with Vista x64/Server 2008 x64

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
If you get a 'page not found' error when clicking this link, follow this link:
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
which are located in the following directory:

Code:
C:\WinDDK\6000\bin\SelfSign
Where C: is the local drive you installed to (default is system partition, usually C.

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
These two commands create the certificate and add it to the local store. You can examine, add, or delete the certificate through the Certificate snap-in, which you may either add to an MMC instance or run via
Code:
> %WINDIR%\system32\certmgr.msc
Obviously, you may substitute your own name for mine. Leave the command window open, we're going to use it again shortly.

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
If you've entered the command correctly, you will see a success report. If there was a failure, recheck your spelling and syntax and try again.

Now verify the validity, by running the signtool executable again:

Code:
signtool.exe verify /pa /v drivername.sys
Once you've completed your signing, copy the .sys. files back in to two locations - the original program files location, and the Windows System32 folder. Overwrite any existing files.

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
This is the only 'ugly' part of the process - from now on your desktop will display 'Test Mode' in all four corners, just as Windows does when you boot into Safe mode. At first I found it jarring, but after a while I don't even notice it. The benefits of running the software I want, how I want, outweigh the disadvantages for me.

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.

Last edited by caveman-jim : Apr 9, 2008 at 02:40 PM.
caveman-jim is offline  
Old Apr 8, 2008, 11:43 PM   #2
genci88
lololololol
 
Join Date: May 2002
Location: United States USA
Posts: 13,696
genci88 is still being judged by the masses


Default

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 in 2012.




- The hardest thing about getting a Mac is telling your parents that you're gay.

- If I had the choice between being gay and owning a Mac, I would rather be gay, because if I owned a Mac I would be both gay and own a horrible computer.

- Imagine a giant cock flying towards your mouth, and there's nothing you can do about it. And you're like "Oh man, I'm gonna have to suck this thing", and you brace yourself to suck this giant cock. But then, at the last moment, it changes trajectory and hits you in the eye. You think to yourself "Well, at least I got that out of the way", but then the giant cock rears back and stabs your eye again, and again, and again. Eventually, this giant cock is penetrating your gray matter, and you begin to lose control of your motor skills. That's when the giant cock slaps you across the cheek, causing you to fall out of your chair. Unable to move and at your most vulnerable, the giant cock finally lodges itself in your anus, where it rests comfortably for 4, maybe 5 hours. That's what using Mac OSX is like.
genci88 is offline  
Old Apr 9, 2008, 02:55 AM   #3
ready2rumbelX
InSaneX
 
Join Date: Oct 2001
Location: Kenya Kenya
Posts: 1,131
ready2rumbelX is still being judged by the masses


Default

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.6Ghz
-Gigabyte EP45-UD3R motherboard
-2x2GB DDR2 G.Skill PC-6400 (@ 850Mhz) RAM (4-4-4-11)
-Western Digital 500GB + Seagate 1.5TB SATA II HDD
-MSI GTX 480 1536 MB GDDR 5 (850/1700/8000)
-Windows 7 Ultimate (x64) + Ubuntu 10.10 (x64)
-Realtek HD (ALC899A) w/ Creative PC Works 5.1
-2 x L.G DVD/CD-RW Combo - GSA-H62N
ready2rumbelX is offline  
Advertisement (Guests Only)
Login or Register to remove this ad
Old Apr 9, 2008, 10:00 AM   #4
spyre
ATI Beta Tester
 
Join Date: Jan 2003
Location: United Kingdom England
Posts: 18,438
spyre is still being judged by the masses


Default

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/
__________________
I do work for AMD
AMD/ATI Beta Tester
spyre is offline  
Old Apr 9, 2008, 10:06 AM   #5
Skynet
Banned
 
Join Date: Jan 2001
Location: Canada Canada
Posts: 21,114
Skynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppers


Default

When I got to download, I get this.

Skynet is offline  
Old Apr 9, 2008, 10:30 AM   #6
caveman-jim
Deposed King of Rage3D
 
Join Date: Oct 2003
Posts: 48,926
caveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badges


Default

Quote:
Originally Posted by ready2rumbelX View Post
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
It is a violation (as I stated in the original post) of the EULA to redistribute any part of the WDK. Download the whole thing, or not at all, unfortunately. Please do not post links to download the required files that violate the EULA.

See below for watermark

Quote:
Originally Posted by spyre View Post
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/
Awesome! Thanks Spyre

Quote:
Originally Posted by Skynet View Post
When I got to download, I get this.

I got that as well. Click on the downloads link in the top left pane. you can still download the WDK and use it.
caveman-jim is offline  
Old Apr 9, 2008, 11:39 AM   #7
ready2rumbelX
InSaneX
 
Join Date: Oct 2001
Location: Kenya Kenya
Posts: 1,131
ready2rumbelX is still being judged by the masses


Default

Sorry. It's quite clear that I didn't read through properly.

r2rX
__________________
ready2rumbelX

-Intel Core 2 Quad Q6600 @ 3.6Ghz
-Gigabyte EP45-UD3R motherboard
-2x2GB DDR2 G.Skill PC-6400 (@ 850Mhz) RAM (4-4-4-11)
-Western Digital 500GB + Seagate 1.5TB SATA II HDD
-MSI GTX 480 1536 MB GDDR 5 (850/1700/8000)
-Windows 7 Ultimate (x64) + Ubuntu 10.10 (x64)
-Realtek HD (ALC899A) w/ Creative PC Works 5.1
-2 x L.G DVD/CD-RW Combo - GSA-H62N
ready2rumbelX is offline  
Old Apr 9, 2008, 11:56 AM   #8
Skynet
Banned
 
Join Date: Jan 2001
Location: Canada Canada
Posts: 21,114
Skynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppers


Default

Quote:
Originally Posted by caveman-jim View Post
I got that as well. Click on the downloads link in the top left pane. you can still download the WDK and use it.
Ah yes, I gave up too easily, thanks.
Skynet is offline  
Old Apr 9, 2008, 01:10 PM   #9
ready2rumbelX
InSaneX
 
Join Date: Oct 2001
Location: Kenya Kenya
Posts: 1,131
ready2rumbelX is still being judged by the masses


Default

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.6Ghz
-Gigabyte EP45-UD3R motherboard
-2x2GB DDR2 G.Skill PC-6400 (@ 850Mhz) RAM (4-4-4-11)
-Western Digital 500GB + Seagate 1.5TB SATA II HDD
-MSI GTX 480 1536 MB GDDR 5 (850/1700/8000)
-Windows 7 Ultimate (x64) + Ubuntu 10.10 (x64)
-Realtek HD (ALC899A) w/ Creative PC Works 5.1
-2 x L.G DVD/CD-RW Combo - GSA-H62N
ready2rumbelX is offline  
Old Apr 9, 2008, 02:38 PM   #10
caveman-jim
Deposed King of Rage3D
 
Join Date: Oct 2003
Posts: 48,926
caveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badges


Default

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"

Last edited by caveman-jim : Apr 9, 2008 at 02:41 PM.
caveman-jim is offline  
Old Apr 9, 2008, 04:41 PM   #11
Skynet
Banned
 
Join Date: Jan 2001
Location: Canada Canada
Posts: 21,114
Skynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppers


Default

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.
Skynet is offline  
Old Apr 9, 2008, 04:47 PM   #12
ready2rumbelX
InSaneX
 
Join Date: Oct 2001
Location: Kenya Kenya
Posts: 1,131
ready2rumbelX is still being judged by the masses


Default

A star, caveman-jim....a star.

r2rX
__________________
ready2rumbelX

-Intel Core 2 Quad Q6600 @ 3.6Ghz
-Gigabyte EP45-UD3R motherboard
-2x2GB DDR2 G.Skill PC-6400 (@ 850Mhz) RAM (4-4-4-11)
-Western Digital 500GB + Seagate 1.5TB SATA II HDD
-MSI GTX 480 1536 MB GDDR 5 (850/1700/8000)
-Windows 7 Ultimate (x64) + Ubuntu 10.10 (x64)
-Realtek HD (ALC899A) w/ Creative PC Works 5.1
-2 x L.G DVD/CD-RW Combo - GSA-H62N
ready2rumbelX is offline  
Old Apr 9, 2008, 04:51 PM   #13
caveman-jim
Deposed King of Rage3D
 
Join Date: Oct 2003
Posts: 48,926
caveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badges


Default

Quote:
Originally Posted by Skynet View Post
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.
As I have posted twice now, it is not permitted to redistribute the contents of the WDK.
caveman-jim is offline  
Old Apr 9, 2008, 05:14 PM   #14
Skynet
Banned
 
Join Date: Jan 2001
Location: Canada Canada
Posts: 21,114
Skynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppersSkynet has a basement full of buried neg-reppers


Default

Quote:
Originally Posted by caveman-jim View Post
As I have posted twice now, it is not permitted to redistribute the contents of the WDK.
I'm really asleep at the switch today
Skynet is offline  
Old Apr 10, 2008, 12:05 AM   #15
caveman-jim
Deposed King of Rage3D
 
Join Date: Oct 2003
Posts: 48,926
caveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badgescaveman-jim doesn't need no stinkin' badges


Default

its ok, it does seem ludicrous to have to download 2.8gb and install 1.8gb to get 700kb of files.
caveman-jim is offline  
Old Apr 14, 2008, 09:59 AM   #16
hobs0n
Radeon Arctic Islands
 
Join Date: Sep 2002
Location: Sweden Schweden Schweden
Posts: 8,468
hobs0n is still being judged by the masses


Default

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
hobs0n is offline  
Old Apr 14, 2008, 10:19 AM   #17
SteadVéx
Radeon Sea Islands
 
Join Date: Feb 2004
Posts: 3,177
SteadVéx can beat 'Minesweeper' on any difficultySteadVéx can beat 'Minesweeper' on any difficulty


Default

this makes putting x64 back on my machine so much more appealing !
SteadVéx is offline  
Old Apr 14, 2008, 01:10 PM   #18
ready2rumbelX
InSaneX
 
Join Date: Oct 2001
Location: Kenya Kenya
Posts: 1,131
ready2rumbelX is still being judged by the masses


Default

Quote:
Originally Posted by SteadVéx View Post
this makes putting x64 back on my machine so much more appealing !
You're telling me?

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.6Ghz
-Gigabyte EP45-UD3R motherboard
-2x2GB DDR2 G.Skill PC-6400 (@ 850Mhz) RAM (4-4-4-11)
-Western Digital 500GB + Seagate 1.5TB SATA II HDD
-MSI GTX 480 1536 MB GDDR 5 (850/1700/8000)
-Windows 7 Ultimate (x64) + Ubuntu 10.10 (x64)
-Realtek HD (ALC899A) w/ Creative PC Works 5.1
-2 x L.G DVD/CD-RW Combo - GSA-H62N
ready2rumbelX is offline  
Closed Thread


Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft Releases Windows Vista SP2, Server 2008 SP2 to Public PeaceKeeper Operating Systems 52 Jun 1, 2009 10:08 PM
Microsoft Releases Windows Vista SP2, Server 2008 SP2 to Public PeaceKeeper Front Page News 0 May 26, 2009 11:09 AM
Catalyst on Vista x64 / Server 2008 x64 (HD 4870) Zeroyez AMD Radeon Software Discussion and Support 7 Jan 21, 2009 03:33 PM
Microsoft to patch Vista SP1, Server 2008 next week Lupine Front Page News 2 Apr 4, 2008 12:43 PM
Microsoft Releases Vista SP1, Server 2008 to Manufacturing caveman-jim Front Page News 3 Feb 5, 2008 07:11 AM


All times are GMT -5. The time now is 02:06 AM.



Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
All trademarks used are properties of their respective owners. Copyright ©1998-2011 Rage3D.com
Links monetized by VigLink