需要准備的工具:gimagex,win7鏡像,任意虛擬光驅或着解壓軟件
1. 打開win7的鏡像
2. 將 .\sources\boot.wim拷貝出來
3. 用 gimagex掛載 boot.wim到一個空的文件夾(按照下圖配置,點擊 Mount按鈕)
4. 將 E:\mnt\Windows\System32\taskmgr.exe和 E:\mnt\Windows\System32\zh-CN\taskmgr.exe.mui拷貝出來。改下名字,如:tm.exe、tm.exe.mui,最后保存到 win10的對應文件夾。
5. 卸載 boot.wim
6. 創建注冊表文件,寫入
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe] "Debugger"="C:\\Windows\\System32\\tm.exe"
7. 運行注冊表文件,重啟
8. 想恢復成 win10的任務管理器的話,只需要刪掉注冊表