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

Distinguish between server and workstation

$
0
0

How does Shavlik distinguish between server and workstation?  I have two machines in the same OU in AD.

One is an XP and the other is Win7.  Both are workstations.

 

The machine group I have setup, scans multiple containers just for Servers, and it is marked that way.

But the XP machine is reported as a server.

 

I have other examples as well, including thin devices with Windows Embedded OS that are scanned as a server as well.

 

Why would this be?

Is there a attribute I can set, to make sure these machines are skipped?


Re: Distinguish between server and workstation

$
0
0

I would also like to know the difference between a W/S and Server license? Where in the registry is this info found?

Automatic Uninstall

$
0
0

Our company ran into an issue where our patch agents were not able to read the policy or license zip files due to our encryption system.

 

We've since rolled out a fix, which is to decrypt those 2 files. It's corrected our problems on a lot of the systems but our check in numbers remained very low compared to the number of systems we have out there.

 

After digging in a little further, it looks like a ton of systems ran an automatic uninstall of the agent as seen in the STagentupdater.log:

 

 

2014-10-15T11:57:02.8633762Z 0f38 W AgentEnvironment.cpp:230 Can not read expiration from license package. Falling back to unregistered behavior. Error: 'class STCore::CInvalidOperationException at Opc.cpp:620: Did not find the signed xml part in the container'
2014-10-15T11:57:02.8733762Z 0f38 V STAgentUpdater.cpp:719 Automatic uninstall date is 'Wednesday, October 15, 2014 11:30:26 AM'.
2014-10-15T11:57:02.8733762Z 0f38 W STAgentUpdater.cpp:722 Automatic uninstall date has been reached. Uninstalling the agent.

 

Can someone tell me what the criteria is that would trigger an automatic uninstall, where that is set and if it is configurable? I looked in the KB and in the help files but couldn't find anything.

 

Thanks

 

Q2880516/MSWU-972 shows as Missing, but when run it's Already installed

$
0
0

Hi there,

 

Just noticing that on a number of our SharePoint servers, Q2880516 shows as missing.  But when I run the patch on the server manually, the installer says it's already installed.  Shavlik does not indicate that it's been superseded.

 

I see that Shavlik is checking for presence of registry key 'SOFTWARE\Classes\Installer\Patches\CBDDAFC89662E564EADC56787E54A6B6\SourceList\PackageName', and indeed this key doesn't exist.

 

However, the Microsoft KB article for this patch doesn't specify that key for determining if the patch is installed.  Instead, it lists a number of files and their versions for detecting whether it's installed or not.  I checked a few of them, and in fact I have the required versions or newer. 

 

In googling this issue, I see that there have been other SharePoint patches in the past that contained files that were also included in different patches.  So perhaps this is the case here too - the files are present on the system because they are part of other SharePoint patches that have been installed.  Perhaps Q2880516 needs to check file versions in order to determine if it's missing or not.

 

Same is happening with SharePoint patches Q2553298/MS13-100 and Q2553408/MS13-067, but I thought I'd focus on just one of the three to raise the issue.

 

Could we adjust the patch detection so they stop showing as missing?  Please let me know if you need more info like a list of patches already installed on this server, etc., and I can provide.

 

Thanks,

Sandra

PROBLEM TOMCAT & JAVA WHEN PERFORMING WINDOWS SECURITY PATCHES

$
0
0

Hello,

Is there someone who can help me debugging the shavlik probleme i meet:

I make regularly Windows security patching for our society. I meet some problems every time for which here is the summary below.

Thank you please for your help.

1/ - Shavlik has some limitation for the patching of tomcat or java.
Shavlik first uninstalls tomcat or java then it installs the new version but in the default installation path.
In our case on the “Remedy” servers, tomcat and java are installed in a specific patch on the D drive.
For tomcat the problem is clearly identified: shavlik uninstalls tomcat from the D drive;

the customized configuration files still remain on the D drive after the uninstallation.
After that, shavlik installs tomcat on the C drive and when the tomcat is started, the configuration files are not found and the tomcat starts with an empty configuration.
QUESTION : Why Shavlik doesn’t install (upgrade) in the same path were it makes the uninstallation??

