相關注冊表的使用說明:
將下面的代碼保存為注冊表時,需要注意Windows Registry Editor Version 5.00與下面一行會有一個空行。
安裝SQL如提示掛起導入本注冊表可解決
復制代碼 代碼如下:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Session Manager]
"PendingFileRenameOperations"=""
打開光驅硬盤的自動運行特性
復制代碼 代碼如下:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Policies/Explorer]
"NoDriveTypeAutoRun"=hex:95,00,00,00
關閉光驅硬盤的自動運行特性
復制代碼 代碼如下:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Policies/Explorer]
"NoDriveTypeAutoRun"=hex:BD,00,00,00
取消磁盤的自動掃描
復制代碼 代碼如下:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Control/Session Manager]
"BootExecute"=hex(7):61,00,75,00,74,00,6f,00,63,00,68,00,65,00,63,00,6b,00,20,/
00,61,00,75,00,74,00,6f,00,63,00,68,00,6b,00,20,00,2f,00,6b,00,3a,00,43,00,/
20,00,2f,00,6b,00,3a,00,44,00,20,00,2f,00,6b,00,3a,00,45,00,20,00,2f,00,6b,/
00,3a,00,46,00,20,00,2f,00,6b,00,3a,00,47,00,20,00,2f,00,6b,00,3a,00,48,00,/
20,00,2f,00,6b,00,3a,00,49,00,20,00,2a,00,00,00,00,00
:: 說明:這是取消自動掃描,從C盤到I盤。以上字符是16進制,您在這里看不出是什么意思,
:: 要導入后進注冊表相應的鍵值才能看到是什么意思。
[HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Session Manager/Memory Management/PrefetchParameters]
"EnablePrefetcher"=dword:00000000
:: 說明:上面這段是預讀取設為0,即不預讀,這是和取消自動掃描相結合,否則非法關機,下次
:: 啟動進桌面后會彈出c:/windows/prefetch目錄內文件出錯的提示。
:: 在給人修機時,偶爾遇到某些硬盤有問題的電腦,盡管開機時已經自動掃描過了,下次啟動時竟
:: 然還繼續掃描,每次開機都這樣。這時就需要用修改注冊表的辦法,把掃描取消了。
:: 注意不要曲解這里的意思:只是自動被取消,手動并沒有取消,您仍然可以手動掃描。
若任務管理器被病毒禁用導入本注冊表可解開
復制代碼 代碼如下:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Policies/System]
"DisableTaskmgr"=dword:00000000
修復EXE文件關聯
復制代碼 代碼如下:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT/exefile]
@="應用程序"
"EditFlags"=hex:38,07,00,00
"TileInfo"="prop:FileDescription;Company;FileVersion"
"InfoTip"="prop:FileDescription;Company;FileVersion;Create;Size"
[HKEY_CLASSES_ROOT/exefile/DefaultIcon]
@="%1"
[HKEY_CLASSES_ROOT/exefile/shell]
[HKEY_CLASSES_ROOT/exefile/shell/open]
"EditFlags"=hex:00,00,00,00
[HKEY_CLASSES_ROOT/exefile/shell/open/command]
@="/"%1/" %*"
[HKEY_CLASSES_ROOT/exefile/shell/runas]
[HKEY_CLASSES_ROOT/exefile/shell/runas/command]
@="/"%1/" %*"
[HKEY_CLASSES_ROOT/exefile/shellex]
[HKEY_CLASSES_ROOT/exefile/shellex/DropHandler]
@="{86C86720-42A0-1069-A2E8-08002B30309D}"
[HKEY_CLASSES_ROOT/exefile/shellex/PropertySheetHandlers]
[HKEY_CLASSES_ROOT/exefile/shellex/PropertySheetHandlers/PifProps]
@="{86F19A00-42A0-1069-A2E9-08002B30309D}"
[HKEY_CLASSES_ROOT/exefile/shellex/PropertySheetHandlers/ShimLayer Property Page]
@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"
[HKEY_CLASSES_ROOT/exefile/shellex/PropertySheetHandlers/{B41DB860-8EE4-11D2-9906-E49FADC173CA}]
@=""
[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/.exe]
@="exefile"
"Content Type"="application/x-msdownload"
[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/.exe/PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"
[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/exefile]
@="應用程序"
"EditFlags"=hex:38,07,00,00
"TileInfo"="prop:FileDescription;Company;FileVersion"
"InfoTip"="prop:FileDescription;Company;FileVersion;Create;Size"
[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/exefile/DefaultIcon]
@="%1"
[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/exefile/shell]
[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/exefile/shell/open]
"EditFlags"=hex:00,00,00,00
[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/exefile/shell/open/command]
@="/"%1/" %*"
[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/exefile/shell/runas]
[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/exefile/shell/runas/command]
@="/"%1/" %*"
[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/exefile/shellex]
[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/exefile/shellex/DropHandler]
@="{86C86720-42A0-1069-A2E8-08002B30309D}"
[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/exefile/shellex/PropertySheetHandlers]
[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/exefile/shellex/PropertySheetHandlers/PifProps]
@="{86F19A00-42A0-1069-A2E9-08002B30309D}"
[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/exefile/shellex/PropertySheetHandlers/ShimLayer Property Page]
@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"
[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/exefile/shellex/PropertySheetHandlers/{B41DB860-8EE4-11D2-9906-E49FADC173CA}]
@=""
; “籃球夢音樂心”編寫?!峨娔X公司特別版》作者借用。
因裝了KB905474正版驗證補丁進系統受阻導入本注冊表可破解
復制代碼 代碼如下:
Windows Registry Editor Version 5.00
-[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Winlogon/Notify/WgaLogon]
每次進桌面前都在屏幕右下角出現一個小五角星的提示,是因為在注冊表添加了一個啟動項,位置如上。把它刪除,它就不會啟動了。如果你還想清理得干凈一點,請重啟電腦,把c:/windows/system32/wgatray.exe刪除。OK了,下次記得不要再裝KB905474補丁了。
注冊表解禁
復制代碼 代碼如下:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem]
"DisableRegistryTools"=dword:00000000