Task Scheduler error which is very common now and you get an error message as a task or folder with this name already exists.  Let me show you what exactly happens and how we can fix this with a workaround.

Also let me know if you get something different which may also help you to solve this issue: Task Scheduler error “A task or folder with this name already exists”

When you try and create a new Scheduled Task via the command line (schtasks.exe), the following error appears:

“WARNING: The task name “PERFTEST” already exists. Do you want to replace it (Y/N>?”

If you hit Y, then this message will appear:

“ERROR: Cannot create a file when that file already exists.”

A task or folder with this name already exists

A task or folder with this name already exists

When you try and create the same task via the taskschd.msc snap-in, this message is displayed:

An error has occurred for task test.  Error message: A task or folder with this name already exists.

 

A task or folder with this name already exists

A task or folder with this name already exists

When you click OK, the following error appears:

“Transaction support within the specified resource manager is not started or was shut down due to an error”

A task or folder with this name already exists

A task or folder with this name already exists

After you click OK, the task is not created.

Looked for some workaround and also trying to understand the issue which is causing this Task Scheduler error “A task or folder with this name already exists” but finally able to identify that issue is caused by the corrupted transaction log file. To fix this Task Scheduler error you need to follow the below steps

  • Open up an elevated CMD prompt
  • Type in the following and hit enter: “fsutil resource setautoreset true c:
  • Reboot
  • After your machine reboots, you should be able to create new Scheduled Tasks now

NOTE:  I’ve only seen this on Windows 2008 R2 SP1 thus far, and will update this blog post if seen on other Operating Systems down the line.

Also you can learn about Fsutil Commands

I would like you guys to share your feedback and comments on these suggested steps and let me know if you find anything else which can also solve this issue or for any other OS version.

newsletter-aik

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!