2/ after patch installation on some SLQ servers there are some services which don't work. When we restart them, we have a Time Out.
- Some time, the applications don't work correctly after windows patching.
Please have a look at this and help me resolving the problems
=============================
3/ There are two times then i rollback the patches installation on SQL server. After patches

installation, there are some services which don't work. The last tweek i patch some servers and

at monday morning we have many problems to restart the reporting service. We think that the patch

2800095 has a relation with the issue but we are not sure.
I need someone speaking french to debug this, if not let’s go in english

=============================================================

4/ Other message post patching

The application-specific permission settings do not grant Local Launch permission for the COM

Server application with CLSID
{24FF4FDC-1D9F-4195-8C79-0DA39248FF48}
and APPID
{B292921D-AF50-400C-9B75-0C57A7F29BA1}
to the user NT AUTHORITY\SYSTEM SID (S-1-5-18) from address LocalHost (Using LRPC). This

security permission can be modified using the Component Services administrative tool.

How to Troubleshoot A Failed Patch Install

$
0
0

Description


  • After deploying patches, one or more patches still show as missing.
  • While deploying, the deployment tracker lists an error.

 

Cause


The cause of a failed deployment can vary greatly. This document will serve as a way to troubleshoot and identify common issues that can cause a failed deployment.

 

Do Patches Download?


When initiating a deployment, Shavlik Protect will initiate the deployment process by downloading the Patches from the vendor to a local repository.

To identify if the patch was downloaded, examine the Patch Download column within the scan results.

  • If the icon is a Green Arrow that says 'Yes', it indicates it is currently downloaded and saved in your patch repository.
  • If the icon is a Gray Arrow and says 'No', this indicates the patch is not downloaded.
  • If there is no icon, this indicates the patch is not available to be downloaded through Protect and is only available for reporting purposes.

 

If you are in an offline environment (i.e. the Protect console has no internet connectivity), and your patch is in the Patch Repository, but the download icon is Gray and says 'No', it may need to be renamed to the Shavlik Name.

Related Document: Patches' Shavlik Name


YES - Patches Did Download

If the patch(es) downloaded successfully, and show as downloaded in Protect (green download icon that says 'Yes'), proceed on to the next step.

NO - Patches Did Not Download / Patch is not in repository

If the patch is not located in the Patch Repository, the issue may be a failure attempting to download the patch.
To test the potential cause of the issue, navigate to the logs directory, and open the ST.Protect.Managed...Log file. This will contain the attempted download information.
Identify the entry in your log related to the patch in question.Example:This is the entry in the ST.Protect.Managed...Log file indicating a download of 7-Zip patch: Q7ZIP920N, 7ZIP-001, Software Distribution
2013-12-17T23:49:47.4748336Z 0001 V SingleFileDownload.cs:481|Downloading from 'http://surfnet.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7z920.msi' to 'C:\Users\Nevans\AppData\Local\Temp\stb537e574-5adb-4efa-8e7d-b2a962290085.tmp'.


Troubleshooting Possible Download Issues

  • Firewall, proxy, or anti-virus settings prohibiting downloads
Try copying the URL directly into a browser to download it. Make note of any warnings or prompts that indicate a file has been blocked by firewalls, proxies, or anti-virus. If any warnings occur regarding the download being blocked, identify what in your environment issued the prompt and whitelist (allow) the patch.
  • No Internet connectivity
Try copying the URL directly into a browser to download it. If you are unable to connect to the Internet, you will not be able to download any externally hosted patches.
  • Downloads are set to a Distribution Server/Share that does not have the file available
When viewing the download entry in the ST.Protect.Managed...Log it lists the source as a local/network share. If your download source is set to a Distribution Server, the patch must exist on the specified Distribution Server to be able to download from it. If it does not exist on that share, there will be nothing to download, and it will fail.

Example:
2013-12-18T22:08:56.5798742Z 0001 V SingleFileDownload.cs:563|Download Error 'file://nevans-pc/DistributionServer/7z920.msi'.
2013-12-18T22:08:56.5803742Z 0001 V DownloadItem.DownloadFileCompleted|7z920.msi not downloaded: Connection lost: Could not find file '\\nevans-pc\DistributionServer\7z920.msi'.

