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.
Table of Contents
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 hour since the last time the PowerSyncPro Migration Agent was started
- If you use the tray application to check for runbooks or start a migration.
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 for immediate migration. Alternatively the user can use the try application to check for runbooks, or the Migration Agent will communicate with the server within 1 hour.
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. You will need to be able to access to access the PowerSyncPro server throughout the migration of the workstation, so ensure you are able to do this even during device state changes, where an interim state might be WORKGROUP joined.
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.
You can also look at “Fail Communications” to see any error messages related to the device.
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.
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 amount 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.