How to Move Your Keyboard Macros to a New Windows PC

Quick answer

Export from every tool on the old PC, install the same tool versions on the new one, import, and test one macro of each type before you wipe the old machine. Keep the old PC untouched for a week.

At a glance
Applies toWindows 10 and Windows 11
Time needed30 to 45 minutes
DifficultyEasy to moderate
CostFree
Admin or internetNo admin for copying; internet only to download installers
Last verifiedNovember 2026

NewSoftwares.net editorial teamLast verified: November 2026

Parallel blue lines converge into an arrowhead with a red tip

01 // BEFORE YOU WIPE

Part of our guide to how to back up and share keyboard macros. The short version of this job sits in the backing up and sharing section.

What to Export From the Old PC Before You Wipe It

Moving macros to a new Windows PC means exporting from every tool that holds them, one tool at a time, before the old machine is reset. Missing a single tool is the usual cause of a macro that vanishes after the move.

What to copy from each tool
ToolCopy thisThen
Macro program with an Export commandThe exported fileNote the program version beside it
AutoHotkeyEvery .ahk file, including included filesNote whether the scripts target v1 or v2
PowerToysA Back up & restore backupInstall the same PowerToys release on the new PC
Windows Shortcut key fieldThe .lnk shortcut filesCheck that each target path exists on the new PC
Macro pad softwareThe vendor profile exportInstall the same app generation
Four stages of moving macros between PCsOLD PCExportEvery toolTRANSFERCarryTwo copiesNEW PCImportSame versionsPROOFTestOne of each

Match Tool Versions Before You Import

Install the same tool version on the new PC as the one that wrote the file, because export files can be tied to an app generation. Razer’s support article on exporting and importing macros says Synapse 3 macro files will not work in Synapse 4, and the reverse is also true.

Scripts have the same trap. AutoHotkey v2 reads files as UTF-8 by default, which differs from v1, and the syntax between the two versions is not identical. Write the version on the first line of every script you carry over.

First lines of a carried-over script
#Requires AutoHotkey v2.0
; moved from: work-laptop, 2026-11-25

Carry the Files Across by USB, Cloud or Network Share

A USB drive, a synced folder and a network share all work, and two copies in different places beat one. Following the 3-2-1 idea described in this local-versus-cloud overview, keep one copy local and one elsewhere until the move is finished.

A USB stick can go missing in a bag. Protect any drive that carries your macro library with a drive password, for example through USB Secure.

Optional: copy a backup folder with Robocopy (edit both paths first)
robocopy "C:\Users\YourName\Documents\Macros-Backup" "E:\Macros-Backup" /E

Import and Test on the New PC

Import in the same order you exported, then run one macro of each type in the app it was written for. Notepad proves text only; the real app proves timing.

In Macro Keys, the add-macro window carries Import Macros from File and Export Macros to File buttons, and the Options window repeats them. Use the same version on both PCs, import the file, and check the macro count against the old PC.

The screenshot shows the add-macro window with its trigger box, text field and the on-screen keys the program offers for keystroke sequences.

Macro Keys add-macro dialog with a trigger box, text field, virtual keyboard keys and export button
The add-macro window with trigger, text field, virtual keyboard keys and the export button.

What Changes on the New Machine

Three things shift without warning: key combinations, file paths and screen size. A new PC often ships with OEM utilities that claim function-key combinations. Windows itself can claim Win+G for Xbox Game Bar even after a remap, according to the PowerToys documentation.

Watch for

Mouse macros store screen positions. On a different display they click the wrong place. Rewrite them as keystrokes where you can, or re-record them on the new screen.

The Overlap Week Rule

The overlap week rule says to leave the old PC’s macros untouched for seven days after the move, long enough for a full working week to expose a macro you forgot. Wipe the old machine only after that week passes without a missing macro.

Move-day checklist

Tick each item as you go.

0 of 8 completed

Questions About Moving Macros

Yes for the tools in this guide, since they run on both versions, though you should test on the new build. The Macro Keys FAQ says the developer tested on all Windows variants. Run one macro of each type after the import.

Yes, if you copy the .lnk files. The key combination is stored inside the shortcut file, so it travels with it. The shortcut stops working if its target path does not exist on the new PC.

Mouse macros will click in the wrong place, because they store positions. Keystroke macros are unaffected. Re-record mouse steps on the new screen or replace them with keyboard steps.

Yes, by saving the export into a synced folder. Scrub the file first, since a synced copy sits on a server. Check that the sync finished before you wipe the old PC.

Keep them for one working week after the move. A macro you use only on Fridays shows itself missing within seven days, and the old PC still has the original to copy from.

NEXT STEP

Try the free export route

If your macros are mostly text and hotkey launchers, Macro Keys is a free Windows program with import and export buttons built into its windows. Test the import on the new PC before you rely on it.