MCSE技术论坛

首页 » 微软基础架构 » Windows XP/Vista » 通过Windows Update将Vista更新至SP1
洛洛 - 2007-12-24 14:24:00
首先使用记事本编辑一个扩展名为sp1rc.cmd的命令行脚本,内容为:
@echo off
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
WindowsUpdate\VistaSp1 /f > NUL 2>&1
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\
WindowsUpdate\VistaSP1 /f > NUL 2>&1
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\VistaSp1 /v Beta1 /t REG_SZ /d 536ee5c2-e79d-420d-a589-c8ab115f35c3 /f
IF NOT %errorlevel% == 0 ( goto ERROR)
:SUCCESS
@echo.
echo ===========================================================
echo  Windows Vista SP1 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 SP1 registry keys.
echo  Please run this script by right clicking and selecting
echo  "Run as Administrator".
echo ===========================================================
@echo.
goto END
:END
Pause
保存后运行此脚本,然后通过运行Windows Update检查更新即可将您的Windows Vista更新至最新的Service Pack 1 RC。
fuck167 - 2008-1-15 12:04:00
向高手學習
1
查看完整版本: 通过Windows Update将Vista更新至SP1