US English (US)
GB English (UK)

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Create ticket
English (US)
US English (US)
GB English (UK)
  • Home

Migration Agent is not starting or registering on a device

Learn how to troubleshoot why the Migration Agent is not launching properly on your device and potential solutions to fix the issue.

Written by Neil Langston

Updated at June 27th, 2024

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Getting Started
  • FAQs
  • API Documentation
  • Integrations
  • Migration Agent
  • Directory Synchronisation
  • Remote DC agent
  • Remote Password Sync Agent
+ More

Table of Contents

Event viewer & agent reporting Internet access or access to the PowerSyncPro server from the device. Certificate on the device. UTC Time or local time. Device not assigned to a batch Runbook has already completed on the device. Ensure the device has registered Licensing PreSharedKey (PSK) and Server URL Silent Runbook or dependencies not complete User has utilised the grace period option. Servers excluded The Migration Agent is running long operations Failed Communications - Agent not registered.

 

Event viewer & agent reporting

Application Event viewer is your friend here, look for any errors, problems are likely to be there on the device.

Within the server navigation in Migration Agent, use the reports section to review where there might be problems

  • “Agents”: Is the device registered
  • “Agent logs”: see granular information on the progress of the device, most events will appear here.
  • “Failed communication”: for any other telemetry errors.

 

 

Internet access or access to the PowerSyncPro server from the device.

Whilst the Migration Agent on the device downloads the runbooks in advance in preparation for your migration event, the Migration Agent queries the server over the internet under three conditions:

  • When the computer starts or the PowerSyncPro Migration Agent service is restarted.
  • Every 24hrs since the last time the PowerSyncPro Migration Agent was started

and most importantly.

  • At the time when the runbook is due to run, or immediately if that is in the past, PowerSyncPro Migration Agent verifies with the server the device is still in scope before running.

If you have only just assigned the machine to a runbook, then you will need to restart the PowerSyncPro Migration Agent service on the device due to the agent checking the server once every 24hrs.

 

 

Certificate on the device.

Navigate to the PSP server from the browser on your device ensure you're able to reach the site and there are no certificate problems with the website.

  • https://powersyncpro.contoso.com/agent
  • http://powersyncpro.contoso.com:5000/agent

 

 

UTC Time or local time.

Verify the time on the appropriate batch is correct for the device time.

 

 

Device not assigned to a batch

A machine will only start the migration if it has been correctly assigned to a batch. 

If you think it has been assigned correctly check event viewer on the device to see if runbooks have been received.

Furthermore, the Migration Agent checks the server every 24hrs, so you many want to restart the service to force it to start.

 

 

Runbook has already completed on the device.

If you want a runbook to run on a device once more, you will need to delete them from the ProgramData folder on the device.

You will find the runbook IDs here

C:\ProgramData\Declaration Software\Migration Agent

Once you have deleted the runbooks, restart the agent service so it will immediate retrieve the in scope runbooks once more.

 

 

Ensure the device has registered

On the PowerSyncPro server, navigate to Migration agent > Agents, and search for the device.

If the device isn't registered on the server, on the device check the agent is installed and if there are any errors in event viewer. 

 

 

Licensing

If you are not licensed for the domain that the machine is on. Check event viewer.

Contact sales.

 

 

PreSharedKey (PSK) and Server URL

Sometimes the wrong PSK or Server URL is entered into the installation GUI or command line of the PowerSyncPro Migration Agent installation. You should check the event viewer to see if there are any issues reported by PowerSyncPro on the device.

The server URL is typically something like the following fictional servers depending on your setup.

  • https://powersyncpro.contoso.com/agent
  • http://powersyncpro.contoso.com:5000/agent

 

 

Silent Runbook or dependencies not complete

Sometimes the runbook may have been chosen to be silent, or the dependencies have not completed.

In the case of offline domain join, the user may not have entered their credentials, you you may have to wait until the prompt appears again.

 

 

User has utilised the grace period option.

It is possible the user had delayed their migration when they received the popup, which is configurable in the batch. Check event viewer

 

 

Servers excluded

If you're migrating a server, check the runbook is enabled for servers.

 

 

The Migration Agent is running long operations

Some machines may have a considerable about of data, therefore updating permissions could take a very long time. We've seen this on non-SSD machines, and especially servers with large amounts of file data.

 

Furthermore, at a kiosk or shared machines, if there are lots of user profiles, there is a considerable amount of time required to go through all those and perform repermissioning. 

 

 

Failed Communications - Agent not registered.

“Failed to complete initial register call: Machine not found” found in event viewer on the device.

This will typically happen if the sync profile does not have devices selected for the AD domain where the device is located, or the sync profile has not run/synchronised since the device was added into AD.

The agent uses the fibonacci sequence to re-try to register in minutes, 1, 1, 2, 3, 5, 8, 13, 21, 34 etc until the service is restarted.

If you try and add the device to a batch, and it is missing, then DirSync hasn't ingested the device yet.

 

 

 

 

 

 

initiate migration

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • "Is not null" and "is not empty" not working as expected.
  • SMTP entries do not flow

Subscribe to Newsletter

Drop your email in the box below to sign up. We promise to keep our updates relevant and useful – and we’ll never share your details.

PowerSyncPro is the ultimate product for easing the pain and frustration during mergers, acquisitions, divestitures, and consolidations.

Terms & Conditions

  • FAQs
  • Privacy Policy
  • Cookies
  • Anti Slavery Notice

PowerSyncPro

  • Case Studies
  • Contact sales
  • Meet the Team
  • EULA

Get Connected

Room 73, Wrest House, Wrest Park, Silsoe, Bedford, England, MK45 4HR
info@powersyncpro.com

Twitter Youtube Linkedin

Knowledge Base Software powered by Helpjuice

Expand