日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > windows >内容正文

windows

Convert Windows 32bit dirver to Windows 64bit

發布時間:2023/12/20 windows 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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).

轉載于:https://www.cnblogs.com/yinc/p/4397489.html

總結

以上是生活随笔為你收集整理的Convert Windows 32bit dirver to Windows 64bit的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。