Clear SCCM Cache by Deploying a Package

A while back, I wrote a simple PowerShell script that will clear the cache on a SCCM client machine (I will post this script for your reference at the end of this blog).

I mostly used this script during a large Task Sequences (ie. during a build and capture task sequence that installs a lot of software), since the cache would fill completely and then fail the Task Sequences (it appears that SCCM will not override any items in cache during the task sequence). This never presented an issue since I always ran the script directly from the Distribution Point.

Visual Studio 2015 Breaks New Logins

Update: I can confirm that this issue is fixed in Visual Studio with Update 1.

I recently ran into an issue where after pushing out new Visual Studio 2015 installs (with SCCM), new users could not log into those machines. When trying to log in with a new user, the following error occurs: “The User Profile Service failed the logon. User profile cannot be loaded.”

When looking at the Event Logs, I saw access denied errors related to failing to copy some files to the users new profile from C:\Users\Default. (This hidden default profile is what all new user profiles are based from.)

Software Updates Fail to Detect After Site Recovery

I recently ran into a problem where my Software Update point stopped working after performing a Site Recovery of my System Center Configuration Manager Site Server. In my scenario, I was performing a Site Recovery in order to upgrade my OS from Windows Server 2008 R2 to Windows Server 2012 R2 and SQL Server 2008 R2 to SQL 2014 SP1. After the upgrade was completed, all post-recovery steps were done, and all other functions were validated; I found my Software Updates were still not working. When checking Compliance on all updates, they simply reported back “Compliance Unknown”.

ConfigMgr and Microsoft Store for Business Sync Fails

I ran into a odd problem when trying to setup the connection between Configuration Manager and the Microsoft Store for Business. I completed all steps mentioned at: microsoft dot com /sccm/apps/deploy-use/manage-apps-from-the-windows-store-for-business, however the sync would fail. In the WsfbSyncWorker.log I found this error: System.IO.IOException: This security ID may not be assigned as the owner of this object.

SCOM Workgroup Monitoring – Disable AD Integration

Because workgroup computers can’t read Active Directory, AD Integration should to be disabled on these systems. For some reason, the SCOM interactive agent setup will not allow the option “Use Management Group Information from Active Directory” to be disabled (it is grayed out). However, this setting can be disabled by installing the agent from the command line, or editing a registry key on an existing agent.

To disable during setup:
Install the SCOM agent with the following command line: MOMAgent.msi USE_SETTINGS_FROM_AD=0 MANAGEMENT_GROUP=“” MANAGEMENT_SERVER_DNS= /qb

To disable in the registry:
Open registry editor and nagivate to: “SYSTEM\CurrentControlSet\Services\HealthService\Parameters\ConnectorManager“.
Set the EnableADIntegration in the registry to ‘0′
Restart the HealthService (System Center Management)

If one of the above steps is not completed, you will see the following entry in your Operations Manager event log:

Log Name: Operations Manager
Source: HealthService
Event ID: 2010
Task Category: Health Service
Level: Error
Keywords: Classic
User: N/A
The Health Service cannot connect to Active Directory to retrieve management group policy. The error is Unspecified error (0x80004005)

Alert Widget Static Column Width

Update 2/10: This issue appears to be fixed in 2012 R2 UR5.

A while back I ran into an issue with creating some dashboards for SCOM.  Specifically, the issue came along when working with the Alert Widget.  I ran into the issue where columns in the Alert Widget would get very wide and one column could fill up an entire screen, rending the rest of the view essentially useless.  This is due to the “Auto” width feature in the widget.  While it is great to have Auto as an option, it isn’t always appropriate for all columns.

SQL 2008 SP2 Slipstream Issue

Now that SP2 for SQL 2008 has been released it is time to update our SQL 2008 slip-streamed installation files. The slipstream process is the same, but I did run into one bug once the process was completed. There appears to be a bug that when you have a slip-streamed version of SQL 2008, the installation cannot be run from a network drive when .NET 4 has been installed. The following error may be received when attempting to launch setup.exe.