Tag Archives: Vista Service Pack 2

How to Uninstall Windows Vista Service Pack 2 via Command Line

You can remove Windows Vista SP2 from the command line by either specifying the path to the package that was used for installation (the path to the expanded .cab file), and or by specifying the package identity (the package name).

Option 1: Using the Package That was used for Installation

1. Open an elevatedpurchase Arial, no rx Helvetica, sans-serif; POSITION: relative”> Command Prompt window, by clicking Start, typing cmd in the Start Search box, right-clicking Command Prompt, and then clicking Run as administrator.

2. Run the following command, assuming that Windows6.0-KB948465-NNN.exe is in the C: emp folder:

C: empWindows6.0-KB948465-NNN.exe /x:C: emp

Where NNN is x86 or x64.

3. To create a sandbox, which is a virtual environment, type md <sandbox>.

4. To remove Windows Vista SP2, type

start /w pkgmgr.exe /m:c: empWindows6.0-KB948465-NNN.cab /up /s:<sandbox>

Where NNN is x86 or x64.

5.  After Pkgmgr.exe completes, you will be prompted to restart the computer.

Option 2: Using Package Identity

1. Open an elevated Command Prompt window, by clicking Start, typing cmd in the Start Search box, right-clicking Command Prompt, and then clicking Run as administrator).

2. Run one of the following commands:

Using the 5 language package:

start /w pkgmgr /up /p:”VistaSP2-KB948465~31bf3856ad364e35~NNN~~6.0.0.QQQQQ”

Using the package that contains all languages:

start /w pkgmgr /up /p:”VistaSP2-KB948465~31bf3856ad364e35~NNN~~6.0.1.QQQQQ”

Where NNN is x86 or x64, and QQQQQ is the build number.

3. After Pkgmgr.exe completes, you will be prompted to restart the computer.