Help and Support

Article ID: 949472 - Last Review: March 20, 2008 - Revision: 1.0

Error message when you use the Windows Vista SP1 Files Removal tool (Vsp1cln.exe) together with the "/?" or "/h" command-line option: "The parameter is incorrect"

Expand all | Collapse all
Beta Information
This article discusses a beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice.

No formal product support is available from Microsoft for this beta product. For information about how to obtain support for a beta release, see the documentation that is included with the beta product files, or check the Web location where you downloaded the release.

SYMPTOMS

Consider the following scenario:
  • You are running a Windows Vista Service Pack 1 (SP1)-based computer.
  • You use the Windows Vista SP1 Files Removal tool (Vsp1cln.exe) together with one of the following command-line options:
    • /?
    • /h
In this scenario, you receive the following error message:
The parameter is incorrect.
Additionally, when you type echo %errorlevel% at a command prompt, the value of the ERRORLEVEL environment variable is returned as -2147024809.

CAUSE

This problem occurs because the resource files that the Vsp1cln.exe tool uses do not contain strings in the tool's string table to support these two command-line options.

MORE INFORMATION

You can use the Vsp1cln.exe tool to uninstall the files that are archived after you apply Windows Vista SP1. When you install Windows Vista SP1, the disk space that is used by the operating system increases. This extra disk space is used to archive files so that Windows Vista SP1 can be uninstalled if this is ever necessary. Typically, you should run the Vsp1cln.exe tool if you want to reclaim this disk space after you apply Windows Vista SP1, but only after you have decided that you do not intend to uninstall this service pack.

Note You cannot uninstall Windows Vista SP1 after you run this tool on an image.

As soon as you run the Vsp1cln.exe tool, the Windows Vista SP1 package no longer appears in the Installed Updates list under Programs and Features in Control Panel. This tool works only with Windows Vista SP1, and it can be used online or offline.

Make sure that you use the correct version of this tool. For example, if you are running the Vsp1cln.exe tool on an offline image, use the version of the tool that is included in the Windows Automated Installation Kit (Windows AIK) or in the Windows OEM Preinstall Kit (Windows OPK). If you are running the Vsp1cln.exe tool online (on a computer that you log on to), make sure that you use the version of the tool that is located in the %windir%\system32\vsp1cln.exe directory. Then, delete all files in the %windir%\system32\config\txr directory. To do this, follow these steps:
  1. Restart the computer.
  2. Click Start, type cmd in the Start Search box, right-click cmd.exe in the Programs list, click Run as administrator, and then click Continue.
  3. At the command prompt, type the following commands. Press ENTER after each command.

    cd /d %windir%\system32\config\txr
    attrib -r -s -h *
    del *
The following command-line options are available for the Vsp1cln.exe tool.
Collapse this tableExpand this table
OptionDescription
/o:Offline_Windows_directory_pathIndicates that the archived resource files that must be uninstalled are in an offline image.
/quiet Runs in quiet mode. No console output is provided.
If this option is not used, you will be prompted by a confirmation message.
/verbose Provides additional diagnostics output.
Note These command-line options are not case-sensitive.

APPLIES TO
  • Windows Vista Service Pack 1, when used with:
    • Windows Vista Business
    • Windows Vista Enterprise
    • Windows Vista Home Basic
    • Windows Vista Home Premium
    • Windows Vista Ultimate
    • Windows Vista Business 64-bit Edition
    • Windows Vista Enterprise 64-bit Edition
    • Windows Vista Home Basic 64-bit Edition
    • Windows Vista Home Premium 64-bit Edition
    • Windows Vista Ultimate 64-bit Edition
Keywords: 
kbexpertiseinter kbtshoot kbprb KB949472

Article Translations

 

Related Support Centers