Convert Windows 32bit dirver to Windows 64bit

Pre-condition:
1.source code(vc6.0+WDK based)

Development environment:
2.VS2013
3.WDK 8/8.1

Steps:
1.Create a new project.
File->New->Visual C++->Windows Driver
2.Copy .c and .h source code to project
3.Modify project property
xxx属性页->配置属性->C/C++->警告等级->等级3

xxx属性页->配置属性->Wpp Tracing->Run Wpp racing->否

xxx属性页->配置属性->链接器->输入->附加依赖库->usbdex.lib修改为usbd.lib

4.Compile it

5.驱动安装和打包

【https://msdn.microsoft.com/en-us/library/windows/hardware/dn653560(v=vs.85).aspx】:

Driver Installation for 32-bit and 64-bit Platforms

6.done!

驱动64位的需要签名,目前只能"禁止系统驱动签名强制"进行驱动安装。以下为官网查询的资料:

【https://msdn.microsoft.com/en-us/library/windows/hardware/hh454834(v=vs.85).aspx】:Problems installing the driver on 64-bit version of Windows

Starting with Windows Vista, all 64-bit versions of Windows require driver code to have a digital signature for the driver to load. See Signing a Driver and Signing a Driver During Development and Testing.

【https://msdn.microsoft.com/en-us/library/windows/hardware/hh454834(v=vs.85).aspx】:

All drivers running on 64-bit versions of Windows must be signed before Windows will load them. However, driver signing is not required on 32-bit versions of Windows.

Win7 进入"禁止系统驱动签名强制"

  pressing the F8 function key during system boot up

Win8 进入"禁止系统驱动签名强制"

使用windows+R键调出运行
在命令行中输入shutdown.exe /r /o /f /t 00后运行
接下来系统会重启,然后进入选项页面
选择疑难解答
选择高级选项
然后重启
接下来你就进入了安全模式
用F7选择禁止驱动签名

但是在Win8下面以上方法只能本次启动生效,下次重启后驱动又不能使用。所以可以使用dseo13b.exe工具。

具体使用方法:http://www.ngohq.com/?page=dseo

1. Download the application from the link below. Right click on it and choose "Run as administrator". Inside its main menu, press on the “Enable Test Mode” button and follow the instructions on the screen. This will enable TESTSIGNING mode, which allows unverified system files to be loaded.

2. Now all you have to do is to add the unverified signature to the required system files. To do so press on the “Sign a System File” button from the main menu, and enter specific filename including full path. For example: if ATITool64.sys from C:\Windows\System32\drivers refuses to load due to driver signature enforcement, you should type: “C:\Windows\System32\drivers\ATITool64.sys”, and if you would like to sign more than a single file, just repeat this procedure until you’re done, and finally reboot.

After you enabled Test Mode and added signatures to the required system files, they should bypass Windows’s driver signature enforcement and load without any issues. However, if for some reason you are interested to revert it, you can re-launch the application, choose “Disable Test Mode” from the main menu, and reboot. If you encounter issues or having questions, feel free to post it on our forums.

Note: DSEO requires administrative privileges (Run as administrator).

时间: 2024-08-04 16:53:07

Convert Windows 32bit dirver to Windows 64bit的相关文章

Hyperion Business Modeling for Microsoft Windows (32-bit)

介质包搜索 常见问题    说明 复查 许可证列表 以确定需要下载的产品程序包. 请选择产品程序包和平台,然后单击“查找”. 如果只有一项结果,则可以看到下载页.如果有多个结果,请选择一个,然后单击“继续”.     选择产品程序包      - 选择产品程序包 - ATG Web Commerce E-Business Suite E-Business Suite Self-Study Health Sciences Hyperion Performance Management and BI

11.2.0.3.0 PATCH SET FOR ORACLE DATABASE SERVER for windows (32bit)

Patch 10404530 [使用迅雷直接下载]   11.2.0.3.0 PATCH SET FOR ORACLE DATABASE SERVER for linux x86-64 https://updates.oracle.com/Orion/Services/download/p10404530_112030_Linux-x86-64_1of7.zip?aru=14125322&patch_file=p10404530_112030_Linux-x86-64_1of7.zip http

