Threaded View
-
September 16th, 2010 08:51 PM #1
- Join Date
- Oct 2009
- Location
- The land of Hockey and Rock music
- Posts
- 5,016
- Mentioned
- 16 Post(s)
- Tagged
- 434 Thread(s)
- Sex:
How to Import (Restore) All Tasks in Bulk Using Task Schedul
if you have lots of scheduled tasks say 20 in Task Scheduler, you'll need to perform the same step again and again for all 20 tasks.
Wouldn't it be great if you can import and export all tasks in a single step?
Actually you can import (restore) all tasks in bulk using "schtasks" command but there is no way to export all tasks in bulk.
In this tutorial, we'll tell you how to use "schtasks" command to restore all tasks in bulk:
1. First take backup of all tasks using the above mentioned tutorial.
2. Now create a new text file using Notepad and paste following code in it:
Code:@echo off echo Importing All Tasks echo. schtasks.exe /create /TN "Task 1 Name" /XML "Full_Path_of_Backup_XML_File" schtasks.exe /create /TN "Task 2 Name" /XML "Full_Path_of_Backup_XML_File" schtasks.exe /create /TN "Task 3 Name" /XML "Full_Path_of_Backup_XML_File" echo. echo Importing Done echo. pause
4. Replace "Full_Path_of_Backup_XML_File" with the location where you saved the backup tasks. e.g. "D:\Tasks Backup\Mother Birthday.xml".
5. Save the file with any name but the extension must be .BAT. e.g. you can save the file as "Restore Tasks.Bat". Make sure to use double quotes "" otherwise Notepad will save the file as a text file.
6. That's it. Once you create the file, run it and it'll start restoring all the tasks in Task Scheduler.
Now you'll never need to create all your important tasks each time you install a fresh Windows or work on a new computer. Just import all the tasks on the fly using the above mentioned batch file.
PS: You can use the same Batch file for restoring any number of tasks. Simply add an entry for the desired task mentioning its name and location.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Windows 8.1 Theme Import By Your Choice
By Lamia in forum Windows 8 & 8.1 Theme Help & SupportReplies: 26Last Post: April 9th, 2017, 11:33 AM -
Custom Import Scripts Import for Windows 7/8.1?
By Shemhamforash in forum Miscellaneous questionsReplies: 12Last Post: May 9th, 2016, 02:49 PM -
Cannot Resize or Replace image upon Import
By mistrjosh in forum Windows Style Builder v1.5 TutorialsReplies: 0Last Post: May 27th, 2014, 04:56 PM -
Bulk Rename Utility 2.7.1.2 silent installer
By razorsedge in forum Unlockers and renamersReplies: 0Last Post: July 22nd, 2012, 05:31 AM -
How to Import / Export (Backup / Restore) Tasks Using Task S
By razorsedge in forum Setup TutorialsReplies: 0Last Post: September 16th, 2010, 08:50 PM
Looks awesome!
Post Your Windows 11...