janvier 2013 (2)

mercredi, janvier 30 2013

Ecran noire au démarrage de windows XP.

  • - Download Recovery Console CD from this ticket and Unzip. Burn the .iso file using CD burning software (www.imgburn.com, is a freeware cd burner software. if you don't already have one)
  • - Insert Recovery Console CD and Restart PC
  • - When Dell Boot Logo Appears PRESS F12
  • - Select CD-Drive, press enter
  • - Once recovery console loads (may take 1-2 mins), Press "R" to launch into recovery console (Blue Windows screen, second option)
  • - Select which drive has the windows installation, Probably just "1" for one hard-drive installed. press enter key ( Black Windows command prompt)
  • - password should be blank, just press enter key
  • - when you see "c:\windows\" type the following "cd system32\config" and press enter (Cursor does not flash at this point)
  • - (optional) you can type "DIR" to see a list of the files within this directory if you like.
  • - Type "Rename default defaultBACKUP" and press enter, this will change the "default" file to a "defaultBACKUP"
  • - Type "exit" and press enter, this will restart the PC.
  • - You may now remove the recovery console CD, and the Slow Bootup time should be resolved.
  • - Once back in windows, Run the Registry Edit file that has been attached to this ticket to stop the issue from re-occuring in the future.

lundi, janvier 28 2013

Intégration du service pack 2 dans SQL Server 2008 R2 (Slipstream)

Après avoir passé pas mal de temps a trouver une procédure qui fonctionne je vous la détail ici :

1. Télécharger SQL Server 2008 R2 SP2 ici. Il faut télécharger toutes les architectures (IA64, x64, x86) même si on ne les utilisent pas.

SQLServer2008R2SP2-KB2630458-IA64-ENU.exe
SQLServer2008R2SP2-KB2630458-x64-ENU.exe
SQLServer2008R2SP2-KB2630458-x86-ENU.exe

2. Copier le contenu du DVD original de SQL Server 2008 R2 dans un repertoir (exemple: SQL2008R2_SP2), j'ai utilisé la lettre D avec un chemin en D:\SQL2008R2_SP2.

3. Il faut maintenant extraire le contenu du package SP2 et le copier dans un dossier SP vers votre source. (Ci dessous un script pour le faire)

SQLServer2008R2SP2-KB2630458-IA64-ENU.exe /x:d:\SQL2008R2_SP2\SP
SQLServer2008R2SP2-KB2630458-x64-ENU.exe /x:d:\SQL2008R2_SP2\SP
SQLServer2008R2SP2-KB2630458-x86-ENU.exe /x:d:\SQL2008R2_SP2\SP

4. Remplacer le fichier setup.exe de la source par la version du dossier SP2 :

robocopy D:\SQL2008R2_SP2\SP D:\SQL2008R2_SP2 Setup.exe

5. Copier tous les fichiers mais pas les dossiers à l’exception de Microsoft.SQL.Chainer.PackageData.dll (Pour celui ci conserver la version original).

robocopy D:\SQL2008R2_SP2\SP\x86 D:\SQL2008R2_SP2\x86 /XF Microsoft.SQL.Chainer.PackageData.dll
robocopy D:\SQL2008R2_SP2\SP\x64 D:\SQL2008R2_SP2\x64 /XF Microsoft.SQL.Chainer.PackageData.dll
robocopy D:\SQL2008R2_SP2\SP\ia64 D:\SQL2008R2_SP2\ia64 /XF Microsoft.SQL.Chainer.PackageData.dll

6. Pour préciser à l'installeur ou trouver il fichier du services pack il faut editer le fichier DefaultSetup.ini. Il se trouve dans D:\SQL2008R2_SP2\x86, x64 et ia64. Ajouter la ligne suivante a la fin de chaque fichier:

PCUSOURCE=".\SP"

6.1 Si le fichier n'existe pas, créer DefaultSetup.ini dans chaque dossier X86, X64 et ia64 avec ce contenu :

;SQLSERVER2008 R2 Configuration File
SQLSERVER2008
PCUSOURCE=".\SP"

7. La procédure de fusion est terminer. lancer Setup.exe normalement pour exécuter l’installation de SQL Server 2008 R2 avec SP2.

Si vous rencontrez une erreur lors de l'execution de la version 64bits, pour devez renomer le fichier sqlncli.msi dans \SP\1033_ENU_LP\x64\setup\x64 en sqlncli_amd64.msi.