Quantcast
Channel: Shavlik User Community : All Content - Ivanti Patch for Windows
Viewing all 2126 articles
Browse latest View live

Deciphering the Patch for Windows Deployment Tracker Status Messages

$
0
0

Purpose

 

This article provides information about the Patch for Windows Tracker status messages.

 

Resolution

 

You can verify the deployment status by going to View> Deployment Tracker or by pressing the F9 key in the Patch for Windows GUI.

 

This table lists possible statuses and their descriptions:

 

StatusDescription
No statusInitial value set when the tracker record is created
FailedDeployment 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 machineFiles and data have been copied to the target machine.
ScheduledDeployment has been scheduled on the target machine.
ExecutingThe patch file is executing.
ExecutedPatch 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 failedRescan completed and found the specified patch is missing.
Successfully installedRescan completed and found the specified patch is not missing.
Unable to verifyCould 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.
CanceledDeployment was cancelled.
Install complete. Not verifiedThis status is no longer used.
Awaiting rescanRescanning 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 Window

 

Affected Products

 

Patch for Windows 9.3+


Resolving database upgrade timeout failures for Patch for Windows

$
0
0

Purpose

 

Customers with a large number of previous scan results and/or a slow or a heavily loaded SQL server may experience a failure when upgrading their Patch for Windows database from one version to another.  This document is will provide a resolution for database upgrade issues where the root cause for the failure is a database connection timeout.

 

Symptoms

 

You receive a message such as the following within the GUI or a pop up window of the upgrade:

  • Database conversion error
  • Database connection timeout
  • Failed to commit the database installation or upgrade

 

AND

 

The ST.DatabaseConfiguration.log may contain one of the following errors:

System.Data.SqlClient.SqlException: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

DBInstallWizard.WizardFinishClick|Failed to commit or save the database installation.: A SQL Server query operation timed out. Consider increasing the command timeout in the configuration file.

SqlError message: 'Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.'

 

Cause

 

The database upgrade process may be taking longer than the default allotted timeout period, or the connection to the SQL server may be slow/unstable.

 

Resolution

 

There are two suggested steps to work around this issue:

 

1) The SQL transaction log may be significantly larger than necessary.  Using SQL Server Management Studio, verify that the transaction log for your database is set to grow or has a max size setting that is large enough (we have seen 4GB databases require 12GB for logs).  Do a FULL back up of the transaction log to force its truncation.  This is a good practice to verify that enough free disk space is available to perform the upgrade process.

 

2) The database upgrade function may be timing out on a single command.  The default command timeout is 30 minutes.  This timeout is implemented to provide feedback in case the command is not responsive or hangs.  However, in some environments altering tables with large amounts of data may require more than 30 minutes to complete.

 

If the upgrade failure was related to a timeout, this timeout value can be by running the installer with an extra parameter from command line as follows:

 

For instance: Patch for Windows 9.3.4510:  "IvantiPatchForServers_9.3.4510.exe"  /wi:"DBCOMMANDTIMEOUT=10800"

The value is in seconds (10800 equals 3 hours)

 

Affected Products


Patch for Windows 9.3+

Why Ivanti Patch for Windows patch scan results may differ from Windows Update

$
0
0

Purpose

 

An explanation of why Ivanti Patch for Windows patch scan results may differ from Windows Update

 

Solution

 

The patch detection method and logic Patch for Windows and Windows Update is fundamentally the same, yet different in it's execution and scope.

 

Patch for Windows will scan for Microsoft and 3rd party updates while a Windows Update scan will scan for Microsoft updates only.  Both products have the ability to scan for Security Patches, Non-Security Patches, Security Tools, but Windows Update will include driver updates which are not support by Patch for Windows.

 

Windows Updates for the most part won't allow you to filter the scan results, it will attempt to identify all required Microsoft patches on the client. Depending on the Scan Template you are using in Patch for Windows, the results will vary. For instance; the built-in Security Patch scan will only show missing Microsoft and 3rd party security patches and the WUScan scan will scan for Microsoft and 3rd party security patches and non-security patches.

 

Patch for Windows uses a variety of detection methods determine is a patch is Installed or Missing on the client. The process is detailed in the document Explanation of how patch scan detection works in Patch for Windows

 

Administrators can view files and registry entry criteria by searching for the patch in View > Patchesof the Patch for Windows main menu.  Viewing Patch Details

 

Affected Products

 

Patch for Windows 9.3+

How to create a Custom Patch in Patch for Windows

$
0
0

Purpose

 

The purpose of this document is to outline the process for creating a custom patch, and to provide an example of how to create a custom patch using Patch for Windows.

 

If you have any questions about whether a product or patch is supported in Ivanti Patch for Windows Servers, please contact support before creating a custom patch. A mis-configured custom patch could cause your console to work incorrectly so it is important that you follow these instructions precisely

 

                

Description

 

Create a Custom XML

 

1. Open the custom patch editor. Tools > Custom patch editor

 

Custom patch editor.PNG

 

2. Click on Create a new custom XML file.

 

Create a Custom Product

You can add a Custom Product if this patch relates to a specific product. Although this step is not necessary it will add detection for the product itself.  In this case it is not needed as the product is the operating system. Adding a custom product will allow you to target that application for the patch. If the product is not detected it will not look for the patch.

 

In this example, I create a product called X-Zip. You will need to provide a HKEY_LOCAL_MACHINE registry key path for the software as well as the corresponding information.

