Running tasks on shutdown.

Modified on Mon, 30 Dec, 2019 at 11:21 PM

You can use the Windows Group Policy Editor (GPEdit) to schedule XL Delete tasks that run on shutdown.

  1. Type in "gpedit.msc" and hit enter in the Windows search bar.
  2. Expand the "Windows Settings" folder under "User Configuration".
  3. Select the Scipts (Logon/Logoff) option.
  4. Double click on the Logoff property on the right hand pane to open the Logoff Properties dialog.
  5. Click on "Add.." button.
  6. Use the "Browse..." button on the Script Name text box to find the XL Delete executable. Usually located under "C:\Program Files\XL Delete 2\XLDelete2.exe"
  7. Enter the command line options to run in the Script Parameters text box.
  8. Press ok on all the open dialogs to close them.
  9. Windows will run XL Delete using the command line options you specified every time you shutdown.

TIP: Create a task to simplify the command line options. This will also allow you to use the /prompt option so you can skip the shutdown task manually.

Learn more about the command line options available here.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article