Get Vista SP2 before its official release!
By Jal Desai | In: technology news, windows vista | Posted On October 27, 2008
Below is a simple hack to download Windows Vista Service Pack 2 through Windows Update before its official release by Microsoft. Open Notepad and paste the code below an save it as “Vista SP2.bat” (batch file). Alternatively, you can download the batch file here.
@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 ERRORMSG)
@echo.
echo ----------------------------------------------------------------------
echo Windows Vista SP2 registry key has been set successfully.
echo Now check for updates in Windows Update.
echo ----------------------------------------------------------------------
@echo.
goto END
:ERRORMSG
@echo.
echo ----------------------------------------------------------------------
echo FAILED to set Windows Vista SP2 registry keys.
echo Please run this script using Administrator Rights
goto END
:END
pause
Source: Neowin Forums