To correct this, download the patch to the share, or change the download source to the vendor.
You can switch the download source by going to Tools> Operations> Downloads> Patch and Service Pack download source> select Vendor web sites to download the patches directly from the vendor.

1-download source.png
  • Vendor removed the patch from the specific url
Try copying the URL directly into a browser to download it. If you receive an error from the vendor site such as a "404 Not Found", this may indicate the patch has been moved or removed by the vendor. Verify you are using the latest Patch data by performing a Help > Refresh Files. If you are using the most up-to-date Patch data and the issue persists, please open a case with Shavlik support identifying the Patches Q#, the URL you are seeing have an issue, and the version of Patch deployment (file on disk) as found under Help > About > Version Info.

 

Did Patches Copy To The Target?


After the patches are downloaded, they are copied to the target machine to the directory C:\Windows\ProPatches\Patches\

 

YES - Patches Did Copy to C:\Windows\ProPatches\Patches\

If the patch(es) did copy to the target machine, proceed to the next step.

NO - Patches Did Not Copy to C:\Windows\ProPatches\Patches\

If the patches fail to copy to this directory they cannot be called to install. ***pushing vs target calling

Troubleshooting Possible Copy Issues

  • Does the Target have Anti Virus Software?
    • Anti Virus software may delete patches that get copied to the target based on their settings. Try disabling any Anti Virus on the target to see if the patches will copy to the target machine for installation.
  • Is the Deployment Template using a Distribution Server?
    • This can be verified by opening the Deployment Template and going into the Distribution Server tab. If 'Use Distribution Server by IP Range' is selected, verify the patch exists on the appropriate DS.
    • Alternatively, choose to use 'Console Push'. This will cause Protect to copy the patch from the Console itself, as opposed to having the target initiate a copy form the Distribution Server.

2-deployment template copy from ds.png

 

Did The Batch File Run?


After the patches are Copied to the Target machine, a batch file that contains the necessary installation switches is also copied to the target. This file is located under C:\Windows\ProPatches\Install\. The last thing the Batch file will do after it runs, is rename itself from a .BAT extension to a .HIS extension. If the extension has changed, that indicates the patches should have all been executed (thought not necessarily successfully).

 

YES - Batch File Ran and Has .HIS Extension

If the Batch file has a .HIS extension, proceed to the next step.

NO - Batch File Did Not Run and Has .BAT Extension

If the Batch file still has a .BAT extension, this indicates the patches have not all finished running. There are a few reasons this might happen.
  • One of the patches is still running.
    • If a patch is still in the process of running, the batch file will not have received the return information to rename itself. This can be caused by a patch taking a long time to install (which is may not actually be a failed install, but may still be in progress). It is also possible for a patch to get hung up if the machines resources are being heavily utilized, or if the patch has received incorrect silent switches. To troubleshoot these:
      • Patch is still installing- Look for the patch in the list of active processes. End the process if found to continue to the next patch in the deployment.
        • Alternatively reboot the target, and re-deploy.
      • Patch is frozen while installing - Look for the patch in the list of active processes. End the process if found to continue to the next patch in the deployment. If the patch continues to have this behavior it may have an incorrect switch being passed to it. Ensure you are on the latest xml data by performing a Help > Refresh Files, and try deploying again. If the issue persists, contact Technical Support with the Q# of the patch, your Assessment Version and Deployment Version (located under Help > About > Version Info) and the OS of the target machine.

 

Are There Errors In The CL5.log?


When patches are executed on the target machine, they log their exit codes in the file: C:\Windows\ProPatches\Cl5.log


Open the Cl5.log file and search for the patches name. There should be an entry that looks similar to this:
2013-12-19T17:20:57.4472656Z 0e88 I CommandLine.cpp:2157 Patch Install returned 0: Patchname.exe

If the patch is installed successfully, it returns '0'.
If the patch requires a reboot, it returns '3010'.
If the patch returns any other code, it is an error and the code needs to be troubleshot. The error will typically be searchable online for what it corresponds with. Alternatively, trying to run the patch manually should give you a prompt indicating the error.


Example:
This is a successful install of the patch 7z920-x64.msi
2013-12-19T17:20:57.4472656Z 0e88 I CommandLine.cpp:2157 Patch Install returned 0: 7z920-x64.msi


