NiceLabel Automation Service and/or NiceLabel Print Service don't start

Problem

You have successfully installed NiceLabel Automation on your computer, but the services NiceLabel Automation Service and NiceLabel Automation Proxy Service fail to start.

Problem 1

If you manually try to start the service in the Services console, you might receive the error message:

Windows could not start the NiceLabel Automation Service service on Local Computer.
Error 1068: The dependency service or group failed to start.

or

Error 1053: The service did not respond to the start or control request in a timely fashion
Problem 2

When starting NiceLabel Automation Service and/or NiceLabel Print Service, you get the error:

Windows could not start the NiceLabel Automation Service on Local Computer.

Error 1075: The dependency service does not exist or has been marked for deletion.

or

Windows could not start the NiceLabel Print Service on Local Computer.

Error 1075: The dependency service does not exist or has been marked for deletion.

43_dependency.png

Solution

Solution 1

The problem is related to the user permissions of the user account you selected for NiceLabel Automation service. Every Windows service runs under a specific user account.

If you selected Local System account (or some account with limited user rights) during the installation, this account is not granted with permission to log on as NiceLabel Automation Service and it fails to start. The service will log the problem in the Event Viewer, where you will see all details about the problem and possible solution.

The NiceLabelAutomationProxyService service was unable to log on as DOMAIN\user with the currently configured password due to the following error: 
Logon failure: the user has not been granted the requested logon type at this computer.
 
This service account does not have the required user right "Log on as a service."
The LoftwarAutomationProxyService service was unable to log on as DOMAIN\user with the currently configured password due to the following error: 
Logon failure: the user has not been granted the requested logon type at this computer.
 
This service account does not have the required user right "Log on as a service."

First, try to change NiceLabel Automation Service user. Go to Services > NiceLabel Automation Service 10 > Log On tab. Select a user with administrative privileges in This account section.

16_automation_service.png

If there are no users with rights to run NiceLabel Automation Service, add the rights to the user you want to run Automation.

Note

This option is not available in the Windows Home edition.

kb258.jpg
  1. Click the Start icon (or press Windows key on the keyboard).

  2. Type in secpol.msc. While you are typing the applications and document matching the string will display as search results.

  3. Start the application Local Security Policy.

  4. Expand Local Policies.

  5. Select User Rights Assignment.

  6. In the right-hand pane, search for the policy Log on as service.

  7. Double click this policy to open its properties.

  8. Click on Add User or Group.

  9. Add the user that you have selected for NiceLabel Automation service.

  10. Click OK to confirm changes in all dialog boxes.

The selected user has been granted the "log on as service" permission.

Solution 2

The issue occurs because the DependOnService registry key is corrupted.

To fix the registry key:

  1. Open Registry Editor.

  2. Navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NiceLabelAutomationService10.

  3. Edit the key and remove all characters after NiceLabelProxyService10.

    44_depenency2.png
  4. Open the Services console and restart the service NiceLabel Proxy Service10.

    45_proxy_restart.png