Hi,
With Lansweeper, you can run any deployment package after scanning.
You can do this by creating a deployment schedule, and select the "After scanning" option there.
This allows you to run any batch file or script.
For the actual script, to migrate the users, we can't provide specific tips I'm afraid. This is a bit outside of our scope.