Deployment errors
Learn how to identify and resolve common errors when deploying UserLock agents.
When deploying UserLock agents from the console, you may encounter specific error codes indicating connectivity or configuration issues.
This page lists the most frequent deployment errors, explains their causes, and describes how to fix them.
Before troubleshooting a specific error, always verify these basic requirements:
✅️ The target machine runs a supported operating system.
✅️ ICMP (ping) is allowed in both directions between the UserLock server and the target machine.
✅️ File and Printer Sharing (SMB TCP 445) is allowed in both directions.
✅️ The Remote Registry service is enabled and started on the protected machines.
For easier maintenance, we recommend enforcing these requirements with Group Policies rather than local configuration.
Unable to resolve the computer name [Machine name]
UserLock cannot find the machine associated with the Active Directory account, often due to DNS issues or the computer being offline.
Verify that the computer account exists and that the machine is online.
If the machine has been powered off for a while, turn it on and try again after a few minutes.
Check your DNS server configuration and look for warnings or errors in the Windows Event Log.
Redeploy the agent from the console.
Unable to ping the computer [Machine Name]
The server cannot reach the machine using the ICMP protocol.
Verify that the machine is online and still present in Active Directory.
Check that firewalls on both ends allow ICMP (ping).
In Windows Firewall, click Allow an app or feature through Windows Firewall, then enable File and Printer Sharing for the Domain network.
This automatically allows both ICMP and SMB protocols.
For improved security, configure this setting using Group Policy and restrict allowed IP addresses to your UserLock server.
See also: Configure firewall rules with Group Policy.
Failed to contact the computer [Machine Name] with the File and Printer Sharing protocol (SMB TCP 445)
The File and Printer Sharing protocol or related Windows services are not available on the target machine.
Verify File and Printer Sharing component
Open Network and Sharing Center → Change adapter settings.
Double-click your active network adapter → Properties.
Ensure File and Printer Sharing for Microsoft Networks is listed and checked.
If missing, click Install → Service → Add → File and Printer Sharing for Microsoft Networks, then enable it.
Check the Server service
Open Services.msc.
Locate Server service → Set Startup Type to Automatic and start it.
Check the firewall
Ensure SMB (TCP 445) is allowed.
In Windows Firewall, enable File and Printer Sharing for the domain profile.
For security, apply this through Group Policy with restricted IP scope.
Then try redeploying the agent.
Failed to connect to [Machine Name] registry
The Remote Registry service is disabled on the target machine.
UserLock can automatically enable and start the Remote Registry service when deploying agents.
In the deployment result window, click Fix it for me.
You can disable this automatic repair under Server Settings → Agent distribution if you prefer manual control.
Open Services.msc on the target machine.
Locate Remote Registry → Set Startup Type to Automatic.
Click Start, then OK.
Redeploy the agent.
This setting can also be enforced with a Group Policy.
Note
If you don’t want to deploy the Desktop Agent through the UserLock console, MSI packages are available for deployment using a third-party solution or Microsoft Group Policies.
You can enforce this configuration via Group Policy.
The impersonation account registered is invalid or doesn't have the administrative rights on [Machine name]
The account used for deployment either has an incorrect password or lacks administrative privileges on the target machine.
Check impersonation account password
Go to Server Settings → Service → Service impersonation.
If the password is invalid, a red warning message appears.
Update the password and let UserLock validate the credentials automatically.
Once validated, redeploy the agent.
Check impersonation account privileges
The account must be a local administrator on all target machines.
Update the credentials if necessary and rerun the validation.
If the validation fails, correct the credentials and repeat the process.
Failed to copy the agent file on %WorkstationName% from %source% to %destination% (Error=0x0035).
The administrative share ADMIN$ is disabled on the target machine.
Open the registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\ParametersSet the following values to
1(typeREG_DWORD):AutoShareWksAutoShareServer
Restart the computer and try again.
You can enforce this configuration via Group Policy.
You see warnings such as 3034: MRxSmb or 4: Security-Kerberos in the System event log of your UserLock server.
This is not a UserLock issue. It happens when the deployer contacts an obsolete workstation entry in Active Directory, whose IP is reused by another machine.
Clean up obsolete (“ghost”) computers from Active Directory.
As a temporary workaround:
Open the UserLock console
Go to Server Settings → Advanced settings → General.
Set Check IP conflict to
True.This hides the warning but does not solve the root cause.