Adobe 2014 CC update (Windows/Mac OS) 独立升级包下载 Adobe Photoshop CC (Windows 32bit)

http://www.adobe.com/support/downloads/detail.jsp?ftpID=5771 Name Size Date Macintosh Adobe Acrobat 10.1.10 Pro and Standard update - Greek, Arabic, and Hebrew 115MB 6/24/2014 Adobe Acrobat 10.1.9 Pro and Standard update - Greek, Arabic, and Hebrew 1

Building 32-bit Wine on a 64-bit (x86-64) system

EL6 (RHEL6 and SL6) Required packages for proper building of 32-bit Wine on 64-bit EL6 yum install --setopt=protected_multilib=false install libXrender-devel.i686 mingw32-libxml2 libxslt-devel.i686 gnutls-devel.i686 libjpeg-devel.i686 libpng-devel.i6

windows 8 转装windows 7 (thinkpad e440转windows 7亲身体验)

前段时间,朋友要我帮忙把他新买的thinkpad e440 的windows 8 降级为windows 7 ,因为他不习惯使用windows 7 系统.刚开始接活时觉得这是件轻而易举的事, 没想到后面的接连碰壁. 最后各种查资料, 终于解决了, 现在把心得和步骤写下以方便后面的同学交流. BIOS设置:EUFI 设置为 legcal only secure boot 设置为 disable 2. 我首先格式化他的磁盘,但是安装win7时,总提示不能够安装在该磁盘.找寻良久,终于发现了问题所在:磁

玩转Windows服务系列——给Windows服务添加COM接口

当我们运行一个Windows服务的时候,一般情况下,我们会选择以非窗口或者非控制台的方式运行,这样,它就只是一个后台程序,没有界面供我们进行交互. 那么当我们想与Windows服务进行实时交互的时候,我们应该怎么做呢? 快速给Windows服务添加实时交互功能的方案 Windows服务是一个进程,而我们用于交互的程序,又是另外一个进程.我们与Windows服务实时交互,其实就是一个进程间通信的问题.所有的进程间通信的方案基本上都适用于实时交互的方案,比如Socket.共享内存.管道.COM等.

走进windows编程的世界-----windows进程

Windows进程  1 Windows进程    进程是一个容器,包含了一个应用程序实例的各种资源.Windows多任务的操作系统,因此可以同时执行多个进程.      2 Windows进程的一些特点    2.1 进程中包含了执行代码等资源.    2.2 进程都具有私有的地址空间.    2.3 每个进程都有一个ID,标识进程.    2.4 每个进程都有自己的安全属性    2.5 至少要包含一个可以执行的线程.    二 进程的环境 1 环境信息的获取    获取:    LPVOI

Windows客户端迁移(windows轻松传送)

对于桌面支持来说,每次重装系统或是换机器时,数据备份是一个头痛的问题,尤其是邮件,不但有邮件还有一堆联系人,还有一堆规则,这是个让人很头痛的问题,前段时间,看了微软TechNet上面的一个关于windows 7部署的教程,知道了一个叫windows 轻松传送的工具,正好这两天单位换电脑,于是就试了一下,效果不错.电脑原先是windows XP的,所以要安装一个windows轻松传送,安装方法我就不说了,很简单的,软件下载地址:http://www.microsoft.com/zh-cn/down

Windows打印体系结构之Windows内置打印驱动程序

时间是一种很残酷的东西,它只会冲淡能够冲淡的,但也会洗尽铅华帮你留下该留下的. 1.3.4.Windows内置打印驱动程序 现在的Windows下的打印机驱动程序通常分为V4打印机驱动程序(V4 Printer Driver).XPS打印机驱动程序(XPSDrv).微软通用打印机驱动程序(Microsoft UniversalPrinter Driver).微软PostScript打印机驱动程序(Microsoft PostScriptPrinter Driver)和微软绘图仪驱动程序(Micr