SCCM 2012 Uninstall Query devices remove software

I'm trying
to remove the software from any devices that are not in the ad collection. <o:p></o:p>
The
deployment to uninstall the software has been created however I’m unsure on how
the query should read as it is targeting devices. Or what attributes I need to select to get this to work. <o:p></o:p>

For query AD group and create collection you can use -
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.SecurityGroupName = "DOMAIN\\AD Group Name"
So , first create a subselect using the above to identify computers which are not part of the AD group and then to check if software is installed you can use -
select SMS_R_System.Name from  SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName = "APPLICATIONNAME IN ADD REMOVE PROGRAM"
Or simply create one collection to detect where software is installed using second query (detect installed software) and then exclude a collection built using first query (AD group membership). Then deploy uninstall of application on it.

Similar Messages

  • Sccm 2012 collection query for software deployment failed PCs

    Hi,
    Let me know how can we create a collection of PCs which a particular advertisement failed.
    SCCM 2012 sp1 infra
    Midhun.PS

    See
    http://myitforum.com/cs2/blogs/gramsey/archive/2006/10/20/How-To_3A00_-Create-a-Collection-Based-on-an-Advertisement-Status.aspx. This will only work for program deployments, not applications.
    Torsten Meringer | http://www.mssccmfaq.de

  • SCCM 2012 Collection Query

    Hi All,
    I am using SCCM 2012 SP1 with SQL 2008 R2 SP1. I have scenario as below.
    App A is targeted to user based collection as Available (Optional).
    App B needs to be targeted to users who has successfully installed App A as Required(Mandatory).
    Note : As per application behaviour we cannot target App B to machine(Device) based collection, otherwise I would have created a query to pull out all the machines in a collection where App A is successfully installed on base of Add/Remove
    program display name.
    Question : I want to create a user collection query which will pullout last logged on user for all the machines where
    App A is installed successfully, so that I can target App B to this user based collection as Required(Mandatory). In this way if in future any other user is installing App A then that user will also get pulled out automatically to this user
    based collection.
    Its bit urgent for me. Request you please help me to get this query or let me know if there is any other way to achieve this.
    Thanks & Regards Uttam

    Hi Torsten,
    I really have not thought about supersedence but App B is not the upgrade or replacement for App A. If it would then we would have defined the relationship in supersedence. But App A and App B are entirely different applications. Functionality of App B depends
    upon App A, so both has to be there on the machine.
    Only the thing is App B should go to the users who has already installed App A on their machines. For this I would like to create user based collection but confused regarding query. How can we achieve this? I am thinking of to modify the below query
    to pull out last logged on user from the below collection query. I am using SCCM 2012 SP1 with SQL 2008 R2 SP1. How can I modify the below query?
    select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where ResourceId in  (select ResourceId from SMS_G_System_ADD_REMOVE_PROGRAMS
    where DisplayName="App A ARP name" and Version = "1.0.0")
    Thanks & Regards Uttam

  • IE11 SCCM 2012 Deployment - says installed in software center but after re-boot IE8 Remains

    Hello,
    I have an issue deploying IE11 to the estate, on the pc's the package says installed in software centre but when the users re-boot it's still IE8 on the machine.
    The monitoring tool in SCCM 2012 console lists the install as successful.
    I have the appenforce log from one of the machiens with the issue:
     Starting Install enforcement for App DT "Internet Explorer 11 - Windows Installer (*.msi file)" ApplicationDeliveryType - ScopeId_F26B70A7-1D38-41D7-AF12-4D44AF3EDFED/DeploymentType_ee666887-31c1-4b60-837d-b7ce84e496c3, Revision - 1, ContentPath
    - C:\Windows\ccmcache\19, Execution Context - System AppEnforce 28/01/2015 12:30:53 6512 (0x1970)
        A user is logged on to the system. AppEnforce 28/01/2015 12:30:53 6512 (0x1970)
        Performing detection of app deployment type Internet Explorer 11 - Windows Installer (*.msi file)(ScopeId_F26B70A7-1D38-41D7-AF12-4D44AF3EDFED/DeploymentType_ee666887-31c1-4b60-837d-b7ce84e496c3, revision 1) for system. AppEnforce 28/01/2015
    12:30:53 6512 (0x1970)
    +++ MSI application not discovered [MSI Product Code: {86DC0963-2A1C-42AB-B664-17C12DBF6C6D}, MSI Product version: ] AppEnforce 28/01/2015 12:30:53 6512 (0x1970)
        App enforcement environment:
     Context: Machine
     Command line: msiexec /i "IE11-Setup-Full.msi" /q
     Allow user interaction: No
     UI mode: 0
     User token: null
     Session Id: 4294967295
     Content path: C:\Windows\ccmcache\19
     Working directory:  AppEnforce 28/01/2015 12:30:53 6512 (0x1970)
        Prepared working directory: C:\Windows\ccmcache\19 AppEnforce 28/01/2015 12:30:53 6512 (0x1970)
    Found executable file msiexec with complete path C:\Windows\system32\msiexec.exe AppEnforce 28/01/2015 12:30:53 6512 (0x1970)
        Prepared command line: "C:\Windows\system32\msiexec.exe" /i "IE11-Setup-Full.msi" /q /qn AppEnforce 28/01/2015 12:30:53 6512 (0x1970)
    Valid MSI Package path = C:\Windows\ccmcache\19\IE11-Setup-Full.msi AppEnforce 28/01/2015 12:30:53 6512 (0x1970)
        Advertising MSI package [C:\Windows\ccmcache\19\IE11-Setup-Full.msi] to the system. AppEnforce 28/01/2015 12:30:53 6512 (0x1970)
        Executing Command line: "C:\Windows\system32\msiexec.exe" /i "IE11-Setup-Full.msi" /q /qn with system context AppEnforce 28/01/2015 12:30:55 6512 (0x1970)
        Working directory C:\Windows\ccmcache\19 AppEnforce 28/01/2015 12:30:55 6512 (0x1970)
        Post install behavior is BasedOnExitCode AppEnforce 28/01/2015 12:30:55 6512 (0x1970)
        Waiting for process 7204 to finish.  Timeout = 120 minutes. AppEnforce 28/01/2015 12:30:55 6512 (0x1970)
        Process 7204 terminated with exitcode: 0 AppEnforce 28/01/2015 12:31:05 6512 (0x1970)
        Looking for exit code 0 in exit codes table... AppEnforce 28/01/2015 12:31:05 6512 (0x1970)
        Matched exit code 0 to a Success entry in exit codes table. AppEnforce 28/01/2015 12:31:05 6512 (0x1970)
        Performing detection of app deployment type Internet Explorer 11 - Windows Installer (*.msi file)(ScopeId_F26B70A7-1D38-41D7-AF12-4D44AF3EDFED/DeploymentType_ee666887-31c1-4b60-837d-b7ce84e496c3, revision 1) for system. AppEnforce 28/01/2015
    12:31:05 6512 (0x1970)
    +++ Discovered MSI application [AppDT Id: ScopeId_F26B70A7-1D38-41D7-AF12-4D44AF3EDFED/DeploymentType_ee666887-31c1-4b60-837d-b7ce84e496c3, Revision: 1, MSI Product code: {86DC0963-2A1C-42AB-B664-17C12DBF6C6D}, MSI Product version: ] AppEnforce
    28/01/2015 12:31:05 6512 (0x1970)
    ++++++ App enforcement completed (11 seconds) for App DT "Internet Explorer 11 - Windows Installer (*.msi file)" [ScopeId_F26B70A7-1D38-41D7-AF12-4D44AF3EDFED/DeploymentType_ee666887-31c1-4b60-837d-b7ce84e496c3], Revision:
    1, User SID: ] ++++++ AppEnforce 28/01/2015 12:31:05 6512 (0x1970)
    This is the CAS log:
    Saved Content ID Mapping e9dea25d-d24d-4d5c-a767-52068338e976.1, C:\Windows\ccmcache\12 ContentAccess 28/01/2015 10:12:41 6884 (0x1AE4)
    SetCachedContentInUseFlag no change. Value : false ContentAccess 28/01/2015 10:12:57 9832 (0x2668)
    Releasing content request {1738FD09-9D1F-4708-9266-A418E9EB049A} ContentAccess 28/01/2015 10:12:57 9832 (0x2668)
    All references to Content 1a757176-8b61-4c70-b147-10cdbbfdd0b5.1 in cache have been removed.                   Content will be Tombstoned. ContentAccess 28/01/2015 10:12:57
    9832 (0x2668)
    Saved Content ID Mapping 1a757176-8b61-4c70-b147-10cdbbfdd0b5.1, C:\Windows\ccmcache\13 ContentAccess 28/01/2015 10:12:57 9832 (0x2668)
    SetCachedContentInUseFlag no change. Value : false ContentAccess 28/01/2015 10:13:10 8140 (0x1FCC)
    Releasing content request {25035F86-891D-41D3-AD45-F845D8689F88} ContentAccess 28/01/2015 10:13:10 8140 (0x1FCC)
    All references to Content cedf67fc-735e-4360-8db4-c8cb5d39663c.1 in cache have been removed.                   Content will be Tombstoned. ContentAccess 28/01/2015 10:13:10
    8140 (0x1FCC)
    Saved Content ID Mapping cedf67fc-735e-4360-8db4-c8cb5d39663c.1, C:\Windows\ccmcache\14 ContentAccess 28/01/2015 10:13:10 8140 (0x1FCC)
    SetCachedContentInUseFlag no change. Value : false ContentAccess 28/01/2015 10:14:12 14352 (0x3810)
    Releasing content request {BB6AA813-A4F7-4095-B60D-4441E3D7833D} ContentAccess 28/01/2015 10:14:12 14352 (0x3810)
    All references to Content 108336d1-2d2c-4d93-87b3-49d335640f2a.1 in cache have been removed.                   Content will be Tombstoned. ContentAccess 28/01/2015 10:14:12
    14352 (0x3810)
    Saved Content ID Mapping 108336d1-2d2c-4d93-87b3-49d335640f2a.1, C:\Windows\ccmcache\15 ContentAccess 28/01/2015 10:14:12 14352 (0x3810)
    SetCachedContentInUseFlag no change. Value : false ContentAccess 28/01/2015 10:14:30 13956 (0x3684)
    Releasing content request {2CA9AC92-0716-49A7-86D4-434B88B4D07B} ContentAccess 28/01/2015 10:14:30 13956 (0x3684)
    All references to Content 3fb07321-f1d1-4b71-90f1-233b355b13dd.1 in cache have been removed.                   Content will be Tombstoned. ContentAccess 28/01/2015 10:14:30
    13956 (0x3684)
    Saved Content ID Mapping 3fb07321-f1d1-4b71-90f1-233b355b13dd.1, C:\Windows\ccmcache\16 ContentAccess 28/01/2015 10:14:30 13956 (0x3684)
    SetCachedContentInUseFlag no change. Value : false ContentAccess 28/01/2015 10:15:53 10588 (0x295C)
    Releasing content request {47EB54C8-54C9-4FF8-A302-53AF844FA275} ContentAccess 28/01/2015 10:15:53 10588 (0x295C)
    All references to Content 9e56a46e-9a6a-42a5-b52b-811231a0ec2e.1 in cache have been removed.                   Content will be Tombstoned. ContentAccess 28/01/2015 10:15:53
    10588 (0x295C)
    Saved Content ID Mapping 9e56a46e-9a6a-42a5-b52b-811231a0ec2e.1, C:\Windows\ccmcache\17 ContentAccess 28/01/2015 10:15:53 10588 (0x295C)
    SetCachedContentInUseFlag no change. Value : false ContentAccess 28/01/2015 10:16:11 12040 (0x2F08)
    Releasing content request {F230295F-5136-49C7-B1FF-68697DA4C421} ContentAccess 28/01/2015 10:16:11 12040 (0x2F08)
    All references to Content 21ffbbb7-e491-48c1-b515-f5d6dc72f3fd.1 in cache have been removed.                   Content will be Tombstoned. ContentAccess 28/01/2015 10:16:11
    12040 (0x2F08)
    Saved Content ID Mapping 21ffbbb7-e491-48c1-b515-f5d6dc72f3fd.1, C:\Windows\ccmcache\18 ContentAccess 28/01/2015 10:16:11 12040 (0x2F08)
    Requesting content Content_1e4c1d46-2dd0-4b10-ba32-44523c43a83d.1, size(KB) 98073, under context System with priority Medium ContentAccess 28/01/2015 12:30:30 12104 (0x2F48)
    User policy requested with no user credentials. ContentAccess 28/01/2015 12:30:30 12104 (0x2F48)
    Invalid user. ContentAccess 28/01/2015 12:30:30 12104 (0x2F48)
    Submitted CTM job {7174344D-6757-429C-BA3D-A6FBE9A34DA7} to download Content Content_1e4c1d46-2dd0-4b10-ba32-44523c43a83d.1 under context System ContentAccess 28/01/2015 12:30:30 12104 (0x2F48)
    Successfully created download  request {5DA5E21D-BB3C-4534-964C-1862EB39F3C8} for content Content_1e4c1d46-2dd0-4b10-ba32-44523c43a83d.1 ContentAccess 28/01/2015 12:30:30 12104 (0x2F48)
    Location update from CTM for content Content_1e4c1d46-2dd0-4b10-ba32-44523c43a83d.1 and request {5DA5E21D-BB3C-4534-964C-1862EB39F3C8} ContentAccess 28/01/2015 12:30:30 5228 (0x146C)
    Download location found 0 - http://USS-LON-SCCMDP1.uss.co.uk/SMS_DP_SMSPKG$/Content_1e4c1d46-2dd0-4b10-ba32-44523c43a83d.1 ContentAccess 28/01/2015 12:30:30 5228 (0x146C)
    Download location found 1 - http://USS-LON-SCCMMAN.uss.co.uk/SMS_DP_SMSPKG$/Content_1e4c1d46-2dd0-4b10-ba32-44523c43a83d.1 ContentAccess 28/01/2015 12:30:30 5228 (0x146C)
    Download request only, ignoring location update ContentAccess 28/01/2015 12:30:30 5228 (0x146C)
    Download started for content Content_1e4c1d46-2dd0-4b10-ba32-44523c43a83d.1 ContentAccess 28/01/2015 12:30:30 12268 (0x2FEC)
    Download completed for content Content_1e4c1d46-2dd0-4b10-ba32-44523c43a83d.1 under context System ContentAccess 28/01/2015 12:30:52 5228 (0x146C)
    Computed hash: F6BEAA17C60572A0751C74DACE26075CC2621CF72F23B09EFEEA4C928A3B0E54 ContentAccess 28/01/2015 12:30:53 5228 (0x146C)
    Hash verification succeeded for content Content_1e4c1d46-2dd0-4b10-ba32-44523c43a83d.1 downloaded under context System ContentAccess 28/01/2015 12:30:53 5228 (0x146C)
    Saved Content ID Mapping Content_1e4c1d46-2dd0-4b10-ba32-44523c43a83d.1, C:\Windows\ccmcache\19 ContentAccess 28/01/2015 12:30:53 5228 (0x146C)
    Download succeeded for download request {5DA5E21D-BB3C-4534-964C-1862EB39F3C8} ContentAccess 28/01/2015 12:30:53 5228 (0x146C)
    Error: DeleteDirectory:- Failed to delete Directory C:\Windows\ccmcache\19.BCWork with Error 0x00000002. ContentAccess 28/01/2015 12:30:53 5228 (0x146C)
    Saved Content ID Mapping Content_1e4c1d46-2dd0-4b10-ba32-44523c43a83d.1, C:\Windows\ccmcache\19 ContentAccess 28/01/2015 12:30:53 12104 (0x2F48)
    SetCachedContentInUseFlag no change. Value : false ContentAccess 28/01/2015 12:31:05 10856 (0x2A68)
    Releasing content request {5DA5E21D-BB3C-4534-964C-1862EB39F3C8} ContentAccess 28/01/2015 12:31:05 12104 (0x2F48)
    All references to Content Content_1e4c1d46-2dd0-4b10-ba32-44523c43a83d.1 in cache have been removed.                   Content will be Tombstoned. ContentAccess 28/01/2015
    12:31:05 12104 (0x2F48)
    Saved Content ID Mapping Content_1e4c1d46-2dd0-4b10-ba32-44523c43a83d.1, C:\Windows\ccmcache\19 ContentAccess 28/01/2015 12:31:05 12104 (0x2F48)

    If the command-line you gave ConfigMgr runs successfully, there's not anything else ConfigMgr can do. Thus the logs above don't add any value. Thus, the issue lies with the MSI. Where did you get it from? Have you tried running it with the /l*v command-line
    option to add verbose logging and then reviewed this log file? Have you tried manually testing using the System account (done using psexec) to more closely emulate how ConfigMgr invokes the command-line?
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Sccm 2012 r2 console, devices, column layout and order is reset to default

    Hi :)
    I am running sccm 2012 r2 console on sccm server. I've added some columns into Assets and Management, Devices (beside default name, client, site code, client activity) ie. client version, endpoint protection enabled etc. I've left console open up and running
    and after some when I get back, column layout is reset to default 4 columns :(
    Can you fix please that system center consoles remember column layout and order ? (sc vmm 2012 r2 does not remember only when you add column maximum memory). :(

    This has to be something to do with the consolesettings.dat file. Do you have folder redirection set up on the AppData\Roaming folder? I have managed to recreate your issue using the following method:
    1. Add in some columns to the Devices view.
    2. Go to the \\server\username\AppData\Roaming\Microsoft\ConfigMgr10 and deleted the consolesettings.dat file.
    3. Relaunced the console and the columns have reset to default. 
    4. Set the columns again, closed down the console and the .dat file is recreated.
    5. Re launch the SCCM console and the settings are retained.
    I suggest you check either the C:\Users\%username%\AppData\Roaming\Microsoft\ConfigMgr10\consolesettings.dat. or \\server\username\AppData\Roaming\Microsoft\ConfigMgr10\consolesettings.dat and the time stamp of the file. Do some tests and recreate
    the steps above. 
    Somewhere along the line your dat file is being removed with your bespoke settings.
    Cheers
    Paul | sccmentor.wordpress.com

  • SCCM 2012 License query

    Hi,
    I need a SCCM 2012 report where it gives the following details
    OS, Vendor, Total License, Used License, Free License.
    To fetch the above details do we need to import and configure the software licenses.
    Thanks
    Sunny

    Suppose if i enabled and configured the above parameters as said by you then on which tables\views we can fetch these details (OS, Vendor, Total License, Used License, Free License.)
    Once you import the license statement , look at the built-in AI reports. if they don't give you what you want then you will need to create a custom report.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • SCCM 2012 - Automatic User Device affinity - Not Working

    Hi,
    I need to enable the Automatic User Device affinity.
    Have enabled following two group policy settings:
    Audit account logon events
    Audit logon events
    In client settings User and Device Affinity
    following is enabled:
    User device affinity threshold (120 minutes)
    User device affinity threshold (2 days)
    Automatically configure user device affinity from usage data – True
    However even after 2 days there is no user device relationship getting build.
    Is there anything more required to be done?
    Any logs or links to be referred for troubleshooting?
    Regards,
    Milind Dhuri.

    Hi,
    Please post this in SCCM 2012 forum.
    tx.

  • SCCM 2012 - Client Installed but No Software Center

    Hi Everyone,
    I've a strange problem on my Management Point.
    The SCCM 2012 client is installed, but there isn't Software Center (on all other Server it has been installed).
    I've tryied to install it manually & with the push installation , but no change.
    when I try to push it to the server it has an error File C:\Windows\ccmsetup\{181D79D7-1115-4D96-8E9B-5833DF92FBB4}\client.msi installation failed. Error text: ExitCode: 1635
    But when I try to install Manually Exit code is 0 (no error)
    Cheers

    Hi,
    Have you checked the log files ccmsetup.log ,ccmsetup-ccmeval.log, client.msi.log and SoftwareCenterSystemTasks.log? Maybe it can give us some clues.
    Technical Reference for Log Files in Configuration Manager
    http://technet.microsoft.com/en-us/library/hh427342.aspx#BKMK_ClientInstallLog
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • SCCM 2012 R2 Query

    Good morning everyone,
    I'm wanting to build a query collection to find all of the PC's in SCCM 2012 R2 that don't have the SCCM client installed on them. How would I go about doing that?
    Thanks,
    Dreday38

    Query
    select SMS_R_System.Active, SMS_R_System.ResourceId, SMS_R_System.ResourceType, SMS_R_System.Name, SMS_R_System.SMSUniqueIdentifier, SMS_R_System.ResourceDomainORWorkgroup, SMS_R_System.Client from  SMS_R_System where SMS_R_System.Client is null  order
    by SMS_R_System.Active
    Built in Report
    Monitoring > Overview > Client Status > Client Check
    Regards,

  • SCCM 2012 - Export Query Results

    Hi guys, I have a query under "Monitoring" - "Overview" - "Queries" and have my results in the result pane however I want to print the report or export to a CSV file. I cant see an easy way to do this? Surely we dont have to create the query then
    create a report just so we can export or print the report? Information is on my screen and is exactly what I want but no obvious easy way to get this in a format that is usable
    I only see the export MOF option available
    Thanks
    Nick

    I know this is an old post but I see Garth replied a couple days ago - on this same theme I have just upgraded to Office 2013 and the cut and paste from Queries and Collections from SCCM 2012 (which worked fine in Office 2010) seems to now not
    work with my Excel 2013 - you do mention it works for you in your post.  The results I see that I have 4 columns in my results it just pastes them into 1 cell - it doesn't break up the columns.  I have tried pasting to notepad first then to Excel
    - doesn't work - also tried Paste - Special - Unicode Text or Text and still it all goes into one cell. Is there something I have to change with either SCCM or Excel to get this to work again?
    Let me know if you have run into this with Excel 2013....thanks
    Kevin
    I am seeing the same issue.  Win 7/Office 2013 fully patched.
    Edit: Got it to work by pasting into Notepad, saving as .txt and opening that file with Excel.

  • SCCM 2012 uninstall client with console

    Hello,
    i wnat to remove the Software Client form a view computers. Is there a possibility to do this over the Config Mgr Console.
    THX

    Hi, You cannot do that in the console natively. You can however do it using addons like right-click tools http://myitforum.com/myitforumwp/2012/09/21/sccm-rctools/ Then you can right click on a collection and select to uninstall the Client. Regards, Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • SCCM 2012 SP1 - SUP role removal or reinstall issue resolution

    Hello all,
    I just want to share a fix regarding SUP removal (re-install) issue.
    I think I found a bug  regarding SUP role removal/re-install.
    When I try to re-install secondary SUP on a site system, when I remove SUP via AdminUI – Administration – Site - Site Systems, it gets removed from the list but I get the following errors, which makes (re-)installation fail.
    Severity   
    Type        Site code
    Date / Time             
    System     Component             
    Message ID             
    Description
    Information              
    Milestone PS1        
    4/12/2013 10:28:09 PM          
    SMS02SS401.ICBCAGENT.NET             
    SMS_WSUS_CONTROL_MANAGER               
    1021        Site Component Manager detected that this component should be deinstalled from this site system. Site Component Manager will attempt to deinstall the component every 60 minutes. Site Component
    Manager will abort the deinstallation if it fails to succeed after 1440 minutes.
    Information              
    Audit        PS1        
    4/12/2013 10:27:58 PM          
    sms02ss401.icbcagent.net      
    Microsoft.ConfigurationManagement.exe  30038               
    User "ICBC\ll1v3" deleted the role of the Windows NT Server "\\SMS02SS401.ICBCAGENT.NET" as a Software update point in the site control file at site PS1.
    Error        
    Milestone PS1        
    4/12/2013 10:15:45 PM          
    SMS02SS401.ICBCAGENT.NET             
    SMS_WSUS_CONTROL_MANAGER      
    1020               
    Site Component Manager failed to reinstall this component on this site system.   
    Solution: Review the previous status messages to determine the exact reason for the failure. Site Component Manager will automatically retry the reinstallation in 60 minutes. To force Site Component Manager to immediately retry the reinstallation, stop
    and restart Site Component Manager using the Configuration Manager Service Manager.
    Error        
    Detail       PS1        
    4/12/2013 10:15:45 PM          
    SMS02SS401.ICBCAGENT.NET             
    SMS_WSUS_CONTROL_MANAGER      
    580               
    Could not delete the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\SMS_EXECUTIVE\Threads\SMS_WSUS_CONTROL_MANAGER"
    on computer SMS02SS401.ICBCAGENT.NET. The operating system reported error 997: Overlapped I/O operation is in progress.
    Information              
    Milestone PS1        
    4/12/2013 10:15:40 PM          
    SMS02SS401.ICBCAGENT.NET             
    SMS_WSUS_CONTROL_MANAGER               
    1018        Site Component Manager is reinstalling this component on this site system.
    Error        
    Detail       PS1        
    4/12/2013 9:14:39 PM            
    SMS02SS401.ICBCAGENT.NET             
    SMS_WSUS_CONTROL_MANAGER      
    580               
    Could not delete the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\SMS_EXECUTIVE\Threads\SMS_WSUS_CONTROL_MANAGER" on computer SMS02SS401.ICBCAGENT.NET. The operating system reported error 997: Overlapped
    I/O operation is in progress.
    In fact, the registry is under
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Components\SMS_EXECUTIVE\Threads\SMS_WSUS_CONTROL_MANAGER
    When I trigger uninstall via AdminUI, it failed to remove, thus it think that it is already there when I try to re-install it.
    The fix was to manually remove HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Components\SMS_EXECUTIVE\Threads\
    SMS_WSUS_CONTROL_MANAGER registry key then re-try.
    Thanks,
    Young-
    YPae

    Yes!!!  this worked for me.  I have SCCM set up with a number of untrusted forests with a firewall in between my SCCM servers and the untrusted forests.  The firewall went down and half of my site servers in the untrusted forests were giving
    the "operating system reported error 997: Overlapped I/O operation is in progress" on a number of their components. Finally found this, deleted the reg keys under "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Components\SMS_EXECUTIVE\Threads"
    and that allows SCCM to reinstall.

  • SCCM 2012 Collection Query Timings

    I am just wondering about the logistics of the timings. I have most collections updating on 15 minute intervals, all of them on the same clock using Midnight and every 15 minutes after that. This is the basic setup I am using too, All Systems -> SCCM
    Agents -> Software Deployment or other Collections.
    Is the 15 minutes per collection additive, or hit and miss? For instance I load a new computer, it goes into All Systems, then at the 15 minute point moves into SCCM Agents. Will it propagate into the Software Deployment at or around the same time or would
    it likely be in the next window of queries?

    Why wouldn't you use the delta discovery? Update all collection every 15 minutes is a huge hit to your CM12 server.
    http://www.enhansoft.com/

  • SCCM 2012 RS QUERY RULE OPTIONS

    How do i create a device collection query in SCCM2012 R2 wizard rule to find properties information for server object in Active Directory, such as query for description field?
    Example:

    You must first enable the discovery of this field in "Active Directory System Discovery". See the "Active Directory Attributes" tab.
    (Administration / Hierarchy Configuration / Discovery Methods)
    Once enable, run a synchronization on this component by right clicking on it.
    After the discovery you'll be able to query the "Description" field under "System Resources".
    Or use this WQL query
    "select * from SMS_R_System where SMS_R_System.description = "Your Description Goes Here"
    Benoit Lecours | Blog: System Center Dudes

  • SCCM 2012 R2 - query based Collection based on missing update

    Hi,
    I was wondering if anyone knew what attribute to use in console to create query based collection for missing patches? I viewed the entire list of attributes available in console but I cannot seem to find anything that says "Windows Updates" or
    something similar.
    thanks

    You might also consider creating a saved search with all updates that are deployed but still required.
    Kent Agerlund | My blogs: blog.coretech.dk and
    SCUG.DK | Twitter: @Agerlund | Linkedin:
    Kent Agerlund | Author:
    Mastering System Center 2012 R2 Configuration Manager

Maybe you are looking for