Advanced
Troubleshooting
Diagnosing common errors and viewing logs
If a migration fails, Profile Magician provides detailed logs to help identify the issue.
Log Locations
Logs are stored locally on the machine in:
C:\ProgramData\Profmage\Logs\
Inside this folder, you will find:
profmage.log: The main application log.file-permissions.log: Detailed record of every file ACL change.registry-permissions.log: Detailed record of every registry key change.appx.log: Logs from the AppX repair process.
If you used a cloud configuration (Job ID), these logs are automatically uploaded to the web portal.
Common Errors
"Access Denied" (Error 5)
- Cause: You are not running as Administrator.
- Fix: Right-click PowerShell and select Run as Administrator.
"Hive load error 32" (Sharing Violation)
- Cause: The old user is signed in and a process has locked their registry hive during the migration.
- Fix:
- Ensure the old user is fully signed out (not just locked).
- Reboot the machine.
- Profmage attempts to kill locking processes, but a reboot is the cleanest fix.
AppX Apps are broken / Start Menu doesn't open
- Cause: The AppX repair process was interrupted or failed.
- Fix:
- Log in as the new user.
- Open PowerShell as Administrator.
- Run the specific re-register command for the shell:
Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
Reporting Bugs
If you encounter a persistent issue, please export the logs from C:\ProgramData\Profmage\Logs\ and contact support.