Unable to execute Migrator batch file (MigrateEnforce.bat) on Windows
book
Article ID: 271983
calendar_today
Updated On:
Products
Data Loss PreventionData Loss Prevention Enforce
Issue/Introduction
When you try to execute MigrateEnforce.bat using CMD (levered to Administrator rights) you face error ‘reg’ is not recognized as an internal or external command and migration is aborted.
Environment
Release : 15.8, 16.0
Cause
Lack of path to System32 folder in System Environment Variables
Resolution
Find My Computer and right click on it.
Click in the Advanced system settings.
Then on Advanced tab click the button Environment Variables.
Search for Path variable in the System variables window, choose it and click Edit.
Add C:\Windows\System32\ separated from the previous paths values with semicolon