|
#1
|
|||
|
|||
|
I wonder if someone can shed some light on my problem.
I have Windows XP MCE 2005 and SP2. I also have a Hauppauge 250 turner card. The Hauppauge tuner card will not run if the MCE receiver service is running. (I found this thanks to a newsgroup item). If I stop the MCE receiver service by running the NET STOP command then, the tuner works. So, I created a scheduled job to run the NET STOP command at 7:00pm. I have the tuner scheduled to record at 8:00pm. When I check, the tuner has failed. If I then just manually run the NET STOP command then the tuner will work. Any suggestions why running a batch command as a scheduled job does not seem to work? I added an echo statement in my batch command and it shows the NET STOP is running at the right time. Thanks (hope all this makes sense) |
|
#2
|
|||
|
|||
|
James T. Kirk wrote:
> I wonder if someone can shed some light on my problem. > I have Windows XP MCE 2005 and SP2. I also have a Hauppauge 250 > turner card. The Hauppauge tuner card will not run if the MCE > receiver service is running. (I found this thanks to a newsgroup > item). If I stop the MCE receiver service by running the NET STOP > command then, the tuner works. So, I created a scheduled job to run the > NET STOP command at 7:00pm. I have the tuner scheduled to record at > 8:00pm. When I check, the > tuner has failed. If I then just manually run the NET STOP command > then the tuner will work. > Any suggestions why running a batch command as a scheduled job does > not seem to work? I added an echo statement in my batch command and > it shows the NET STOP is running at the right time. > > Thanks (hope all this makes sense) Under whose rights is the scheduled job running? Is that user LOGGED in at the time? Does a batch script alone work? Putting quotes around the service name? net stop "Help and Support" net start "Help and Support" -- Shenan Stanley MS-MVP -- How To Ask Questions The Smart Way http://www.catb.org/~esr/faqs/smart-questions.html |
|
#3
|
|||
|
|||
|
"James T. Kirk" <kirk@enterprise.com> wrote in message news:%230n5m5k6FHA.4012@TK2MSFTNGP14.phx.gbl... > I wonder if someone can shed some light on my problem. > I have Windows XP MCE 2005 and SP2. I also have a Hauppauge 250 turner > card. The Hauppauge tuner card will not run if the MCE receiver service is > running. (I found this thanks to a newsgroup item). If I stop the MCE > receiver service by running the NET STOP command then, the tuner works. > So, I created a scheduled job to run the NET STOP command at 7:00pm. I have > the tuner scheduled to record at 8:00pm. When I check, the tuner has > failed. If I then just manually run the NET STOP command then the tuner > will work. > Any suggestions why running a batch command as a scheduled job does not seem > to work? I added an echo statement in my batch command and it shows the NET > STOP is running at the right time. > > Thanks (hope all this makes sense) > > Not sure if this is the cause but.... I believe that if you start a program from a command file then control passes to that program and isn't returned to the command file until the program finishes. This means any subsequent commands in the command file may not be executed until then. Do you have anything in the command file before the NET STOP? Do the event logs give any clues? |
|
#4
|
|||
|
|||
|
The batch file has some ECHO statements to show progress. The second last
line is the NET STOP ehrecvr. The last line is an ECHO that emits a message and date/time to an outfile. When I check it, I see that it has run at the correct date/time. If I go to the DOS command window and run the batch file, then all is well. It only fails when the batch file is executed as a scheduled job. I will try enclosing the service in quotes as indicated in a previous reply. As well, I will remove all statements except the NET STOP, and I will check the event logs. Thanks to all. "CWatters" <colin.watters@pandoraBOX.be> wrote in message news:fyCef.49844$ZL7.2552928@phobos.telenet-ops.be... > > "James T. Kirk" <kirk@enterprise.com> wrote in message > news:%230n5m5k6FHA.4012@TK2MSFTNGP14.phx.gbl... >> I wonder if someone can shed some light on my problem. >> I have Windows XP MCE 2005 and SP2. I also have a Hauppauge 250 turner >> card. The Hauppauge tuner card will not run if the MCE receiver service > is >> running. (I found this thanks to a newsgroup item). If I stop the MCE >> receiver service by running the NET STOP command then, the tuner works. >> So, I created a scheduled job to run the NET STOP command at 7:00pm. I > have >> the tuner scheduled to record at 8:00pm. When I check, the tuner has >> failed. If I then just manually run the NET STOP command then the tuner >> will work. >> Any suggestions why running a batch command as a scheduled job does not > seem >> to work? I added an echo statement in my batch command and it shows the > NET >> STOP is running at the right time. >> >> Thanks (hope all this makes sense) >> >> > > Not sure if this is the cause but.... > > I believe that if you start a program from a command file then control > passes to that program and isn't returned to the command file until the > program finishes. This means any subsequent commands in the command file > may > not be executed until then. > > Do you have anything in the command file before the NET STOP? > > Do the event logs give any clues? > > > > |
|
#5
|
|||
|
|||
|
I suspect it may be a question of rights. The task needs to run as an
administrator. See How To Troubleshoot Scheduled Tasks in Windows XP http://support.microsoft.com/default...b;en-us;308558 and How to Automate Disk Defragmenter Using Task Scheduler Tool in Windows XP (for an example re. user/admin issue) http://support.microsoft.com/default...b;en-us;555098 -- "James T. Kirk" <kirk@enterprise.com> wrote in message news:%230n5m5k6FHA.4012@TK2MSFTNGP14.phx.gbl... >I wonder if someone can shed some light on my problem. > I have Windows XP MCE 2005 and SP2. I also have a Hauppauge 250 turner > card. The Hauppauge tuner card will not run if the MCE receiver service > is running. (I found this thanks to a newsgroup item). If I stop the MCE > receiver service by running the NET STOP command then, the tuner works. > So, I created a scheduled job to run the NET STOP command at 7:00pm. I > have the tuner scheduled to record at 8:00pm. When I check, the tuner has > failed. If I then just manually run the NET STOP command then the tuner > will work. > Any suggestions why running a batch command as a scheduled job does not > seem to work? I added an echo statement in my batch command and it shows > the NET STOP is running at the right time. > > Thanks (hope all this makes sense) > |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Too many programs running | officer | Windows XP Customize | 10 | 01-05-2006 06:37 AM |
| Programs running in the background | Steve | Windows XP Perform Maintain | 3 | 01-05-2006 05:59 AM |
| how to find and close running programs | zsa zsa | Windows XP New Users | 1 | 01-05-2006 04:00 AM |
| Way to many programs running under my task manager help | bulens04 | Windows XP Help and Support | 2 | 01-05-2006 02:39 AM |
| Have results from Hijackthis. Don't understand them!!! 1st half | StanStan | Windows XP General | 15 | 01-05-2006 02:36 AM |