Bitcoin Forum
April 23, 2024, 08:35:15 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Windows 7 Task Scheduler vs GPU (Can I GPU mine in the background in Win7?)  (Read 1997 times)
The00Dustin (OP)
Hero Member
*****
Offline Offline

Activity: 807
Merit: 500


View Profile
July 02, 2011, 12:25:09 AM
 #1

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.
1713904515
Hero Member
*
Offline Offline

Posts: 1713904515

View Profile Personal Message (Offline)

Ignore
1713904515
Reply with quote  #2

1713904515
Report to moderator
1713904515
Hero Member
*
Offline Offline

Posts: 1713904515

View Profile Personal Message (Offline)

Ignore
1713904515
Reply with quote  #2

1713904515
Report to moderator
BitcoinCleanup.com: Learn why Bitcoin isn't bad for the environment
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713904515
Hero Member
*
Offline Offline

Posts: 1713904515

View Profile Personal Message (Offline)

Ignore
1713904515
Reply with quote  #2

1713904515
Report to moderator
Electronic Chaos
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
July 02, 2011, 01:11:18 AM
 #2

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).
The00Dustin (OP)
Hero Member
*****
Offline Offline

Activity: 807
Merit: 500


View Profile
July 02, 2011, 01:33:38 AM
 #3

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").
The00Dustin (OP)
Hero Member
*****
Offline Offline

Activity: 807
Merit: 500


View Profile
July 08, 2011, 08:05:59 PM
 #4

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 "<path to miner>\<miner>.exe" in instance "<instance id>" of task "<task>". Additional Data: Error Value: 2147942667.

EventID 103 - Run Failure
Task Scheduler failed to start instance <instance id> of "<task>"  task for user "<Administrator OR System>" . 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).
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!