Featured Image: My pair of Minebox 8Ls
One of the minor problems that I’ve had with the day-to-day management of my rigs is the need to occasionally restart (Windows updates, add/remove a card, test a new GPU driver, flash bios – you know, the daily management stuff!)
As you’ll know a restart means the need for user login to get Nicehash Quickminer to start. I’ve got over 4gh/s of machines, 5 of them are remotely controlled via Windows Remote Desktop:
So, you can imagine that logging in to each machine to get it running is a time-consuming process.
Not anymore, as I’ve learned how to set Nicehash Quickminer to automatically start mining at Windows Startup without a login, using Task Scheduler.
Ideally, you’ll have the latest RC of Nicehash Quickminer. I’ll come to the why in just a moment.
Here’s how to get Quickminer started without logging into your PC.
QuickMiner Settings
Assuming you’ve already got QuickMiner installed, head to the main options screen and select “start automatically with Windows”. Also, select “Automatically begin mining”.
On the Error Handling tab, change the action to “Reboot Rig”. I’ve found a reboot is usually the best way to handle a major crash (not that I get those very often stability FTW!). I’ve always been reluctant set it because it would mean logging back in.
Click OK and this is important: set the miner running in your Windows session. NHQM seems to remember whether it was started or stopped when Windows last restarted!
Windows Task Manager settings
Now, onto Task Scheduler, which you can find in the Windows search bar. Open up Task Scheduler, and in the left-hand pane you’ll see a folder called Task Scheduler Library:
You’ll see “NiceHash Quickminer” in the top pane. This has been created by NiceHash’s own setup process. Right Mouse on that task and select Properties. There are a series of tabs across this dialogue, some tabs will need settings changes, others not so much.
Under “General”:
- Select “Run whether user is logged in or not”
- In the “Configure for:” dropdown, select the Windows Server 2008 R2 option
Under Triggers:
- Edit trigger “at log on” by selecting and editing
- Begin the task “At Startup”
- Delay task for 30 seconds
Under Actions:
- Leave this tab unchanged
Under Conditions:
- Leave this tab unchanged
Under Settings:
- Leave these settings alone but do check “Stop the task if it runs longer than 3 days”
Leave history disabled – I have a feeling that’s a logger that will gradually fill up your SDD!
When you OK to all the settings changes, Task Scheduler will need your password:
And that should be everything. Time to test.
Restart your PC to test
Remember that the miner has to be running when the machine is restarted. Go ahead and restart your machine and, walk away. You’ll probably find yourself refreshing Rig Manager, a lot. My Mineboxes in particular have very old/slow CPUs so a full restart takes time. Have faith and wait a little while. Your rig should reappear from offline in rig manager within a reasonable amount of time.
Any issues or problems, shout in the comments!
Hi it worked great but the Excavator is gone on windows. I can no longer see the speed or the shares. I can see the MH/s levels on nicehash and that its running but no Excavator
thank you
Yes this is the price you pay, unfortunately – you can see it running in task manager It *is* running) but not via the UI. I’ve noticed that while it’s still submitting shares if there’s an update alert available, it breaks the reporting in the main UI. It’s still running and sharing but unfortunately, you have to stop NH in task manager and restart in the logged-in view to do the update. Really it should auto-update and I think this is a bug.