English Chinese (Simplified)
{% include disclaimer.html translated="no" translationOutdated="no" %}
See the [official docs](https://xmrig.com/docs/miner/config), for instructions and suggestions.
Starting the miner
Windows users can double click on xmrig.exe. Users of other operating systems should `cd` into the directory that contains XMRig and then type `./xmrig` and press return.
If you see green messages saying that shares have been accepted, congratulations, everything is working!
Anti-virus keeps removing XMRig
Some anti-viruses flag XMRig as malware because it is often deployed to infected computers to mine without the owner's consent. As it is your computer and you are configuring the miner to mine for you, it is safe to add XMRig to your anti-virus whitelist.
Cannot read/set MSR
On some CPUs, XMRig tries to increase performance by disabling certain features like your CPU's instruction prefetcher. These operations require root/administrator, so try right clicking xmrig.exe and running it as administrator, or running `sudo ./xmrig` on other systems.
Algo not known
Find the line in config.json that says `algo: null` and change it to `algo: "rx/0"`. By default, XMRig expects the pool to tell it which hashing algorithm to use.
Huge Pages 0%
Allowing large pages on Windows
Taken from [the MSDN](https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/enable-the-lock-pages-in-memory-option-windows?view=sql-server-ver15):
On the Start menu, click Run. In the Open box, type gpedit.msc.
On the Local Group Policy Editor console, expand Computer Configuration, and then expand Windows Settings.
Expand Security Settings, and then expand Local Policies.
Select the User Rights Assignment folder.
The policies will be displayed in the details pane.