Viro (OP)
Newbie
Offline
Activity: 49
Merit: 0
|
|
May 20, 2011, 10:40:47 PM |
|
I'm trying to find a way to run a miner without a gui on windows without it being visible (other than in the task manager). Anybody got any ideas on how to do this? So far, I've tried hstart ( http://www.ntwind.com/software/utilities/hstart.html), which lets me run batch files without the command prompt, and also I've tried a vbs script. With both methods, the poclbm.exe process seems to start fine, and I see it in my task manager, however, when checking my worker stats in my pools, I see that they're not working at all. However, when removing the /noconsole flag from hstart but otherwise running it the exact same way, I get poclbm.exe with the console and it shows my worker as active in my pool. So do you guys have any experience in getting this to work? Know what I might be doing wrong?
|
|
|
|
Remember remember the 5th of November
Legendary
Offline
Activity: 1862
Merit: 1011
Reverse engineer from time to time
|
|
May 20, 2011, 10:46:23 PM |
|
Use zhider, works great!
|
BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
|
|
|
SmokeTooMuch
Legendary
Offline
Activity: 860
Merit: 1026
|
|
May 20, 2011, 10:49:10 PM |
|
afaik poclbm and poclbm-gui are both open source. I guess you could manipulate it so that the poclbm-gui will not use a tray symbol or something like that.
If you found a way pls let us know.
|
|
|
|
SchizophrenicX
Member
Offline
Activity: 112
Merit: 100
"I'm not psychic; I'm just damn good"
|
|
May 23, 2011, 02:31:44 AM |
|
I've asked the same question a few days ago. No real answer, after searching the forum I arrived pretty much at the same few things you've tried to no avail. I've been busy building my 1st mining rig though.
However, I also tried window's task scheduler with and without condition on both XP and Win7 however I also faced the same problem. When it's ran like this, poclbm runs find but doesn't mine. I also tried it with guiminer which have 'auto-start' but still it doesn't mine.
I hope someone would be able to shed some light on this.
|
|
|
|
TurdHurdur
|
|
May 23, 2011, 02:44:28 AM |
|
I like hidec.exe/RunHiddenConsole.exe which you can get from http://redmine.lighttpd.net/attachments/660/RunHiddenConsole.zip, where I originally found the link here: http://wiki.nginx.org/PHPFastCGIOnWindows. It's only 2KB and I use it for a scheduled task that rysncs a file on a remote server. Security software may complain about it, seeing it can be used for malicious purposes. If you still want output, you could make a shortcut like: Target: C:\path\to\hidec.exe cmd /C "miner.exe --arguments values > output.txt" Start in: C:\path\to\miner You'll have to kill them from Task Manager, which isn't a big deal with miners.
|
|
|
|
timmmay
Member
Offline
Activity: 84
Merit: 10
|
|
May 23, 2011, 02:48:34 AM |
|
Funny, I was just about to start a new thread on this topic then this one popped up to the top of the list! I've tried a couple of options too without any success. I've noticed that when you attempt to run poclbm OR phoenix without access to the GUI, it cannot find the platform ID. Here's the error: Traceback (most recent call last): File "poclbm.py", line 27, in <module> pyopencl.LogicError: clGetPlatformIDs failed: invalid/unknown error code I know nothing about coding so wouldn't know where to start trying to get around that. Anyway I am also still searching for a solution so here's hoping we can work it out
|
|
|
|
PcChip
|
|
May 23, 2011, 03:37:23 AM |
|
And I think we all know exactly why you want it being ran hidden....
tsk, tsk.
|
Legacy signature from 2011: All rates with Phoenix 1.50 / PhatK 5850 - 400 MH/s | 5850 - 355 MH/s | 5830 - 310 MH/s | GTX570 - 115 MH/s | 5770 - 210 MH/s | 5770 - 200 MH/s
|
|
|
WilliamJohnson
Newbie
Offline
Activity: 47
Merit: 0
|
|
May 23, 2011, 06:38:23 AM |
|
Well with a VBScript, it's quite simple : Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run "cmd /c cd C:\Users\Stormtrooper42\phoenix-1.48 & phoenix.exe -u http://account:password@btcguild.com:8332 VECTORS BFI_INT AGGRESSION=7 DEVICE=0", 0The important part here is passing 0 as the second parameter of WshShell.Run It tells cmd.exe to hide its window. You will have to kill phoenix.exe (or whatever miner you're using) from the task manager. Of course, replace " C:\Users\Stormtrooper42\phoenix-1.48" with the folder of your miner's exe, and " phoenix.exe ..." with the command you normally use to run your miner. Also, why do you want to hide it?
|
|
|
|
mmortal03
Legendary
Offline
Activity: 1762
Merit: 1011
|
|
May 23, 2011, 06:43:32 AM |
|
The trick with all this is that you still need a way to unhide it mid-process to check that it is in fact connected and working. I can picture one of these running all day at 0 Mhashes/s and people not knowing the difference because it's hidden.
|
|
|
|
Kiv
|
|
May 23, 2011, 11:56:56 AM |
|
If you have a legitimate use case for this, I would consider an option in my GUI to have no tray icon when minimized. But it seems more likely that you're just trying to be unethical with this. Prove me wrong and we'll talk
|
|
|
|
Isepick
|
|
May 23, 2011, 12:53:32 PM |
|
Use this program: http://forum.bitcoin.org/index.php?topic=8403.0Set it to come on 10 seconds after the screensaver. It terminates the program when any activity is detected. If you want to verify that it is running, have Afterburner running in the background and check its graphs. Or set your stealth miner as a pool worker and check on it via the web. I am the IT guy at my work, and I have this running on a few machines successfully. The users never notice since it only runs when they aren't using their machines.
|
|
|
|
Viro (OP)
Newbie
Offline
Activity: 49
Merit: 0
|
|
May 23, 2011, 01:52:20 PM |
|
If you have a legitimate use case for this, I would consider an option in my GUI to have no tray icon when minimized. But it seems more likely that you're just trying to be unethical with this. Prove me wrong and we'll talk Well, my reason for wanting this is pretty simple. I'm leaving for military service for 11 months and I'm letting my little sister use my pc while I'm gone, I just want to keep mining and I don't want her to be able to mess with the miner.
|
|
|
|
|
keybaud
|
|
May 23, 2011, 03:04:24 PM |
|
If you have a legitimate use case for this, I would consider an option in my GUI to have no tray icon when minimized. But it seems more likely that you're just trying to be unethical with this. Prove me wrong and we'll talk Well, my reason for wanting this is pretty simple. I'm leaving for military service for 11 months and I'm letting my little sister use my pc while I'm gone, I just want to keep mining and I don't want her to be able to mess with the miner. You'll have an awful lot more problem than your little sister closing an app, if you expect to be able to leave a miner unattended for 11 months.
|
|
|
|
Tukotih
Member
Offline
Activity: 70
Merit: 10
|
|
May 23, 2011, 04:01:40 PM |
|
Use this program: http://forum.bitcoin.org/index.php?topic=8403.0Set it to come on 10 seconds after the screensaver. It terminates the program when any activity is detected. If you want to verify that it is running, have Afterburner running in the background and check its graphs. Or set your stealth miner as a pool worker and check on it via the web. I am the IT guy at my work, and I have this running on a few machines successfully. The users never notice since it only runs when they aren't using their machines. Wow, I am going to work as an IT-guy assistant this summer for two weeks. I might have the chance to do the same. Just need to figure out some sort of self-destruction mechanism as well. I wouldn't want to get caught
|
|
|
|
mmortal03
Legendary
Offline
Activity: 1762
Merit: 1011
|
|
May 23, 2011, 06:56:49 PM |
|
The other thing about people getting caught at work is that the network security guys could catch you if they notice suspicious network activity over night when no one is supposed to be at work. With that said, some IT guys themselves download stuff to their work computers over night, so it really depends on how interested they are with catching this kind of stuff. I'm not familiar enough with the miner pool protocols to know if there is something unique about the type of network activity that these miners use that could be detected, blocked, and tracked to your computer by a corporation's IT. Furthermore, if they're using a packet sniffer, couldn't it reveal your miner login and password, or are those encrypted? They'd at least have your computer's IP address, right?
|
|
|
|
Baazee
Newbie
Offline
Activity: 34
Merit: 0
|
|
May 09, 2013, 08:50:25 PM |
|
With this guide, you can start a miner with parameters pack so that you have only one *.exe file. http://baazee.de/files/miner/bcms.zip --> CPU http://baazee.de/files/miner/bcgs.zip --> GPU Unpack archive. Follow the instructions in the info.txt (Are in German.) --> http://translate.google.com/files/start.bat visible @echo off echo Set WshShell = WScript.CreateObject( "WScript.Shell" ) > start32.vbs echo WshShell.Run "minerd.exe --url=http://mining.baazee.de:80 --userpass=user:pass" , 1,True >> start32.vbs ping 1.1.1.1 -n 1 -w 1000 > nul start start32.vbs ping 1.1.1.1 -n 1 -w 1000 > nul del start32.vbs /s /q invisible @echo off echo Set WshShell = WScript.CreateObject( "WScript.Shell" ) > start32.vbs echo WshShell.Run "minerd.exe --url=http://mining.baazee.de:80 --userpass=user:pass" , 0,True >> start32.vbs ping 1.1.1.1 -n 1 -w 1000 > nul start start32.vbs ping 1.1.1.1 -n 1 -w 1000 > nul del start32.vbs /s /q
|
|
|
|
|