Help Center/ Server Migration Service/ FAQs/ Disk Management/ How Do I Exclude a Partition from Migration in Windows?
Updated on 2024-11-29 GMT+08:00

How Do I Exclude a Partition from Migration in Windows?

Procedure

  1. Go to the Agent configuration directory on the source server.

    • Agent (Python 3)

      C:\SMS-Agent-Py3\config

    • Agent (Python 2)

      C:\SMS-Agent-Py2\config

  2. Modify the disk.cfg file as follows and save it.

    [vol_mount_modify]
    D = -1

    D = -1 indicates that disk D will not be migrated.

  3. Restart the Agent. You will see that disk D is not displayed in the source server details. If drive D is still displayed in the source server details, delete the source server record on the SMS console and register the source server with SMS again.

    This method is only suitable for exclusion before the migration, because restarting the Agent during the migration will cause a migration failure.