Author

Topic: Windows 7 Task Scheduler vs GPU (Can I GPU mine in the background in Win7?) (Read 2023 times)

hero member
Activity: 807
Merit: 500
I have tinkered with this some more.  It turns out when task scheduler thought everything was fine when the miner just quit immediately after starting, some parameters were wrong.  With the right parameters, I consistently get these 6 events:

EventID: 110 Task Triggered by user
EventID: 319 Task Engine received message to start task
EventID: 100 Task Started
EventID: 200 Action Started

EventID 203 - Launch Failure
Task Scheduler failed to launch action "\.exe" in instance "" of task "". Additional Data: Error Value: 2147942667.

EventID 103 - Run Failure
Task Scheduler failed to start instance of ""  task for user "" . Additional Data: Error Value: 2147942667.


As I originally stated, I believe this has something to do with Windows 7 not letting bacckground applications (tasks/services) interact with the desktop.  I was hoping someone could point me toward a good CUDA miner that would interface directly with the card instead of somehow doing it through the desktop (these same miners that won't work as tasks in Win7 won't work through RDP in WinXP).
hero member
Activity: 807
Merit: 500
Under the task properties, do you have the "Run Whether user is logged in or not" selected?
Yes, it is selected.  I should have mentioned that.  I also tried checking "Run with highest privileges" to no avail.  CPU mining works fine without the latter checked.  Also, in this case, I'm trying to run it while the user is logged on anyway (right clicking on the task and clicking Run), but it fails.  I'm only guessing that the process can't access the video card.  I always get either two errors or two infos immediately (the task either fails to start or "completes successfully").
newbie
Activity: 9
Merit: 0
Under the task properties, do you have the "Run Whether user is logged in or not" selected? If so, the task will run in the background (and you should be able to confirm this from the status by it in the Task Scheduler). I ran into this problem when I was trying to get Perl scripts running (unrelated to Bitcoin mining, just a project I was working on).
hero member
Activity: 807
Merit: 500
So I have been using Windows task scheduler to deploy mining on startup (and additional mining on idle in Windows 7).  I was running GPU mining in Windows XP through task scheduler on startup with puddinpop (extracted from guiminer).  I am now working with a Windows 7 machine I could GPU mine with, but I can't do it through the task scheduler (I tried puddinpop [extracted from guiminer] and diablo; they both work fine from a command prompt).

Is it possible to run a gpu miner in Windows 7 automatically without it being present on the desktop?  I have seen references to stealth miner, but not come across it yet, and I'd rather have slightly more control over it then it sounds like that would give.
Jump to: