Question Locked

Access Denied on XP Scheduler (XP Pro, SP3)

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'm trying to schedule an app in the XP Scheduler but it gives me a "could not start" message, and if I try to run it manually from the Scheduler (right click | Run) it says "access denied". If I run it outside the Scheduler it runs fine.

Because my app reads files and stuff, for a test I replaced it with a simple DOS batch file that just says "foo", but I get exactly the same results - "access denied" in the Scheduler, OK outside the Scheduler.

I'm logged in as administrator but I don't have a password set so I can't give the Scheduler a password when I create the task. It gives me a warning about this that may be related to the problem. Because I have tons of other stuff installed and running fine in this PC/account I'm reluctant to create a new password for fear of breaking something else.

Suggestions? Clues? Thanks in advance.

6 replies

by ic-it

Create a new user and make that user name a member of the local administrators group.
Use those credentials without changing the current logon user.

by inet32

bwilmot suggested:
"Create a new user and make that user name a member of the local administrators group.
Use those credentials without changing the current logon user. "

I tried that and it KINDA worked. The scheduler now starts my app and I can see it in task mangler but it DOESN'T DISPLAY - it never gets a window. I also tried running a simple .BAT file from the Scheduler with the same result - runs but no window. My app is a GUI app so it needs a window.

by rob miners

If you are that concerned about your profile do what I do and create a backup. Logon as 'The Administrator' and navigate to C:\Documents and Settings\'User'and copy all of the ntuser.* files to another location. If your Profile becomes corrupt you logon as 'The Administrator' and just copy it back. Logon as the User again and you are set to go. It also pays to keep it updated so you don't lose too many settings. It saved my bacon recently when I had an unexpected shutdown that corrupted my profile.

This discussion is closed to new replies.