NO - CL5.Log Has No Errors

If the CL5.Log file has no errors, proceed to the next step.

Yes - CL5.Log Has Errors

After finding the Patch Install Returned line and the exit code that was returned, search the error code online. Common phrasing to search the error code include 'Patch install exit code [exit code value]'
Once you have located the error associated with the exit code, troubleshoot the specifics of the error accordingly.

Example:
The patch install returned a value besides '0' or' 3010', so we suspect an error.
013-09-25T20:15:52.8975412Z 16e4 I CommandLine.cpp:2157 Patch Install returned 17025:oart2010-kb2553157-fullfile-x86-glb.exe An online search for 'Patch install exit code 17025' locates a Microsoft article with the error message that corresponds to the error code:
17025 = Patch Already Installed
Note:
If unable to locate an associated error with the exit code found, running the patch manually will typically present a pop up with the error message. See Next Section for more information.

 

Do You See Errors When Installing The Patches Manually?


When a patch finishes executing it will return an 'exit code' that is logged into the file C:\Windows\ProPatches\Cl5.log (covered in previous section).


If the Cl5.log shows an exit code other than 0 or 3010, this typically indicates an error occurred. If searching online does not yield an answer to what the exit code means, running the patch manually will usually provide an error message to troubleshoot from.
To run the patch manually, on the target machine navigate to C:\Windows\ProPatches\Patches\ and find the patch to be tested. Double click the file to run it. Often times the error will be immediate upon running, where some patches require clicking through several steps before the error occurs.


Note:If the patch does not return an error, the may install successfully. If this occurs, in order to troubleshoot why it failed to install from Protect, the patch must first be uninstalled so a reinstall of the patch via Protect can occur for testing purposes.


YES - Running the Patch Manually Returns Error/Fails

If the patch returns an error when running, get a screenshot of the exact error message (this will be needed by support in the event a ticket is opened).
Often times the error message presented offers enough information to troubleshoot from.
Example:  Looking up the exit code located indicates the cause is a full hard drive, the solution would be to clear hard drive space to allow the patch to install.

NO - Running the Patch Manually Installs Without Issue

Most patch install failures will meet one of the listed criteria. If you are not finding this to be true in your situation, it is recommended to open a ticket with Technical Support. When opening the ticket please provide the Q# of the affected patch, the Operating System of the target machine, the Patch Assessment and Patch Deployment versions located under help > about > version info, the logs from the console, and the logs from the target machine.

Related Document: Gathering Console, Client Side (agentless), and Agent logs for Protect

 

Products


Shavlik Protect 9.x

Possible to export machine group to .txt file?

$
0
0

Is this possible? I see how to export a machine group to the xml file. I don't want that. I want it in a .txt file so I can import it as a .txt file into an existing group.

Shavlik VM communicating to multiple domains?

$
0
0

I want our Shavlik server to pull machines from multiple domains. Is this possible? Obviously, a server can only be "on" one domain at a time. Is it possible though, through AD trusts, that Shavlik will pull from all the domains that my primary domain can see? Right now that does not seem to be happening. I can't figure out if it's possible to add more than one domain to the "my domain" group. If I select Manage -> scheduled tasks it actually lists the other 3 domains under "Enterprise." I would think since it sees the other domains it would pull form them but it's not.

 

Any ideas?Untitled.png


Windows and IE patches do not install

$
0
0

When on our network, which is not conected to the internet, Shavlik does not install Windows or IE patches.  I have been in the propatches\install directory and there are a lot of batch files that if one looks over indicates the batch failed because it was not renamed.  How can I tell what is causing the batch file to suddenly quit and not install Windows or IE patches??  The .bat files seems to test the .msu patches before it actually installs it.  In the file I see "%pathtofixes%patches\Windows6.1-KB2900986-x64.msu 657" ... what does the 657 do in this batch?  Where is %LASTERR% located at?  And is something tracking the batch file incase it does not finish...I was wondering if there are logs I can look over to see why the Windows and IE patches do not get installed?

 

 

thank you,

 

SQ

Download patch before deploying

$
0
0

