L'installation se fait depuis Windows Update mais il est avant tout nécessaire de patcher la base de registre pour accéder au téléchargement de la bêta. Pour cela, recopiez le texte suivant dans un fichier toto.bat, mais vous pouvez remplacer toto par tata, ou même tutu, soyons folles, et exécutez le fichier Batch. Le SP2 apparaîtra alors comme une mise à jour.
(Notez que si vous ne savez pas ce qu'est un fichier.bat, il vous suffit de créer un fichier toto.txt, de copier le texte ci-dessous à l'intérieur, de sauvegarder et de renommer ensuite le toto.txt en toto.bat)
@echo off
reg delete HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateVistaSP2 /f > NUL 2>&1
reg delete HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionWindowsUpdateVistaSP2 /f > NUL 2>&1
reg add HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateVistaSP2 /v Beta1 /t REG_SZ /d 93F7D954-DF91-22E6-99AB-4D8AF54E813A /f
IF NOT %errorlevel% == 0 ( goto ERROR)
:SUCCESS
@echo.
echo ===========================================================
echo Windows Server 2008 SP2 Beta and Windows Vista SP2 Beta
echo registry key has been set successfully.
echo If you start SP2 installation, Microsoft will collect
echo information online about the installation process.
echo To install SP2 please check for updates in Windows Update.
echo ===========================================================
@echo.
goto END
:ERROR
@echo.
echo ===========================================================
echo FAILED to set Windows Server/Vista SP2 registry keys.
echo Please run this script by right clicking and selecting
echo "Run as Administrator".
echo ===========================================================
@echo.
goto END
:END
pause
» Aller au forum