How to Run monerod Installed as a Service with Custom Path on Windows Server 2016

Run monerod Windows Server 2016 Install Service with Custom Path

Running on a Windows server it may be preferable to store the monero database on a faster drive - moving it off the operating system drive. To run as a service you'll need to specify the new disk location but this is not simple to specify in the service.

  1. Create your new disk and assign drive letter - formatted as ReFS with 64k cluster size.
  2. Stop the monerod daemon
  3. Copy files from c:\programdata\bitmonero to the new location d:\bitmonero - no spaces in the folder path
  4. Rename the old folder c:\programdata\bitmonero - for safety
  5. Create a symbolic link from the original default path to the new location.
    Open Administrative cmd.exe
    mklink /D "C:\ProgramData\bitmonero" "d:\monerodir"

Now install the service
  1. Open Administrative cmd.exe
  2. CD to the monerod.exe program folder
  3. Run monerod --install-service (this took a few minutes to install)
  4. Open Services.Msc - set service to automatic and click start
  5. Now open Monero Gui and you should see the Daemon running
  6. Confirm the database logfile is updating in the new location

Job done - happy mining

Comments

Popular posts from this blog

Server Manager Refresh completed with one or more warning

Hyper-V could not replicate changes for virtual machine as replication is suspended on the Replica server

Shrewsoft VPN client - can't open Access Manager