The brand has Razer macros only work on mice that support the software Razer Synapse 3. You can download the software for your mouse from the official website Razer.
Macros work on absolutely any version of Windows.