top123763
資深會員
積分 3565
發文 296
註冊 2006-5-5
狀態 離線
|
#1 〔技巧〕修改注冊表 提前更新到Vista SP2
修改注冊表 提前更新到Vista SP2
不僅僅是測試者,其實您也可以提前更新到SP2的Pre-Beta版本,方法和之前SP1的提前更新一模一樣:修改注冊表.
只要把以下代碼寫成任意名字的.bat批處理文件,就可以在自動更新里面就可以看到SP2.
@echo off
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\VistaSp2 /f > NUL 2>&1
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\ Windows\CurrentVersion\WindowsUpdate\VistaSP2 /f > NUL 2>&1
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\VistaSp2 /v Beta1 /t REG_SZ /d C21A5C64-2530-CC19-042F-9ABDB4ED27F9 /f
IF NOT %errorlevel% == 0 ( goto ERROR)
:SUCCESS
@echo.
echo ================================================== =========
echo Windows Vista SP2 registry key has been set successfully.
echo Please check for updates in Windows Update.
echo ================================================== =========
@echo.
goto END
:ERROR
@echo.
echo ================================================== =========
echo FAILED to set Windows Vista SP2 registry keys.
echo Please run this script by right clicking and selecting
echo "Run as Administrator".
echo ================================================== =========
@echo.
goto END
:END
pause
|
要放這張才行吶
|
|