QRK Product Docs
Usage

CLI Reference

Complete list of command-line arguments and flags

Core Migration Arguments

FlagDescription
--old-user <USER>The username of the source profile to migrate.
--new-user <USER>The username of the target account.
--all-usersEnable batch mode to migrate all discovered local profiles.
--csv <PATH>Path to a CSV file for mapping users in batch mode (old,new).
--old-domain <DOMAIN>Filter source profiles by their original domain (useful if multiple users have the same name).
--new-domain <DOMAIN>The target domain or WORKGROUP to join after migration.

Cloud & Configuration

FlagDescription
--job-id <UUID>The Job ID from the web portal. Fetches encrypted config.
--config-password <PASS>The password to decrypt the cloud config.
--license-key <KEY>Organization license key for standalone (non-Job) migrations.

Operations & Telemetry

FlagDescription
--reboot <SECONDS>Automatically reboot the machine after N seconds upon completion.
--default-userSet the primary migrated user as the default login user for the next boot.
--preserve-local-groupsPreserve source local group memberships for migrated users. Enabled by default.
--no-preserve-local-groupsDisable local group membership preservation for migrated users.
--send-telemetrySend machine status and profile data to the cloud portal (Standlone mode).
--print-telemetryPrint the gathered telemetry JSON to the console (debug).
--print-configDecrypt and print the Cloud Configuration JSON to the console (debug).

Resumability

Migration runs are resumable. If Profmage is interrupted, the domain is temporarily unreachable, or antivirus stops the client, rerun the same command with the same arguments and it will continue from the last completed step instead of starting over.

Internal Flags

FlagDescription
--appx-repairRuns the AppX repair logic (usually triggered by Active Setup).
--block-explorerUsed with repair mode to prevent Explorer from launching until repair is done.

On this page