SMS Executive detected that SMS_Migration_Manager stopped Unexpectedly

Nicolas PilonSCCM4 Comments

Here’s an issue I encountered this week, SMS Executive detected that SMS_Migration_Manager stopped unexpectedly in the event viewer of a secondary site. The problem happens under SCCM 2012 R2 CU1. Migration manager is the migration service that execute jobs or instructions during the migration. You can refer to Neil Peterson post for more information about Migration Manager. Symptom The logs shows that the problem is permanent and happens every hour. migmctrl.log ERROR: [MigMCtrl]: FAILED to CREATE JobManager instance. error = The parameter is incorrect., 80070057 ERROR: [MigMCtrl]: FAILED to START WorkItemMgr. error = The parameter is incorrect., 80070057 ERROR: [MigMCtrl]: FAILED to INITIALIZE. error … Read More

Error ‘Could not Access Network Location APPDATA’ in ccmsetup.log

Nicolas PilonClient, SCCM3 Comments

Error Could not access network location APPDATA in ccmsetup

I came accross Could not access network location APPDATA errors in ccmsetup.log during a SCCM 2012 client installation. Symptom The installation is stuck with those MSI error logs in ccmsetup.log and will retry in 120 minutes. Cause The environmental variable %APPDATA% is required during the SCCM client installation and fail to access. AppData folder contains application settings, files, and data specific to the apps on your PC. Solution Open registry and navigate to HKEY_USERS\S-1-5-18\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders Change AppData value to %USERPROFILE%\AppData\Roaming The installation will resume in the next 120 minutes. (Could not access network location APPDATA) Nicolas PilonFounder of System Center Dudes. Nick … Read More

Unable to install SCCM Client because of SmsSwDistCacheDirDelete in ccmsetup.log

Nicolas PilonClient, Powershell, SCCMLeave a Comment

During the SCCM client migration process from 2007 to 2012, I was unable to install client on a computer because of SmsSwDistCacheDirDelete in ccmsetup.log. It is checking for an existing old cache folder and trying to delete it. Symptom Your installation is stopped at SmsSwDistCacheDirDelete. Cause The process is unable to delete the cache folder. Solution Delete the client cache folder and the installation will resume automatically. There’s a lot of way to configure or detect the cache folder. If you are using the client push installation feature, you can configure the cache folder with the installation properties by clicking on Administration – … Read More

PowerShell Script to delete Collections older than X Days under Specific Folder

Nicolas PilonPowershell, SCCM1 Comment

Did you ever wanted to delete a bunch of collections older than x days under specific folder name? I recently needed to clean collections older than 7 days under specific folders. The reason was simple, I came across a situation where the company own a custom package deployment solution and it create a collection each time a deployment is made. Since they are all limited collections, you can imagine the load it can create for the collection evaluator. The best solution would be to delete the collection as soon the deployment is succeeded, some internal politics prevents us to do that. … Read More

Win32_TPM Class in Hardware Inventory is missing Data by Default in Configuration Manager 2012

Nicolas PilonSCCM27 Comments

In Configuration Manager 2007, we were querying WIN32_TPM in hardware inventory for laptop security report. After the 2012 migration, the report was returning no value on this specific class. The usage of Bitlocker rely on TPM (Trusted Platform Module). We found by looking in the SQL query of the report that IsActivated, IsEnabled and IsOwner were selected but missing from 2012 inventory. This is collected throught hardware inventory so I decided to take a look at the default client settings. As you can see the screenshot below, WIN32_TPM class in hardware inventory is configured by default in Configuration Manager 2012 with missing information of the WMI class.  To remediate … Read More

Browsing Sites in Create Boundary Section won’t provide Multi-Domain Active Directory Sites

Nicolas PilonSCCM9 Comments

One of the fundamentals aspect of configuration manager is the boundary because you can’t manage anything without a boundary.  (Thanks to Torsten for pointing that it’s possible to manage client without a boundary).  There’s different types of boundary like, IP subnet, IP address range, IPv6 prefix and active directory site. The last one is the recommended method and it’s the easiest to manage. We recently migrate our infrastructure to SCCM 2012 and we have an issue during the boundary configuration. What happen if you have 2 domains with the same active directory site? No big deal, both will be detectable … Read More

Is_Virtual_Machine in v_R_System is not showing Properly with a Virtual Machine under VMWare ESXI 5.1

Nicolas PilonSCCM, SQL1 Comment

There’s a new field in v_R_system view on SCCM 2012 SQL database named Is_Virtual_Machine. It is really easier when it’s time to target virtual machines with this field instead using manufacturer, model or v_GS_Virtual_Machine under SCCM 2007. Today, we were making a spot check in our data integrity when we found two manufacturers and models VMWare flagged as non-virtual machine. In the SCCM SQL database, the source for v_R_system view is System_DISC. The associate WMI class is SMS_R_System Server. From the MSDN website, the description of Is_Virtual_Machine in the WMI class is. 1 is a virtual machine and 0 is a physical machine. How … Read More

Configuration Manager 2012 Client Command List

Nicolas PilonSCCM29 Comments

I recently found in our infrastructure that a lot of new Windows Server 2012 Core Edition were installed for specific reason. This edition can cause some problems to administrators that are not aware of SCCM commands. Here is the list of actions that will be covered in this post: Configuration Manager client services and properties Configuration Manager agent scan trigger EndPoint Protection client installation and properties Logs directory There’s a lot of commands that can be execute but I will give you the minimum to remember. From ‘cmd’, type those commands for configuration manager. Configuration Manager Client Scan Trigger with … Read More

SCCM 2012 Resultant Client Settings

Nicolas PilonSCCMLeave a Comment

There’s a new feature that come with the release is SCCM 2012 Resultant Client Settings. If you are familiar with GPO, it does exactly the same thing as GPResult except for the client settings configuration. Very useful when it’s time to troubleshoot client settings or you want to double check one of your change before releasing in production. It is really simple to use, in your console, right click on a device, user or user group in the Asset and Compliance section. Click on Client Settings and Resultant Client Settings. As a side dish, this tool need a minimum requirement in RBAC to use … Read More

SCCM 2012 : Hardware Inventory ConfigMgr Error Object

Nicolas PilonSCCMLeave a Comment

The hardware inventory in SCCM 2012 has been designed for ease of configuration. The integration with the client setting concept also helps in problem solving. I had a problem this week with a client where a specific information was not replicated to the primary after a hardware inventory. My first reaction was to analyze the configuration.mof and confirm that the information was well inventoried in WMI. Everything was perfect. Checking the inventoryagent.log file during a hardware inventory scan found that no WMI query was executed the specific WMI class. I targeted the custom device setting and try to open the hardware inventory console. I get a … Read More