How do I enable MSR in XMRig without running as administrator?
You cannot enable XMRig’s MSR tweaks from a normal user account unless a privileged tool or an administrator has already set them up. You can, however, run XMRig without administrator rights afterward if those settings remain active—most straightforwardly on Linux, with a separate setup step.
Why MSR access needs extra permission
MSR means model-specific register. These are low-level controls inside your processor. XMRig can adjust some of them to improve performance with RandomX, the mining algorithm Monero uses.
Your operating system restricts these controls because incorrect changes can affect the whole computer, not just your miner. There is no ordinary XMRig setting that safely bypasses that restriction.
MSR tweaks are optional. You can still mine without them. If XMRig reports that it could not apply an MSR modification, that usually means the optimization failed—not that mining is impossible.
If you use Windows
On Windows, XMRig normally needs administrator rights to load the driver that provides MSR access. A driver is software allowed to communicate with hardware at a deeper level than an ordinary app.
If your goal is never to approve an administrator prompt, you cannot use XMRig’s normal MSR setup on an otherwise unprepared Windows installation.
Your practical choices are:
- Run XMRig as a normal user and accept mining without its MSR optimization.
- Have an administrator arrange a trusted, privileged setup that applies the appropriate changes separately.
The second option is not a standard one-click XMRig feature. Simply running XMRig as administrator once does not reliably make future non-administrator launches able to apply MSR tweaks. XMRig may also restore the original values when it exits.
Avoid downloads claiming to “unlock MSR without admin.” They cannot legitimately remove Windows’ permission boundary just by changing a mining setting.
If you use Linux
Linux makes it easier to separate hardware setup from mining. An administrator can apply the appropriate MSR values first, then you can launch XMRig under your regular account.
The general process is:
- Check your exact processor model and XMRig’s current guidance for it.
- Have an administrator load Linux’s
msrmodule, which exposes supported processor-register access. - Apply the correct settings with a trusted setup script or register-writing tool.
- Run XMRig as your normal user, without asking it to apply the tweaks again.
That preparation still requires root, Linux’s administrator account, or equivalent privileged access. Loading the module alone does not apply the optimization or automatically give your account permission to write registers.
These settings are not permanent. A restart, sleep cycle, or other system change may reset them. An administrator can arrange a startup task if appropriate.
Keep the privilege boundary intact
Do not make register-access devices writable by every user or give the entire miner broad hardware-access privileges just to avoid typing an administrator password. That replaces a visible permission prompt with a less obvious security risk.
Use settings intended for your processor. Random register values copied from a forum can cause instability. Also, distinguish “XMRig could not apply the tweak” from “a separate tool already applied it”—the log message alone may not establish the current register state.
The bottom line
You can run XMRig without administrator rights, but applying MSR tweaks requires privileged access somewhere. If you cannot get that setup approved, leave MSR optimization disabled and mine normally on hardware you own.
