Question

Locked

Access Denied on XP Scheduler (XP Pro, SP3)

By inet32 ·
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.

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Try this

by IC-IT In reply to Access Denied on XP Sched ...

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.

Collapse -

Brilliant minds think alike.(nt)

by shasca In reply to Try this
Collapse -

Here's what happened . . .

by inet32 In reply to Try this

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.

Collapse -

create Admin account

by shasca In reply to Access Denied on XP Sched ...

Create another admin account on the PC. Then you can do a runas. This will test your password theory.

http://www.neophob.com/serendipity/index.php?/archives/106-Task-Scheduler-or-RunAs-without-a-password.html

Collapse -

Profile

by Jacky Howe In reply to Access Denied on XP Sched ...

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.

Back to Software Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums