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

Custom Action - 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:
      • Step 3: Push File
      • Step 4: Path to the Stopscheduler.bat
        custAction1.jpg
    4. Create another action like the one above, this time for the DeleteScheduler.reg file. 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:
      • Step 3: Push File
      • Step 4: Path to the DeleteScheduler.reg
        custAction2.jpg
    5. Now create a new action to stop the scheduler service. This one will differ from the previous 2 actions by having step 3 occur "before any patches".
      • Step 3: Before any patches;
      • Step 4: CALL %pathtofixes%Install\Stopscheduler.bat

Capture.JPG

Here is what the complete custom action should look like (all steps):
custAction4.jpg

Using the custom action scan and deployment template

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