1、解決windows無法在線升級.bat
regsvr32 wupdinfo.dll
2、清理C盤垃圾.bat
@echo off
echo 正在清除系統(tǒng)垃圾文件,請稍等......
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies\*.*
del /f /q %userprofile%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
echo 清除系統(tǒng)yuese完成!
echo. & pause
3、修復(fù)添加刪除程序打不開.bat
regsvr32 appwiz.cpl
regsvr32 mshtml.dll
regsvr32 jscript.dll
regsvr32 msi.dll
regsvr32 "c:\program files\common files\system\ole db\oledb32.dll"
regsvr32 "c:\program files\common files\system\ado\msado15.dll"
regsvr32 mshtmled.dll
regsvr32 /i shdocvw.dll
regsvr32 /i shell32.dll
4、修復(fù)IE打不開.bat
regsvr32 shdocvw.dll
regsvr32 oleaut32.dll
regsvr32 Actxprxy.dll
regsvr32 mshtml.dll
regsvr32 urlmon.dll
regsvr32 browseui.dll
5、防范網(wǎng)絡(luò)腳本病毒.bat
regsvr32 scrrun.dll
6、加快開關(guān)機速度.bat
@echo off
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v AutoEndTasks /d 1 /t REG_SZ /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v HungAppTimeout /d 200 /t REG_SZ /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v MenuShowDelay /d 0 /t REG_SZ /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v WaitToKillAppTimeout /d 200 /t REG_SZ /f
reg add "HKEY_USERS\S-1-5-18\Control Panel\Desktop" /v AutoEndTasks /d 1 /t REG_SZ /f
reg add "HKEY_USERS\S-1-5-18\Control Panel\Desktop" /v HungAppTimeout /d 200 /t REG_SZ /f
reg add "HKEY_USERS\S-1-5-18\Control Panel\Desktop" /v MenuShowDelay /d 0 /t REG_SZ /f
reg add "HKEY_USERS\S-1-5-18\Control Panel\Desktop" /v WaitToKillAppTimeout /d 200 /t REG_SZ /f
reg add "HKEY_USERS\S-1-5-19\Control Panel\Desktop" /v AutoEndTasks /d 1 /t REG_SZ /f
reg add "HKEY_USERS\S-1-5-19\Control Panel\Desktop" /v HungAppTimeout /d 200 /t REG_SZ /f
reg add "HKEY_USERS\S-1-5-19\Control Panel\Desktop" /v MenuShowDelay /d 0 /t REG_SZ /f
reg add "HKEY_USERS\S-1-5-19\Control Panel\Desktop" /v WaitToKillAppTimeout /d 200 /t REG_SZ /f
reg add "HKEY_USERS\S-1-5-20\Control Panel\Desktop" /v AutoEndTasks /d 1 /t REG_SZ /f
reg add "HKEY_USERS\S-1-5-20\Control Panel\Desktop" /v HungAppTimeout /d 200 /t REG_SZ /f
reg add "HKEY_USERS\S-1-5-20\Control Panel\Desktop" /v MenuShowDelay /d 0 /t REG_SZ /f
reg add "HKEY_USERS\S-1-5-20\Control Panel\Desktop" /v WaitToKillAppTimeout /d 200 /t REG_SZ /f
reg add "HKEY_USERS\S-1-5-21-299502267-1580818891-725345543-1003\Control Panel\Desktop" /v AutoEndTasks /d 1 /t REG_SZ /f
reg add "HKEY_USERS\S-1-5-21-299502267-1580818891-725345543-1003\Control Panel\Desktop" /v HungAppTimeout /d 200 /t REG_SZ /f
reg add "HKEY_USERS\S-1-5-21-299502267-1580818891-725345543-1003\Control Panel\Desktop" /v MenuShowDelay /d 0 /t REG_SZ /f
reg add "HKEY_USERS\S-1-5-21-299502267-1580818891-725345543-1003\Control Panel\Desktop" /v WaitToKillAppTimeout /d 200 /t REG_SZ /f
echo
pause
7、清理啟動項、只保留輸入法.bat
@echo ....................................................................
@echo 幫你清理啟動項,在所有自啟動項目中,只留下ctfmon(即輸入法)
@echo ....................................................................
pause
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /va /f
reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /va /f
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /v ctfmon.exe /d %systemroot%\system32\ctfmon.exe
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg" /f
del "C:\Documents and Settings\All Users\「開始」菜單\程序\啟動\*.*" /q /f
del "C:\Documents and Settings\Default User\「開始」菜單\程序\啟動\*.*" /q /f
del "%userprofile%\「開始」菜單\程序\啟動\*.*" /q /f
start C:\WINDOWS\pchealth\helpctr\binaries\msconfig.exe
8、刪除正版驗證補丁.bat
@echo off
taskkill /im wgatray.exe /f
del c:\windows\system32\wgatray.exe /f
del c:\windows\system32\dllcache\wgatray.exe /f
reg delete "HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon\Notify\WgaLogon" /f
pause
9、修復(fù)右鍵菜單中的“新建文本文檔”菜單項.reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.txt]
@="txtfile"
"Content Type"="text/plain"
[HKEY_CLASSES_ROOT\.txt\ShellNew]
"NullFile"=""
[HKEY_CLASSES_ROOT\txtfile]
@="文本文檔"
[HKEY_CLASSES_ROOT\txtfile\shell]
[HKEY_CLASSES_ROOT\txtfile\shell\open]
[HKEY_CLASSES_ROOT\txtfile\shell\open\command]
@="NOTEPAD.EXE %1"
聯(lián)系客服