Quantcast
Channel: Shavlik User Community : Document List - All Communities
Viewing all articles
Browse latest Browse all 1352

Setting up the Custom Action to Remove the Remote Scheduler for Protect version 9

$
0
0

1.     These steps are intended for use if you need to remove the Shavlik (ST) Remote Scheduler service from multiple systems.

  1. 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:
    1. Stopscheduler.bat
    2. DeleteScheduler.reg
  2. 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:
    1. For Vista/2008/7/8/2012: C:\ProgramData\LANDesk\Shavlik Protect\Console\Patches
    2. For 2003/XP: C:\Documents & Settings\All Users\Application Data\ LANDesk\Shavlik Protect\Console\Patches
  3. 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.
    1. The scan template should have the Patch Type Filter set to ‘Scan Selected’ with only the ‘Custom Actions’ patch type selected.
    2. No other settings need to be changed in the template. Click Save.
      scanTemplate.jpg
  4. Create a new Patch Deployment Template, and call it “Custom Action to Remove Scheduler”. Make sure to set the following settings:
    1. 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.
      deployTemp1.jpg
    2. Go to the Post-deploy Reboot tab, and set this to ‘Never reboot after deployment’.
      deployTemp2.jpg
    3. 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:
      1. Step 3: Push File; Step 4: Path to the Stopscheduler.bat
        custAction1.jpg
      2. Step 3: Push File; Step 4: Path to the DeleteScheduler.reg
        custAction2.jpg
      3. Step 3: Before any patches; Step 4: CALL %pathtofixes%Install\Stopscheduler.bat
        Capture.JPG
      4. Here is what the complete custom action should look like (all steps):
        custAction4.jpg
  5. 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.
    scanResult.jpg
    1. Right click and choose to deploy. Then make sure to choose your deployment template of Custom Action to Remove Scheduler.
    2. 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.
    3. *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.






Viewing all articles
Browse latest Browse all 1352

Trending Articles