General discussion


Task Scheduler User Name

By Larry52 ·
Recently, the computer name was changed on one of my PCs. Now I am having trouble getting scheduled tasks to run. When I looked at the properties of one of these failed tasks, I noticed that the "Run As" user name was "<Old Computer Name>\<User Name>". I tried changing it in the task properties window to "<New Computer Name>\<User Name>" (the computer name changed, but the user name remained the same), but it would not keep the change. Where is the Task Scheduler getting the old computer name. If it is somewhere in the Registry, can some one tell me what I need to modify to get it to work?

This conversation is currently closed to new comments.

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

All Comments

Collapse -

by dmiles In reply to Task Scheduler User Name

Did Administrator change the password when changing to New Computer Name/User Name

For Pro: Start/Control Panel/Administrative Tools/Local Security Policy/Local Policies/Security options.

For Home: Manual Edit and Automated Edit

Backup your registry before modifying. Locate the following registry key:


Collapse -

by Larry52 In reply to Task Scheduler User Name

The official "Administrator" user id was not used. However, there is only one other user id configured on the system, and it has administrator rights. Could that have caused the computer name update to not be complete?

Collapse -

by willcomp In reply to Task Scheduler User Name

Have you tried re-creating the tasks? Task scheduler locks user settings and computer name is part of user name.


Collapse -

by Larry52 In reply to Task Scheduler User Name

Yes, I have blown away the tasks and recreated them. The new tasks keep coming back with the old computer name in the "Run As". I searched the Registry last night and found this entry under HKEY_LOCAL_MACHINE\Software\Microsoft\SchedulingAgent:
"Old Name = <Old Computer Name>". There is no reference to the new compter name any where in that key. Not sure if I should modify this to reflect the new name or not .......

Collapse -

by sgt_shultz In reply to Task Scheduler User Name

did you check permissions on that registry entry to see if current account having trouble changing it? because of dmiles suggestion of changed password maybe? i would export the registry entry to back it up then try modifying it. i think you are barking up right tree. and being able to change it will prove it is not a registry rights issue.
consider making a restore point or doing a repair first to backup the whole registry if you are worried...

Collapse -

by Larry52 In reply to Task Scheduler User Name

Good question on the permissions.
At this time, there is only one active user id on this machine, and there is no Windows password, so that when the machine is booted, it goes directly to the desktop.
I wasn't even aware of this old computer name vs. new computer name stuff until I upgraded to the new (v.4) version of WebRoot's SpySweeper, and my scheduled sweeps stopped working..... I have a ticket open w/ their tech support also. Maybe they will be able to chip in their "2 cents worth" soon.

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

Related Discussions

Related Forums