Skip to content

Can't import Macrium ReflextX license #181

Closed

Description

@JonRFleming

Checklist

Report

MacriumReflectX.script "Import License from Host" doesn't work. The license is in HKCU not HKLM. Correct code:

// Product Registration
If,%cmb_RegMethod%,Equal,"Trial License",RegWrite,HKLM,REG_SZ,"Tmp_Default\Software\Macrium\reflect","License",""
Else,If,%cmb_RegMethod%,Equal,"Import License From Host",Begin
If,ExistRegKey,HKCU,"Software\Macrium\reflect","License",Begin,
RegRead,HKCU,"Software\Macrium\reflect","License",%TempValue%
RegWrite,HKLM,REG_SZ,"Tmp_Default\Software\Macrium\reflect","License",%TempValue%
RegRead,HKLM,"Software\Macrium\reflect","Licensee",%TempValue%
RegWrite,HKLM,REG_SZ,"Tmp_Software\Macrium\reflect","Licensee",%TempValue%
End
Else,Echo,"ERROR: Could not retrieve the license key from the host system. The software will run in Trial mode.",Warn
End
Else,Begin
If,%txt_LicKey%,Equal,"",Echo,"ERROR: A valid license key was not entered. The software will run in Trial mode.",Warn
Else,RegWrite,HKLM,REG_SZ,"Tmp_Default\Software\Macrium\Reflect","License",%txt_LicKey%
End

Activity

  1. JonRFleming commented on Feb 1, 2026

    @JonRFleming
    Author
    Image
  2. homes32 commented on Feb 1, 2026

    @homes32
    Contributor

    That actually seems very odd. A system level backup program suddenly placing the license key in the user hive? That would ensure that any automated backups (services use HKLM) would never see a registered instance, as well as making the program only able to be used by the logged in user that registered the software.

    Did you install for the entire system or just for the current user (installed in %appdata%)?

    I could check HKCU as a fallback if a license isn't found in HKLM. I just haven't seen this behavior before with this software.

  3. fgaifen commented on Feb 1, 2026

    @fgaifen

    @homes32
    For example "R-studio" and "r-drive image" stores license in hkcu....

  4. JonRFleming commented on Feb 2, 2026

    @JonRFleming
    Author

    I don't remember if I installed for the user or the system. There's no Macrium entry in %appdata%

    There's license information in HKLM, but copying it doesn't register it in PE.

    Image
  5. homes32 commented on Mar 27, 2026

    @homes32
    Contributor

    Updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions