Configure Windows 10 For Mining

Getting your rig up and running may not be that difficult to start, but you may soon realize that there are a lot of things running in Windows 10 that do not need to be a part of your mining experience or may cause unexpected results. For instance, things like Cortana and OneDrive serve no purpose. Additionally, Windows Update may reboot your system in the middle of the night without warning. Getting Windows setup properly for mining is not difficult and here are some of the more common things you should consider.

Table of Contents:

Disable Windows Update

  1. Open a run dialogue box (WIN+R)
  2. Type Services.msc
  3. Find Windows Update – Right Click and choose Properties
  4. Change Startup Type to Disable

Disable User Account Control

  1. In the Window Search Bar type Change User Account Control Settings
  2. Move the Slider to the bottom Never Notify and it displays Never notify me when:

Configure Virtual Memory

From what I have learned, the rule of thumb is the sum of all GPU memory per card (minimum of 16GB) and at least the sum of all GPUMEM+1

For example:

  • System with 4 x 4GB GPU = Min 16GB, Max 20GB
  • System with 1 x 8GB GPU + 3 x 4GB GPU = Min 20GB, Max 24GB
  1. Open File Explorer
  2. Right Click This PC and Choose Properties
  3. Click Advanced System Settings
  4. Advanced Tab under Performance, Click Settings
  5. Click the Advanced Tab
  6. Click Change to configure Virtual Memory
  7. Uncheck Automatically manage paging file size for all drives
  8. Select the Radio button for Custom Size
  9. Enter your settings
  10. Click Set
  11. Reboot if necessary

 

 

Disable Visual Effects

  1. Open File Explorer
  2. Right Click This PC and Choose Properties
  3. Click Advanced System Settings
  4. Advanced Tab under Performance, Click Settings
  5. Click the Visual Effects Tab
  6. Choose the Radio button for Adjust for best performance
  7. Click Ok

Disable Windows Hibernation

  1. Right Click on the Start button
  2. Click Command Prompt (Admin)
  3. Type powercfg.exe /hibernate off
  4. Press Enter
    1. If you want to re-enable at some time
      1. powercfg.exe /hibernate on

Enable Remote Desktop

Managing your mining machine is much easier when you can do this remotely. There are a number of ways to do this with 3rd party software (TeamViewer), but if you are going to manage your machine from your local network, Remote Desktop is hard to beat.

  1. Open File Explorer
  2. Right Click This PC and Choose Properties
  3. Click Advanced System Settings
  4. Remote tab
  5. Choose the radio button for Allow remote connections to this computer
  6. Click Ok

Configure Automatic Login

There are plenty of ways to enable automatic login, some of them more complicated than others. Personally, I like to use a utility from SystInternals called Autologon for Windows

Download: http://forums.computingondemand.com/files/file/60-autologon-for-windows/

  1. Right Click on the .zip file and choose Extract
  2. Execute Autologon.exe
  3. Agree to the licensing
  4. Enter Your Username and Password, Domain should be prepopulated
  5. Click Enable

Configure Power Options

Out of the box, Windows 10 configures itself for a Balanced power plan. Balanced automatically balances performance with energy consumption on capable hardware. In other words, it will sleep, hibernate, etc.

For our purposes, we want High Performance, with some minor changes

  1. In the search bar, type Choose a Power Plan
  2. Click the Radio button for High Performance
  3. Click Change Plan Settings
  4. On each dropdown presented, change the value to Never
  5. Click Change advanced power settings
  6. Validate that Link State Power Management is Off
    1. Expand PCI Express
    2. Expand Link State Power Management
    3. Change the setting to off

Disable Cortana and Bing Search

There is simply no reason to have Cortana running on your mining rig.

  1. Open a run dialogue box (WIN+R)
  2. Type regedit.msc
  3. Navigate through to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search
    1. If Windows Search isn’t there, you must create it.
      1. Right Click on Windows
      2. Click New > Key
      3. Type Windows Search
      4. Right Click Windows Search
      5. Click New > DWORD (32-bit) Value
      6. Type AllowCortana and set its Value to 0 (zero)
    2. If Windows Search is present, change it’s DWORD value to 0 (zero)
  4. Navigate through to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search
    1. Right Click Search
    2. Click New > DWORD (32-bit) Value
    3. Type BingSearchEnabled and set its Value to 0 (zero)

Remove Windows 10 Built-in Apps

Windows 10 comes with a slew of applications that makes typical computing a better experience, but on a mining machine, much of it is waste.

  1. Open PowerShell with administrator privileges
    1. in the search bar type PowerShell, when the result presents itself, right click and choose Run as Administrator
  2. Choose from the following list of command to remove apps
    1. 3D Builder: Get-AppxPackage *3dbuilder* | Remove-AppxPackage
    2. Alarms and Clock: Get-AppxPackage *windowsalarms* | Remove-AppxPackage
    3. Calculator: Get-AppxPackage *windowscalculator* | Remove-AppxPackage
    4. Calendar and Mail: Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage
    5. Camera: Get-AppxPackage *windowscamera* | Remove-AppxPackage
    6. Get Office: Get-AppxPackage *officehub* | Remove-AppxPackage
    7. Get Skype: Get-AppxPackage *skypeapp* | Remove-AppxPackage
    8. Get Started: Get-AppxPackage *getstarted* | Remove-AppxPackage
    9. Groove Music: Get-AppxPackage *zunemusic* | Remove-AppxPackage
    10. Maps: Get-AppxPackage *windowsmaps* | Remove-AppxPackage
    11. Microsoft Solitaire Collection: Get-AppxPackage *solitairecollection* | Remove-AppxPackage
    12. Money: Get-AppxPackage *bingfinance* | Remove-AppxPackage
    13. Movies & TV: Get-AppxPackage *zunevideo* | Remove-AppxPackage
    14. News: Get-AppxPackage *bingnews* | Remove-AppxPackage
    15. OneNote: Get-AppxPackage *onenote* | Remove-AppxPackage
    16. People: Get-AppxPackage *people* | Remove-AppxPackage
    17. Phone Companion: Get-AppxPackage *windowsphone* | Remove-AppxPackage
    18. Photos: Get-AppxPackage *photos* | Remove-AppxPackage
    19. Store: Get-AppxPackage *windowsstore* | Remove-AppxPackage
    20. Sports: Get-AppxPackage *bingsports* | Remove-AppxPackage
    21. Voice Recorder: Get-AppxPackage *soundrecorder* | Remove-AppxPackage
    22. Weather: Get-AppxPackage *bingweather* | Remove-AppxPackage
    23. Xbox: Get-AppxPackage *xboxapp* | Remove-AppxPackage
  3. To restore them for some reason
    1. Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

About Joe D

I have always had a passion for everything computing. In early 2000, I decided to take my passion to the web. Thus, C.O.D. was born. Through the years we have made many great friends at C.O.D. and hope to continue our journey for years to come.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.