You can read the full tutorial here
http://support.microsoft.com/kb/948537Uninstall Windows Vista service pack from a Command PromptNote If you have used the Disk Cleanup Wizard, it may have removed some temporary installation files which are needed to uninstall the Windows Vista service pack. If this is the case, this method may not work for you and you should go to method 2.
This section is intended for advanced users. Use this method if you are running the prerelease version of a Windows Vista service pack, or if you cannot see the uninstall option for a Windows Vista service pack listed in the Program and Features window. If you cannot see the uninstall option for the Windows Vista service pack, you may still be able to uninstall the service pack at a command prompt. To do this, follow these steps:
1. Open an elevated Command Prompt window. To do this, click
Start the Start button
, type
command in the
Start Search box, right-click
CommandPrompt, and then click
Run as administrator. 2. Run the following command, as appropriate for the version of the Windows Vista service that you want to uninstall:
* For Windows Vista Service Pack 1:
C:\temp\Windows6.0-KB936330-X86.exe /x:C:\temp Note This command assumes that the Windows6.0-KB936330.exe folder is in the C:\Temp folder
* For Windows Vista Service Pack 2:
C:\temp\Windows6.0-KB948465-NNN.exe /x:C:\temp In this command, NNN represents x86, x64, or IA-64.
Note This command assumes that the Windows6.0-KB948465-X86.exe folder is in the C:\Temp folder.
3. You have to create a sandbox environment before you can continue to step 4. This helps you safely run an untrusted program. To create a sandbox, type
md sandbox. 4. To remove the Windows Vista service pack, type, or copy and paste the following command, as appropriate for the version of the Windows Vista service that you want to uninstall::
* For Windows Vista Service Pack 1
start /w pkgmgr.exe /m:c:\temp\Windows6.0-KB936330-X86.cab /up /s:sandbox * For Windows Vista Service Pack 2
start /w pkgmgr.exe /m:c:\temp\Windows6.0-KB948465-NNN.cab /up /s:sandbox. In this command, NNN represents x86, x64, or IA-64.
5. After Pkgmgr.exe finishes, you are prompted to restart the computer to complete the uninstall process.
If these steps successfully uninstall the Windows Vista service pack, and this resolves the issue, you are finished. If these steps do not uninstall the Windows Vista service pack, or if these steps uninstall the service pack but do not resolve your issue, you will have to restore the system to a previous state.