Scheduled Tasks do not run

L

LVTravel

First thing you need to do is set your computer's clock to
the correct time or timezone. You are posting about 10 or
so hours into the future. It's 3 right now and your posts
show 7:55, 8:04 & 8:28 PM today's date.
 
P

Pegasus \(MVP\)

Don said:
P.S. The log does not show any errors.
It just shows that Notepad.exe started at a certain time.

Here are a few points to consider:
- You're still posting in the future. Please fix your clock or your time
zone.
- Scheduling notepad.exe is not a good idea. Scheduled tasks
are meant to be run in the background, hence you won't see
a thing. Schedule the batch file below instead, then examine
the log file it creates.
- You must schedule your tasks under and account that has
a non-blank password.

@echo off
echo %date% %time% >> c:\test.txt
 
P

Patrick Keenan

Don said:
I am running Windows XP Pro with the lastest updates.
I am unable to get scheduled tasks to run.
I created a simple task to run Notepad.exe as a test.
When I right-click the task and select Run, nothing happens.
However, when I open up Task Manager, I see notepad.exe is
running as a process, but I do not see it running as an application.
My initial intent is to create a task that runs shutdown.exe, which
does not run either. I am able to do this on my other XP Pro machine.
Any words of wisdom out there?

Thanks.

If the local account that the scheduled task is intended to run under does
not have a password - one that isn't blank - it will not run.

This is default behaviour for the Windows Task Scheduler, and while it can
be defeated, doing so opens a security hole.

Add a non-blank password to your account and the scheduled task should run.

HTH
-pk
 
D

Don

I am running Windows XP Pro with the lastest updates.
I am unable to get scheduled tasks to run.
I created a simple task to run Notepad.exe as a test.
When I right-click the task and select Run, nothing happens.
However, when I open up Task Manager, I see notepad.exe is
running as a process, but I do not see it running as an application.
My initial intent is to create a task that runs shutdown.exe, which
does not run either. I am able to do this on my other XP Pro machine.
Any words of wisdom out there?

Thanks.
 
D

Don

P.S. The log does not show any errors.
It just shows that Notepad.exe started at a certain time.
 
D

Don

My bad.
There IS an error in the log file: Access Denied.
I had created a user as administrator, and gave it a password.
I am trying to run the task as this user.
So, why would I get the access denied error? I created the user as
an administrator.
Thanks.
 
D

denski

I NEED SOME HELP. WHEN I LOG OFF WINDOWS XP DURRING THE LOG OFF PROCESS A
PICTURE APPEARS. HOW DO I ELIMINATE IT SO WHEN LOGGING OFF IT NO LONGER
APPEARS
 
C

Colin Barnhorst

For starters, turn off your caps lock.

What picture? Do you recognize it?

You may have malware but it is difficult to tell from your description.
 
D

Don

To test this, I've been changing the system time rather
than the scheduled time since it kept asking for a
password.
 
P

Pegasus \(MVP\)

Well, your PC time is finally correct. If you need assistance
with your password then you need to tell us exactly when
and where this prompt occurs. Remember - we can't see
your machine!
 
D

Don

Well, after some more investigation I found the problem.
Let's just say it was a 'dumb user error' for now.

I do however, have a related question.
I am dabbling with Apache and MySQL on my system.
Things I have read suggest I create a user under which those
services would run.
I obviously don't want them showing up on the Welcome screen,
so what are the highlights to creating these types of users and
having those applications start as services under those users?

Thanks.
 
P

Pegasus \(MVP\)

Don said:
Well, after some more investigation I found the problem.
Let's just say it was a 'dumb user error' for now.

I do however, have a related question.
I am dabbling with Apache and MySQL on my system.
Things I have read suggest I create a user under which those
services would run.
I obviously don't want them showing up on the Welcome screen,
so what are the highlights to creating these types of users and
having those applications start as services under those users?

Thanks.

How to hide a user: http://www.windows-help.net/WindowsXP/tune-10.html
Use srvany.exe and instsrv.exe to create your own service:
http://support.microsoft.com/kb/137890
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top