I have some tasks in the Task Scheduler on Windows 2008 R2. I created them as the admin and I'm logged in as the admin. I have no easy way to rename the tasks. The only way I can is to export the task config to a XML file and re-import to a new task, change the name there, then delete the old task. Is there an easier way?


Congratulations! You've come up against a problem that has stumped many a Windows user/admin. No, you cannot rename a task except for exporting, renaming and importing again. Yes, it's rather silly. Perhaps an enterprising scripter could create a simple PowerShell script that automates this, but until then, you're stuck with your export/import two-step. Sorry. =(

(You also can't rename a task folder after you've created it.)

  • 1
    If you go rename the folder, the task will disappear. Sad face. – JohnThePro Jan 7 '11 at 18:01
  • 1
    Also, if you rename the tasks in the Windows\tasks folder, the task disappears in Task Scheduler until you rename the task back. – Wesley Jan 7 '11 at 18:15
  • 25
    Grrrrr, arghhhhhh! I wonder how on earth this silly limitation came into existence? Renaming is hardly an "exotic" task that users will rarely ever want to do. It's very puzzling. – Doctor Jones Feb 17 '11 at 14:10
  • See steps in MS10-092: "Vulnerability in Task Scheduler could allow for elevation of privilege." It explains the file(s) and registry changes needed to fix issues you might have with task errors. Still no easy way to rename them. support.microsoft.com/en-us/kb/2305420 – Bratch Feb 5 '16 at 1:30
  • @Bratch If a human can follow precise, consistent steps to rename a task then so can a computer. – Jake Aug 12 '17 at 10:29

Not the best way but can be a life saver.

Tasks are stored in C:\Windows\System32\Tasks in XML format importable using schtasks.exe. As Weasly told, renaming the file doesn't work but Create/Delete will. That said, you need the running user password (that you have)

Compared to Weasly's suggestion, it just skips the export phase.

  1. create a second task using the first as template
  2. remove the original

Using srcname and dstname and an admin shell in Tasks folder:

C:\Windows\System32\Tasks>schtasks /Create /tn dstname /xml srcname /ru [running username] /rp [password]
SUCCESS: The scheduled task "dstname" has successfully been created.

C:\Windows\System32\Tasks>schtasks /delete /tn srcname /f
SUCCESS: The scheduled task "srcname" was successfully deleted.


  • With a little bit of scripting, you can rename a large bunch of tasks without effort
  • If needed you should be able to extract the original RU from the XML (in node Task/Principals/Principal/UserId)
  • If you want schtasks to ask for the password, simply remove /rp [password] portion

Unfortunately not. That's the way this is done now. I believe it's for security purposes, so that set tasks cannot be modified while they are actually setup and enabled.

  • 5
    If I am already logged in as ADMIN, as I must be to create a tasks, how is this a 'security feature'? – user86327 Jul 1 '11 at 8:08
  • Also, if you change anything about a task once it's configured you get prompted for credentials again, so if it's some kind of security issue handle it the same way you handle changing anything else. – Kurt Koller Jun 2 '12 at 17:01

Please be sure before you answer "Cannot do this", "Impossible", etc.

Check out this power shell script.

  • 7
    Quote from that site: I don't know the reasons for the omission of this seemingly simple feature, but there is a workaround: Export the task as an XML file, import the task to create a new task with the new name, then delete the old task. So, it does what the accepted answer suggested - only automated. Renaming is still impossible. – faker Jul 2 '12 at 13:42
  • 1
    The OP already knows that there's no rename operation (export and reimport with new name is the only way). He asked if there is an easier way. Yes; an easier way is to use the PowerShell script. – Bill_Stewart Dec 18 '13 at 15:39
  • 4
    Please quote the relevant part from the link. Link-only answer is not encouraged since when the link rots, the answer becomes unuseful. – Andrew T. Nov 7 '14 at 10:41
  • Exporting and importing with a new name seems much simpler, unless it's something you need to do through PowerShell for some reason. – Brian Burns Sep 16 '15 at 11:46
  • windowsitpro.com/article/scripting/… not found – Kiquenet May 16 '18 at 8:09

One possibility is, to export the task, delete the task, rename the file and import it again.

A good description can be found here: Rename task in task scheduler


Yes it's possible ! Just export the task (right click on the task / Export...) as an XML file (on the Desktop for instance). Then, delete the task in the Tasks Scheduler and right click / Import a task. Choose the previously saved XML file, rename the task and save it. Voila.

  • 7
    This is actually the same answer as the one accepted 4 years ago, not really a worthwhile addition... – HBruijn Jul 8 '14 at 17:58
  • I wouldn't say it's not worthwhile - it explains the steps in more detail than the accepted answer, though it might have been better to edit that answer instead. – Brian Burns Sep 16 '15 at 11:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.