We scan and deploy windows workstations with Shavlik Protect Standard 9.1 (Build 4511) based on a template at a certain time. The reboot after the deployment occurs at the log off of the user.
Some patches (e. g. hotfixes of Microsoft or updates of Adobe) enforce the reboot after the deployment immediately.
Yesterday I installed the new update KB3040272 with Windows Update. (64-bit Windows 7) This gave me versions of crypt32.dll, cryptsvc.dll and wintrust.dll with version numbers higher than expected (definition version 2.0.1.3452) for the GDR branch. So now I get false positives for MSWU-1074, MSWU-772, MS13-S04, MS13-095, MSWU-629, MS12-024 and MS12-A07. Are there any prospects for Protect to better understand the GDR/LDR version numbers?
If your Certificate is does not state it is a Code Signing certificate you will need to either create one with Shavlik Patch or have your CA create one.
The purpose of this document is to show how to distribute an executable file out using the Custom Patch Editor and Custom Action deployment.
Description
Adding Software to Shavlik Folder
1) You must manually copy the software to distribute to the Shavlik Protect Console patch download folder. To find this location, go to the download folder designated under Tools > Operations.
2) Navigate to that location using Windows Explorer, and copy all the software files here.
Creating the Patch XML file
1) Go to Tools > Custom Patch Editor in the Shavlik Console.
4) Create a Custom Bulletin by either right-clicking 'Custom Bulletins' in the left hand pane and select Add new Bulletin or by clicking the 'Add Bulletin' button in the toolbar.
7) In the New Product page, add in the information on how Shavlik Protect will detect the product is installed. To find this, manually install the product and find it in the registry to populate this page. For this software, we are looking for the key NOT to exist on target machines so note that on the last line.
NOTE: Only use 64-bit registry strictly for installation of the patch on 64-bit machines. If you use a combination of 64-bit and non-64-bit machines, you can setup a second product with an update registry key (using the same procedure in Step 7) and uncheck 'Use 64-bit Registry'.
9) In the Scan Information tab, add a Patch number, select the Bulletin created in Step 5. Under Patch Type, select ‘Custom Actions’ and set a Severity option to ‘None’. This Patch Type is important to match in Step .
10) Set the Registry Keys see if the custom patch is installed. for this example, use the Registry Key from Step 7. Click on the Registry Keys tab and click the Add button at the bottom to add a key.
NOTE: Make sure the patch Bit Registry matches what you put in for the product in Step 7.
12) On the Targeting tab, select the products the install applies to. Click the arrow to move the selected target product from the lower left pane to the lower right pane. In this example, the product is being installed on different operating systems and the products affect different OS's in the bulletin.
14) Select the Language of the operating system the patch is being applied to and browse to the install file. Click the ellipses button to browse to the install file. Typically, it is a setup.exe. In this example, the ‘InstallWrapper.vbs’ file is used (third-party download and not supported by Shavlik). Add any switches for the command line of the install file (typically provided by the vendor of the patch install file)
Targeting is not required, however if not specified the update will be offered for all systems that meet the scanning requirements.
If you added a custom product it will show under targeting available products. You will first need to save the XML and import the custom XML before your custom product will appear in the list.
15) Click the Save button at the top (blue diskette) and give the XML a name.
16) In the left-pane, click on your XML you created in Step 3. Click on the 'Validate XML' button. NOTE: You should validate the XML file anytime you make modifications to the XML file. Be sure to save the file before performing the validation to ensure that you are validating the most current file.
4) Click the Save button at the bottom to save and exit the Patch Group. Using this Patch Group we will ONLY be scanning for the custom patch.
Creating a Scan Template
1) Click the ‘New’ button and select ‘Patch Scan Template’.
2) Enter a name for the template. On the Filtering tab, uncheck all patches at the bottom under Patch Properties and only select ‘Custom Actions’ (Step 9 from 'Creating the Patch XML file').
3) Select the Patch Filter settings, click the ‘Scan Selected’ option. Under the Patch Groups window, click the ellipses button and select the patch group created in 'Add a Patch Group'.
2) Name your deployment template and set your options as necessary. Go to the Custom Actions tab. Select the install files required for your patch to be installed. This will include the .exe file and the .vbs (or some other batch file script/executable). Repeat this process for the other files.
3) After adding the files, the Shavlik Protect Console needs to know what to file to run. All files will be copied to the local ‘C:\Windows\ProPatches\Install’ folder. The variable is %PATHTOFIXES%, use it in the execute line as shown:
NOTE: Repeat Steps 2-3 for each patch you setup in Step 9 from 'Creating the Patch XML file'.
4) Save the Deployment Template.
Scanning and Deploying the Custom Patch
1) Click on 'Home'. Select a Machine Group. Select a schedule. Select the Scan template from 'Creating a Scan Template'. Select the Deployment template from 'Creating a Deployment Template'. Click 'Scan Now'. Custom patches should be detected as missing and Custom Action files should be pushed, deployed and executed. This completes the custom patch install.
Additional Information
Additional information about custom patch creation and use can be found in the following articles:
This document explains how to schedule a service pack deployment to multiple machines at a time using an Agent-Less Deployment model.
Procedure
On the Protect Console, highlight multiple machines in the Machines view under View>Machines. Right click on one of the Service Packs Missing in the the pane Below. In the resulting menu, select Deploy>Service Pack and choose the desired level of Service Pack. It is not possible to select multiple Service Packs for deployment in one scheduled deployment.
This document describes the process for deploying service packs to multiple agentless machines. For information on deploying Service packs to agent-based machines, see Using a Service Pack Group
The purpose of this document is to provide additional information and troubleshooting steps on the '1783' patch install return code.
Symptoms
When deploying a patch the installer returns the status code '1783' or the patch install return code 1783 is seen within the CL5.log on the target machine. The CL5log file can be found by navigating to C:\Windows\ProPatches on the client machine.
Example:
1955-11-05T06:15:00.7034616Z 1104 I CommandLine.cpp:2638 Patch Install returned 1783: Windows6.0-KB960859-x64.msu
Cause
The 1783 return code translates to 'The stub received bad data'. This is typically indicative of an issue related to the Windows servicing store which can prevent the successful installation of OS patches, Service Packs, and additional software.
Resolution
Typically this issue can be resolved by running the Windows System Update Readiness Tool on the machine experiencing this issue. Links to the tool by OS can be found below.
Note: The diagnostic and repair functionality in the System Update Readiness Tool is built into the Operating System within Windows 8 and Windows Server 2012 machines. For additional information on running this tool using the OSs, please see the following link:
I am trying to execute a bat file which loads a powershell script. But its not working.
If you run the run.bat file it will install on the PC
As you can see by the image below it has pushed all the files and shavlik has created its own.
If you run the shavlik bat file that get created by shavlik, that script works but it just does not run on its own ?
I have used the custom action to install .exe and for other bat files with no problem, but do I have to do something different to run powershell in a bat file ?
This article provides information about the Shavlik Protect Tracker status messages.
Resolution
You can verify the deployment status by going to View> Deployment Trackeror by pressing the F9 key in the Shavlik NetChk Protect GUI.
This table lists possible statuses and their descriptions:
Status
Description
No status
Initial value set when the tracker record is created
Failed
Deployment failed for one of these reasons:
Not enough deployment seats
Not licensed to deploy this patch
Patch file is not signed
Patch file could not be found
Uninstall and the uninstall file is not specified in the XML
Uninstall but we were able to locate the uninstall file on the target machine
Copy file to the target machine failed
Almost anything else that went wrong during deployment (For example, bad credentials or could not schedule)
The message includes the reason.
Copied to machine
Files and data have been copied to the target machine.
Scheduled
Deployment has been scheduled on the target machine.
Executing
The patch file is executing.
Executed
Patch has executed and the deployment template specified no reboot.
Executed (pending reboot)
Patch has executed, and a reboot of the target machine is pending. This status is set after executing the patch file if the deployment template specifies/allows reboot. Always reboot the target after running a patch uninstall.
Reboot may be required / Installation failed
Rescan completed and found the specified patch is missing.
Successfully installed
Rescan completed and found the specified patch is not missing.
Unable to verify
Could not perform the rescan (that is, failed to connect to target machine) or the patch InstallState attribute is present but not missing or installed in the rescan results.
Canceled
Deployment was cancelled.
Install complete. Not verified
This status is no longer used.
Awaiting rescan
Rescanning the target machine. This status is set immediately prior to sending the rescan request to the scan engine.
Installed Success Inferred
Rescan did not report on the patch. It is neither missing nor installed, so tracker infers that the patch was successfully installed. This happens for patches that actually install newer versions of the product. Since the old product is no longer present on the target, the patch for the old product appears neither as missing nor as installed.
Additional Information
You can find more information about the Deployment Tracker within Protect under Help> Contents> Agentless Patch Management Tasks> Using Deployment Tracker> About Deployment Tracker.
This document will show you how to run the Console IT Script to clean up your Patch Repository.
The default location of the Patch Repository is: C:\ProgramData\LANDesk\Shavlik Protect\Console\Patches but it can be changed by in Tools > Operations > Download.
Symptoms
You are running out of space on your computer and need to clean up old patches in Protect's patch repository.
Steps
Go to Manage > ITScripts, when it is done importing ITScripts close the pop up
Under Maintenance highlight "Console Clean Up" right click and approve
The purpose of this document is to explain how to change the Protect Cloud account to a new user without losing any data or connection to existing agents.
Once completed you should be able to log into the Shavlik Protect Cloud portal with your newly created account and view the information for the console.
The purpose on this document is to provide information and a possible workaround for deployment issues caused by including GoToMeeting Update GOTOM-001 (QGTM7182553) in your deployment.
Description
The GoToMeeting download URL contains a '&' character in it. This causes an issue in the current versions of Protect when we pass the URL via XML to Protect to build the deployment files. This results in the entire patch deployment failing at the 'Building Deployment Files" which can be viewed in the Deployment Tracker.
This issue will only happen when using 'Use Vendor As Backup Source' is enabled in the Deployment Template used in the Deployment. Here are possible workarounds:
Uncheck 'Use Vendor As Backup Source' in the Deployment Template used in the Deployment.
Deploy GoToMeeting Update GOTOM-001 (QGTM7182553) separately from your other patches using a Standard Deployment Template.
Create a backup Distribution Server on the Protect console server and use it as the backup instead of the Vendor. We suggest sharing the C:\ProgramData\LANDesk\Shavlik Protect\Console\DataFiles and using this as the download location for patches. You can change the location of the download folder in Tools > Operations > Download. This way the patches and content data files are in one location on the Protect server saving space. This also makes creating a Distribution Server on the Protect console more efficient since syncs to this Distribution would not be need.
I'm using Bladelogic Server automation for applying patches, crated online catalog and using below shavlik file, but still catalog not updating MS15-006 bulletins.
1) Is it possible to schedule reboots from Shavlik?
2) Let's say I have a machine group that I scan where I scan 50 machines, but only 40 have missing patches for deployment. And then they're patched with a deployment template that reboots them before patches, which is great. But is there a way I can tell even the 10 ones that have no patches, to at least reboot at the scheduled deployment time?