Is me or has Shavlik changed the way the users download the patches before deploying them to the clients?  What I means is that when scanning and deploy, I right click on the missing patches for the scanned client, and select 'Download'.  It give me a pop up message "Download Selected Files, All of the selected patches have previously been downloaded. OK"

 

But, when I deploy the missing patches to the client, it prompts me to "Download Selected Files, The required disk space is XX GB. Currently, You have xx GB free on your hard drive.  Would you like to continue?  Download"  or Cancel.

 

I use to be able to download the client and deploy the missing patches without shavlik asking to download the missing patches before deploying.  Once downloaded, it never prompts me to download when deploying.

 

Anyone else is seeing this?  I'm not sure if this is on the current version 9.1.0 Build 4446.  But, I don't remember seeing this on earlier version 9.0.

How to scan by FQDN or IP (not Machine Name)

$
0
0

Having problems talking to my client.  Shavlik will be able to tell me what patches are installed and what's missing. But if I attempt to run a Patch Scan it gives me Error 201.

 

Now I've been looking at this for the past hour and I have narrowed down the fact that if I RDP (through the Shavlik console) to the client I can do this by IP address.  But it will error out if I attempt to try this using simple machine name.

 

Unless I can make the machine name show up as the FQDN (machine.sub.domain) this doesn't work with RDP.

 

So... when I run a patch scan it appears my only option is by the simple machine name and it doesn't fully work.

 

Is there a way to change this within Shavlik?  I bet if I can get it to scan using the FQDN or IP...  I bet it'll work just fine.

Linking Files to a Machine Group

$
0
0

Purpose

 

This document outlines how to Link Files to a Machine Group. Shavlik Protect provides a dynamic mechanism to keep a machine group current. This is especially useful if your machine list changes from time to time and you want an easy way to update it. If you add machines to, and delete machines from a linked file between scans, any new machines added to the file will be scanned. While any machines removed from the list will not be scanned. When defining a machine group you can link to files containing machine names, domains, IP addresses , and virtual machines.  The following table describes how to create each particular link file..

 

Steps

 

Step 1


Use a text editor to create a text file using the following instructions for each type of file

 

Link Machine File

Provide the name of a file containing machine names.  One machine name per line with a carriage return at the end.

Sample:

machine1

machine2

dc

mail

dbserver

Link Domain File

Provide the name of a file containing domain names.  One domain name per line with a carriage return at the end.

Sample:

example

yourcompany

corp

redmond

dmz

Link Virtual Machine File

Provide the name of a file containing virtual machines.  One virtual machine name per line with a carriage return at the end, or separate each name by a comma.

Sample:

D:\VMware Images\VM-MAF-FR-XPP\winXPPro.vmx, D:\VMware Images\VM-QA-EN-2KS-4\win2000Serv.vmx

Z:\VMware Images\WinXP_EN_gold_2\winXPPro.vmx

Link IP Address File

Provide the name of a file containing IP addresses.  One IP address per line with a carriage return at the end.

Note: You cannot combine individual IP addresses and IP ranges in the same file.

Sample:

192.168.29.132

10.1.1.10

172.16.1.5

Link IP Range File

Provide the name of a file containing IP ranges.  IP ranges in the format of x.x.x.x-y.y.y.y are acceptable.  One per line with a carriage return at the end.

Sample:

192.168.29.1-192.168.29.5

172.16.2.20-172.16.2.99

 


Step 2


Select "Link to file" under to the appropriate Tab for the type of file that you created.

linktofile.jpg

The path to the linked file will show in the Machines List

linkedMG.JPG


Save the machine group.


Affected Product(s)

 

Shavlik Protect 9.x

 

 

 

 

Do I still need my WSUS & vSphere Update Manager

$
0
0

Hi,

 

Do I still need my WSUS & vSphere Update Manager servers after a successful implementation of Shavlik Protect?

 

Thanks,

CDB

Windows Store App Updates Still Detected Missing after removing the apps

$
0
0

Symptoms

 

After logging in on a Windows 8 or 8.1 system and removing Windows "Metro" or Store Apps you notice Shavlik Protect detecting missing updates for the Windows Apps (such as MSWU-1006 or MSWU-1007).

 

Cause

 