Custom product.PNG

 

Create a Custom Bulletin

 

1. Click insert, then Add Bulletin (or right click Custom Bulletins > Add New Bulletin).

2. Give the bulletin a name. In this example I used HF01-001 because it is a hotfix.

3. Give the bulletin a title which typically this will be a description. In the summary portion provide any important information.

 

Bulletin.PNG

 

The only required field is the bulletin name.

 

Create a Custom Patch

 

1. Click on Insert and add a custom patch (or right click Custom Patches > Add New Patch).

2. Give your patch a name. In this example I used the KB as the patch name.

3. Select the bulletin you created in the above steps.

4. Select the type of patch, and the severity.

Custom patch.PNG

 

5. From here you will add the detection information in the Scan Information tab.

This step is very important as it will identify if the system needs this patch or not. If this is a MS patch, their KB on the patch will indicate what files or registry keys are used when detecting if the patch is needed. If this is not a MS patch and you are not sure how to detect it, it is recommended to install the patch on at least one machine to verify what files and/or registry keys are involved. In the example below we are using a file to detect if the patch is missing.

File Details.PNG

 

6. You can also target a particular application or operation system using the targeting tab. In this case, since this update is only applicable to Windows Server 2008 SP2 and Vista SP2 I selected all corresponding operating systems.

  • 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.

Targeting.PNG

 

7. On the deployment tab browse to the location of the patch and select it. Patch for Windows will automatically fill in the file size. Select any install switches that are required or desired for the patch deployment. In this case since the file is a .msu we need the /quiet switch.

Deployment info.PNG

Click the link for more information on using .msu files: http://community.shavlik.com/docs/DOC-1902

 

Import/Validate your XML

 

1. Next you will need to validate your XML. There will be more information in the issue column if the validation fails.

Validate.PNG

 

2.  Save your custom XML, and then click the X to close the dialog box. This will prompt for you to import the custom patch.

3. Click import now.

Import now.PNG

 

4. When the below dialog box pops up select your Custom XML file and click OK. It goes through a second validation.

Validate xml.PNG

 

5. After validation the Import Patch Definitions process automatically updates the database with the latest definitions, including the newly created custom XML. If you created a custom product you should see it added as well.

Import definitions.PNG

 

Scan and deploy to your machines.

 

1. Once the definitions are updated proceed to scanning your machines.

  • Be sure to copy the patch to the patch repository on the console so it is available for deployment. You can locate your patch repository by going to Tools > Operations, under Patch download directory.
  • Make sure that the scan template you're using includes the patch filter type that applies to your custom patch when scanning (i.e. Security Patch, Non-Security, Security Tool, etc.)
  • We recommend testing with one machine that needs the patch to verify everything is working properly.

Scan Complete.PNG

 

2. Deploy the patch and verify it installs properly. You should now also be able to look up and view your custom patch using View > Patches in Patch for Windows.

 

Additional Information

 

Additional information: Creating A New Custom XML File

 

Affected Products

 

Patch for Windows 9.3+

How to increase the database timeout for Patch for Windows

$
0
0

Symptoms

 

  • Patch for Windows reports database timeout errors.
  • In the ST.Protect.managed.log file, you see may see an error such as the following:

System.Transactions.TransactionAbortedException: The transaction has aborted. ---> System.TimeoutException: Transaction Timeout

ScanSummaryPresenter.IsRecoverable|A SQL Server query operation timed out. Consider increasing the command timeout in the configuration file

 

Resolution

 

You need to increase the database timeout period:

Close the Patch for Windows application before proceeding.

 

1.Navigate to C:\Program Files\LANDesk\Shavlik Protect.

2.Locate the ST.Data.Config file and open it using a text editor.

3.Change this entry: st.data commandTimeout

From: st.data commandTimeout="30"To:
To: st.data commandTimeout="3600"

This increases the timeout period allotted for transactions with the database. This number is in seconds and you can set the number to a higher value as required. 3600+ is the recommendation value for most timeout issues.

 

4. Save the changes for the ST.Data.Config file.

5.Re-open your Patch for Windows console, and test to see if the issue is resolved.

This setting is not maintained during a re-install or upgrade.  Also, running the Database Setup Tool will revert this setting to 30 seconds.

 

Affected Products

 

Patch for Windows

Patch for Windows Landing Page

$
0
0

Overview

 

Welcome to Ivanti Patch for Windows, a unified IT management platform used for managing and protecting Windows-based machines and VMware ESXi Hypervisors. Ivanti Patch for Windows Server provides you with one centralized and common interface that you can use to perform several essential IT management functions. In 30 minutes or less, start managing your physical and virtual machines, software, patches, ITScripts and energy costs.

 

Ivanti Patch for Windows Servers

(Previously known as Shavlik Protect)

 

Software and Technical Documentation

 

Patch for Windows:

 

Licensing Information

 

Patch for Windows:

 

Best Practices & How To's

 

Patch for Windows:

 

Troubleshooting Common Issues


Patch for Windows: Installation & Upgrade

 

Patch for Windows: Obtaining Trace Logs

 

Patch for Windows: Scan & Detection

 

Patch for Windows: Patch Deployment & Shavlik Scheduler

 

Patch for Windows: Database Related

 

Other Useful Information

 

Patch for Windows:

Viewing all 2126 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>