fireice-uk / xmr-stak-cpu

Monero CPU miner
GNU General Public License v3.0
1.11k stars 478 forks source link

Windows 10 Home Not Supported #264

Open bbuckleyp opened 7 years ago

bbuckleyp commented 7 years ago

After getting the common "SeLockMemoryPrivilege failed" error, I follow the "Common Issues" section that leads me to this page:

https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/enable-the-lock-pages-in-memory-option-windows

Unfortunately, Windows 10 Home doesn't have gpedit.msc so now I'm stuck and can't use this miner.

Is there a way around this with Windows 10 Home or does everyone with Windows 10 Home not able to use xmr-stak-cpu miner?

Thanks for all your work!

NmxMilk commented 7 years ago

If "lock pages in memory" fails the miner will WORK without this option.

If you insist in wanting to activate on windows home, then you should google "Enable group policy on windows home". But beware of malware since this is not official.

PS, official doc : https://docs.microsoft.com/en-us/windows/device-security/security-policy-settings/lock-pages-in-memory and it has nothing to do with databases !

NmxMilk commented 7 years ago

After rereading : https://github.com/fireice-uk/xmr-stak-cpu/blob/master/README.md

Workaround, mentioned for Windows 7 Home. For Windows 7 Home :

Download and install Windows Server 2003 Resource Kit Tools. Ignore incompatiablity warning during installation.

In cmd or power shell: ntrights -u %USERNAME% +r SeLockMemoryPrivilege (where %USERNAME% is the user that will be running the program. This command needs to be run as admin)

Reboot.

Reference: http://rybkaforum.net/cgi-bin/rybkaforum/topic_show.pl?pid=259791#pid259791

Warning: do not download ntrights.exe from any other site other then the offical Microsoft download page.

xmrig commented 7 years ago

You can run this miner https://github.com/xmrig/xmrig as admin one time, then reboot. After that can continue use xmr-stak-cpu.

fireice-uk commented 7 years ago

@xmrig Can you please refrain from plugging your miner every second time you post here? It is getting rather annoying.

xmrig commented 7 years ago

I understand no one like it. I checked every my comment in issues there, actually it a first time when I point directly to miner it not looks like every second time but okay I understand your point. Thank you.

bbuckleyp commented 7 years ago

I tried downloading, installing, and running that command in the readme and I'm getting this error:

C:\Users\root>ntrights -u %root% +r SeLockMemoryPrivilege Granting SeLockMemoryPrivilege to %root% OpenPolicy:

Error OpenPolicy -1073741790

I'm currently using xmrig's miner (was already using it before I came here) since I couldn't get xmr-stak's to work but I wanted to support xmr-stak.

Getting <$1/day of Monero is hardly worth it so the 20% increase from xmr-stak's performance w/ the large page support is what I need otherwise I'm just going to stop.

fireice-uk commented 7 years ago

@bbuckleyp Did you run the command prompt as an admin (right click and select from the menu, if UAC complains, ok it)