1. These steps are intended for use if you need to remove the Shavlik (ST) Remote Scheduler service from multiple systems.
- Please download the attached zip file at the bottom of this document called "RemoveScheduler.zip". Extract the files from this zip. The files have been renamed to avoid conflict during download so you will need to make sure they are named as follows:
- Stopscheduler.bat
- DeleteScheduler.reg
- Create a folder to contain these files for deployment. We recommend creating a folder titled RemoveSched or similar under your current patch repository (patch download directory). The default patch repository is located in the following:
- For Vista/2008/7/8/2012: C:\ProgramData\LANDesk\Shavlik Protect\Console\Patches
- For 2003/XP: C:\Documents & Settings\All Users\Application Data\ LANDesk\Shavlik Protect\Console\Patches
- Create a new patch scan template within Protect, and call it “Custom Action Scan”. This scan template can be used for future custom action scans as well if you like.
- Create a new Patch Deployment Template, and call it “Custom Action to Remove Scheduler”. Make sure to set the following settings:
- On the General Tab, deselect the ‘Send Tracker status’ option. This change is so that the tracker doesn’t falsely report the deployment as failed. Be aware you will not receive a tracker status for this deployment.
- Go to the Post-deploy Reboot tab, and set this to ‘Never reboot after deployment’.
- Go to the Custom Actions Tab, and Click ‘New’ to create a new step in the custom action. All of these will use the setting at the top as ‘All deployments using this template’. Set up the following:
- On the General Tab, deselect the ‘Send Tracker status’ option. This change is so that the tracker doesn’t falsely report the deployment as failed. Be aware you will not receive a tracker status for this deployment.
- Run a scan on any machines you wish to remove the scheduler from using the Custom Action Scan template that you created. You should see the dummy patch (bulletin MSST-001) shown as missing. This will always show as missing.
- Right click and choose to deploy. Then make sure to choose your deployment template of Custom Action to Remove Scheduler.
- This will not push any actual patches, but it will allow the custom action in the template to run. It will in turn remove the registry key for the scheduler.
- *Important* The the next time you deploy patches the scheduler service will be reinstalled. You can also reinstall the scheduler service by going into the Protect console under Manage > Scheduled Tasks. Right click on a system in the left column, then choose Scheduler Service > Install.