Quantcast
Channel: Configuration Manager 2012 - Application Management forum
Viewing all articles
Browse latest Browse all 4762

Required software from Device Collection will not re-run (Application still active in WMI (CCM_Application.Id) after removal)

$
0
0

Hi everyone,

I'am creating this post since I am having problems with SCCM 2012 SP1. I'm still a novice but really want to learn more from SCCM, but I really can't figure out this problem that I'm having.

We have a desktop which was staged completely with our task sequence. After this installation, a vendor of us manually installed some specific software that needed to be installed on this computer. This application wasn't working, so as a test, he removed our anti-virus software (staged during OSD). After some testing, this appareantly wasn't the issue so now, this anti-virus client should be reinstalled again.

These were my findings when I received the computer:

  • Anti-Virus was still showing up as "installed" in Software Center on the client. This is strange since the removal has been done correctly through Software Center.
  • Program isn't showing up in "Programs and Features".
  • The removal script has succesfully been activated (checked loggings of our packagers) and all of the registry keys (which are packagers write a specific tree for software installations) were succesfully removed.
  • These registry keys are also the detection rule wether or not to deploy this package by means of a required device collection.
  • Computer is still added to the device collection to install this software (dynamic collection for all clients)

So my guess would be that SCCM (after a machine policy refresh) should see that the computer is located in the device collection and that the detection rule isn't active, so it should deploy the program. But it isn't..

I tried following things:

  • Update all policies
  • Repair SCCM Client
  • Repair WMI
  • Reinstall the client

But all where without succes. Now, after some googling yesterday (after the update policies and repair SCCM Client), I stumbled upon this post (http://blogs.msdn.com/b/sreekarm/archive/2014/01/29/uninstall-button-is-disabled-in-software-centre-in-sccm-2012-r2-for-available-applications.aspx) so I tried it. Firstly I checked WMI with wbemtest to query * from CCM_Application under root\ccm\clientsdk. The anti-virus client was still active in this view (I thought that this was the reason why it was still showing up as "installed" in software center). I tried to execute the uninstall command but this gave me an error message (I think something with not available anymore).. I also tried to delete this entry but this was also not possible.

Today when I came into the office, I thought that this may be some leftovers in WMI so I decided to repair WMI and afterwards to reinstall the client (Question #1: Should you always reinstall the client after a WMI repair? Because in software center, no items were visible anymore as "installed"). After these actions, the anti-virus software isn't "installed" anymore in software center which is a good thing. It also came to my attention that some software which had previously the status"installed" is not viewed anymore in this view (Question #2: Why is that?). I checked WMI again and the application is still visible as "CCM_Application.ID="ScopeID_*SPECIFIC*GUID*/Application_*SPECIFIC*GUID*,IsMachineTarget=TRUE,Revision="*NUMBER*".

I think this may be the cause since SCCM still things that the software is still installed. Maybe this is with all applications which are staged during OSD?

I hope you experts can help me resolve this issue. I can always manually install the software, but it should also work with SCCM and really want to learn as to why this is the case and how to solve this in the near future.

Thanks in advance for your help!!

Kind regards


Viewing all articles
Browse latest Browse all 4762

Trending Articles



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