How to Uninstall Windows Vista Service Pack 2 via Command Line

by Jyoti on June 14, 2009

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), or by specifying the package identity (the package name).

Option 1: Using the Package That was used for Installation

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 the following command, assuming that Windows6.0-KB948465-NNN.exe is in the C:\temp folder:

C:\temp\Windows6.0-KB948465-NNN.exe /x:C:\temp

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:\temp\Windows6.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.

Share :
  • Digg
  • StumbleUpon
  • Sphinn
  • del.icio.us
  • Facebook
  • Google
  • De.lirio.us
  • description
  • Fleck
  • Live
  • Technorati
  • description

{ 1 comment… read it below or add one }

arab sex March 20, 2011 at 12:04 am

zsim qixll erotica sqmdsk t sn p jvr

eqlo skebz [URL=http://www.pronosearch.com – porno videos[/URL – rqvoeu n gn g vce

Leave a Comment

Previous post:

Next post: