Author

Topic: Need to Pasword Protect My Windows Mining Rig (Read 724 times)

legendary
Activity: 1726
Merit: 1018
Claymore does pretty well, as well as sgminer. This is not a matter of which miner, its more which software u are using to create a service.

Well, what is the name of "the software for creating service", because with windows task scheduler I did not have success in creating services with GPU miners?

Never tried this with a GPU miner but I have used this to setup a service for an exe.

https://nssm.cc/
sr. member
Activity: 736
Merit: 262
Me, Myself & I
Claymore does pretty well, as well as sgminer. This is not a matter of which miner, its more which software u are using to create a service.

Well, what is the name of "the software for creating service", because with windows task scheduler I did not have success in creating services with GPU miners?
jr. member
Activity: 53
Merit: 1
Claymore does pretty well, as well as sgminer. This is not a matter of which miner, its more which software u are using to create a service.
sr. member
Activity: 736
Merit: 262
Me, Myself & I
just create a windows service for your mining software and you don't need to login anymore at all Wink There are a couple of software out where you can convert a normal exe to a windows service (yes also with paramters)

Most GPU miners do not work when started as a service.
jr. member
Activity: 53
Merit: 1
just create a windows service for your mining software and you don't need to login anymore at all Wink There are a couple of software out where you can convert a normal exe to a windows service (yes also with paramters)
sr. member
Activity: 736
Merit: 262
Me, Myself & I
Assuming You know how to set autologin Windows with user/pass, one bat - file in startup folder that is starting screensaver (previously set up screensaver to ask for password) and miners. Works for me.
full member
Activity: 211
Merit: 100
VBScript or Powershell are your best bet.  Set a login script to run that starts up your mining software, makes sure it's running, then locks the computer.  You may need to add pauses in after starting the mining software as I'm not sure if you can start up interactive applications while a computer is locked.  You would need to do some testing.
legendary
Activity: 1726
Merit: 1018
Assuming you already have the computer setup with a password and autologin what you need is to lock it.  So set a scheduled task to run a couple minutes after startup to run a batch file.  The batch file runs a visual basic script.

 
Code:
Start cscript LockComputer.vbs

This vbs script will lock the computer.

Code:
Set objShell = CreateObject("Wscript.Shell")
objShell.Run "%windir%\System32\rundll32.exe user32.dll,LockWorkStation"

I haven't tested this but theoretically as long as you started the miner program first then it should still run on the locked workstation.
full member
Activity: 205
Merit: 100
Well I cant do that for now ;
I need some software that asks for a password or pin on startup but still run the startup apps in the background
sr. member
Activity: 847
Merit: 383
put them somewhere no one screws with them.  Everyone knows that even if my machine was on fire to leave them alone.
full member
Activity: 205
Merit: 100
Guy I want my windows pc to auto start miners on reboot but also want to password protect it so no one can stop them
Jump to: