Article ID: 113510, created on Mar 22, 2012, last review on May 8, 2014

  • Applies to:
  • Virtuozzo containers for Windows 4.6
  • Virtuozzo containers for Windows 4.5
  • Virtuozzo containers for Windows 4.0


When trying to use vzctl enter or vzctl exec, the following error is observed:
ERROR: Windows API function call 'CreateProcess' failed, code 0x422

C:\Users\Administrator>vzctl enter 301
ERROR: Windows API function call 'CreateProcess' failed, code 0x422 cmd.exe
Environment is not changed.
Command 'enter' is successfully finished


The service seclogon is not started inside the container.


If it is possible to connect to a container via RDP, enable seclogon startup and start the service.
  1. Connect to a container via RDP
  2. Enable seclogon service startup:
    sc config seclogon start= auto
  3. Start the service:
    sc start seclogon

If it is not possible to connect to a container via RDP, enable the service by editing the container's registry from the Hardware Node.
  1. Open the registry editor on the Hardware Node:
  2. Navigate to HKEY_LOCAL_MACHINE\vzCTID\MACHINE\SYSTEM\CurrentControlSet\services\seclogon
    NOTE: Replace CTID with the actual ID of the container
  3. Edit the Start value and set it to "1"
  4. Close the registry editor and restart the container

6c20476fe6c3408461ce38cbcab6d03b d02f9caf3e11b191a38179103495106f 965b49118115a610e93635d21c5694a8 28d0f7cc091e3b9304fa556c03f9a940 d09cb2230ee0cfa720ed0f2a3cc39452 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF