Starting and Stopping Container Services
Table of Contents
Starting Services
You can use the Windows Services Control Manager or the Administrative Console to start container services. You can also use the virtastart command utility.
When a service has successfully started, the container state is updated to "Started" in the Services tab of the Administrative Console.
A disabled service will be registered with the underlying operating system as "disabled" when you dock the container.
You must have the necessary rights to start services. By default, users with Administrator privileges are granted the necessary rights.
To Start a Container Service Using the Windows Services Control Manager
Click Start>Control Panel.
Double-click Administrative Tools.
Double-click Services.
In the Services window, select the service you want to start.
Click Start the Service.
To Start a Container Service Using the Administrative Console
In the Administrative Console, select the container.
Click the Dock command button to dock the container.
Click the Services tab.
Right-click the service you want to start, and then select Start or Restart to start the service again.
To Start a Container Service Using the CLI
At the command prompt, enter:
virtastart <container> <serviceName>
Where container is the full path of the container, and serviceName is the name of the service you want to start.
Stopping Services
You can remove a service from a container using the Windows Services Control Manager, the Administrative Console, or using the virtastop command utility.
To Stop a Container Service Using the Windows Services Control Manager
Click Start>Control Panel.
Double-click Administrative Tools.
Double-click Services.
In the Services window, select the service you want to stop.
Click Stop the Service.
To Stop a Container Service Using the Administrative Console
In the Administrative Console, select the container.
Click the Dock command button to dock the container.
Click the Services tab.
Right-click the service you want to start, and then select Stop.
To Stop a Container Service Using the CLI
At the command prompt, enter:
virtastop <container> <ServiceName>
Where
container
is the full path of the container, andServiceName
is the name of the service you want to stop.