Windows Metro/Store Apps are installed along with the OS. If you are still seeing updates listed missing when scanning with Protect it's because the Apps have only been removed for a certain user or users on the system, but the apps technically still exist on the system.

 

Resolution

 

If you want to exclude these updates from coming up within scans, you can do so using the steps in this document:

How to Include or Exclude Specific Patches in Scan Results

 

We're not currently aware of a definite way to completely remove Windows Store Apps, however, it may be possible to completely disable Windows Store Apps via additional configuration. The following documentation from Microsoft provides more information about the Windows Store and Apps:

 

Manage Client Access to the Windows Store

 

Win8: App: Store related group policy settings

 

Affected Product(s)

 

Shavlik Protect 9.x

KB3003743 mistakenly detected as missing

$
0
0

Hi,

 

it seems there is an issue with XML 2.0.0.9458.

 

I have several W2K8 R2 servers were KB3003743 was installed successfully, but a scan afterwards detects it as missing.

 

Regards,

Steff


How to schedule Automatic Sychronization to a Distribution Server

$
0
0

Purpose


How to schedule the automatic sychronization of Patch Defintions, Patch install files, and Threat engines and defintions to a Distribution Server

 

Steps for Completion


Highlight the target Distribution Server in the Distribution Server pane.  In the drop down box above the pane select what kind of files that need to be synced  and click  "Add scheduled sync:" A dialog box with scheduling information should appear.  After selecting Save, the scheduled sync should appear in the scheduler automatic synchronization pane with the type of files being synchronized.   If you select "All engines, definitions, and patch downloads", there will be a separate entry created in the middle "Scheduled automatic synchronization" pane for each relevant component.

distautosync.jpg

If you want to force a synchronization  select one or more scheduled synchronization entries in the Scheduled automatic synchronization pane and click Run now

       Note: To synchronize all data, all three synchronization tasks must be selcted. This will immediately copy all appropriate files from the console to the specified distribution server(s).


The scheduled Synchronization process runs in the background of Protect. You may check the status by viewing the event history atView > Event History.

 

Affected Product(s)


Shavlik Protect 9.X

How to Obtain Verbose logging output from any .msi package

$
0
0

Purpose

 

This document provides steps on how to obtain a verbose logging output from any .msi package which may assist in troubleshooting installation failures.

 

Symptoms

 

This may be useful when patches failing to install throw a generic 1603 return code.

 

Description

 

To obtain verbose logging from the .msi package:

 

On the system where the update is failing to install:

1) Open command prompt.

2) Change directories to the location of the .msi file.

3) Use the following command (replacing Example.msi with your msi file name):

msiexec /i Example.msi /L*vx "C:\folder\ExampleLogFilename.txt"

Or to run this without user interaction:

msiexec /i Example.msi /quiet /L*vx "C:\folder\ExampleLogFilename.txt"

 

The log file will be generated with the name specified within the folder specified. Review this log or send to support.

 

Note: This command will also run with .EXE and .MSU packages, however, it will not provide the same level of output.

 

Additional Information

 

For more information about MSIEXEC command line options, see the following Microsoft KB article:

Msiexec (command-line options)

 

Affected Product(s)

 

Shavlik Protect 9.x

Patches not showing up in Shavlik

$
0
0

Hello

 

We are having some problems in bring some of our systems up to date. We have 2 security products, Nessus and Shavlik. When we scan with Nessus it shows that we need to install some apache patches but when we scan with shavlik it does not show the apache patches as missing.

 

Does anyone know why this might happen?

 

Thanks

Regards

Roy

Deploying patch to a server error

$
0
0

Hi all,

 

I can't seem to find a solution to "Error on machine 'Win-Server': Failed to schedule patch deployment: '{0}'".  This is displayed when it fails to schedule a patch deployment.

 

Has anyone seen this error before and know a solution?

 

TIAFailed_patch_deploy.png

How to run a deployment to workstations without pushing shortcuts to desktop

$
0
0

I can't figure out how to prevent my deployments from pushing shortcuts to my workstation desktops via the GUI in Shavlik Standard Protect.  Is there an easy way to do this or do I have to create a custom xml file/script? thanks.

Viewing all 2126 articles
Browse latest View live