Article ID: 113097, created on Jan 10, 2012, last review on May 9, 2014

  • Applies to:
  • Virtuozzo containers for Windows


In some cases, it is necessary to change the service startup mode to "manual" or even "disabled" in order to troubleshoot container startup or reboot issues.
This article describes how to change a container's service startup mode without starting the container.


To change the service startup mode inside a container, follow these steps:
1. Make sure the container in question is stopped.

2. Mount the container's private area and registry:
vzctl mount CTID

3. Open the registry editor:

4. Navigate to the "start" key in the container registry hive: HKLM\vzCTID\machine\system\currentcontrolset\services\SERVICE_NAME.

5. Change it to the required value (usually - 2,3,4 for non-kernel services):

0x0            Kernel    
0x1            I/O        
(System)       subsystem  

0x2            Service    
(Auto load)    Control    

0x3            Service    
(Load on       Control    
demand)        Manager    

0x4            Service    
(disabled)     Control    

For more details, refer to Microsoft KB#103000.

6. Start the container without umounting it.

965b49118115a610e93635d21c5694a8 d02f9caf3e11b191a38179103495106f 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF