Event ID 2002 — Psxrun Availability

Applies To: Windows Server 2008 R2

Subsystem for UNIX-based Applications (SUA) Psxrun Availability indicates the ability of the Psxrun utility to start and run SUA processes.

Problems that can occur with Psxrun Availability include API call failures, incorrect path names or command line parameters, and low virtual memory.

Event Details

Product: Windows Subsystem for UNIX-based Applications
ID: 2002
Source: Microsoft-Windows-SUA-Psxrun
Version: 6.0
Message: psxrun: unknown flag %1. Enter -h in a command shell for the complete Help message.


Check command-line parameters

Psxrun was started with incorrect command-line arguments. The following shows the correct syntax for starting a service by using the service command.

service startservice_name

For more information about running services in Subsystem for UNIX-based Applications, see the Help included with the Utilities and Software Development Kit (SDK) for Subsystem for UNIX-based Applications download package, available from the Microsoft Web site (https://go.microsoft.com/fwlink/?linkid=67558).


Because multiple instances of Psxrun can be running at once, it is best to verify Psxrun in Windows Task Manager not by checking on a particular instance of Psxrun, but by verifying that the specific POSIX process or application launched by using Psxrun is running.

To verify that Psxrun is running:

  1. Open Windows Task Manager by pressing CTRL+ALT+DEL, and then clicking Start Task Manager.
  2. On the Processes tab, select the Show processes from all users check box.
  3. Verify that a specific POSIX process you have started by using Subsystem for UNIX-based Applications is running.

If the POSIX application or process that has been launched by using Psxrun is indicated as running in Task Manager, then Psxrun is fully available. If the process is not running, critical errors are preventing Psxrun from being available.

Psxrun Availability

Subsystem for UNIX-based Applications