You can use the Windows Group Policy Editor (GPEdit) to schedule XL Delete tasks that run on shutdown.
- Type in "gpedit.msc" and hit enter in the Windows search bar.
- Expand the "Windows Settings" folder under "User Configuration".
- Select the Scipts (Logon/Logoff) option.
- Double click on the Logoff property on the right hand pane to open the Logoff Properties dialog.
- Click on "Add.." button.
- 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"
- Enter the command line options to run in the Script Parameters text box.
- Press ok on all the open dialogs to close them.
- 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.