SCCM 2012 Role-Based Administration Viewer

Benoit LecoursSCCM1 Comment

SCCM 2012 R2 comes with 15 built-in roles. For most of you, this is plenty to fulfill your needs. However if you have custom needs, it’s possible to create your own. When creating your first role, you may be lost in all those security rights. Instead of doing your role directly in the console, I suggest to use the Role-based Administration Modelling and Auditing Tool which is available in the SCCM 2012 toolkit. This tool helps administrators to model and audit RBA configurations. It’s graphical, you can compare your custom based role with the built-in ones. You can see right … Read More

Can’t delete Deployment Type

Benoit LecoursSCCM1 Comment

In SCCM 2012, you try to delete a deployment type and you receive the following error : This deployment type cannot be deleted. To delete this deployment type the following references must be deleted. You want to delete the referring object, you can’t find it because you have previously deleted it. Keep calm and do not cry… This can be resolve easily. The problem is that you created a deployment type, refer in another DT and then delete it. SCCM keeps an history of all changes in applications. Yes, each time you make a modification, SCCM records the change so that … Read More

SCCM 2007 : Hardware Inventory Failed at the Central (Badmif)

Nicolas PilonSCCMLeave a Comment

I recently face an issue regarding replication between primary and central site. The hardware inventory information was push to the primary but not to the central. We have SCCM 2007 R3 Build 6487 installed. Client version is 4.00.6487.2207. The problem occured not on all resources. Symptoms Client side: No error in the inventoryagent.log. Sucessfully sent report to primary. Primary side: No error in the dataldr.log, no badmif and SQL database contains HW inventory information. Central side: Error in the dataldr.log with a badmif. SQL databse don’t contains HW inventory information. Full resync HW inventory:  No sign in log on the central Delta HW inventory: Badmif at the … Read More

OSD/MDT Supported Operating Systems

Benoit LecoursSCCMLeave a Comment

What OS can you deploy using the different SCCM/MDT version ? Pretty confusing ! One of the best deployment guy (Johan Arwidmark) has release this valuable information : ConfigMgr 2012 SP1 CU3 – Supports deploying the following Operating Systems as OS Images Windows XP SP3 x86 Windows XP SP2 x64 Windows Vista SP2 Windows 7 Windows 8 Windows 8.1 (assuming a custom WinPE 5.0 boot image, and no MDT integration) Windows Embedded Standard 2009 Windows Fundamentals for Legacy PCs (WinFLP) Windows Embedded POSReady 2009 WEPOS 1.1 with SP3 Windows Embedded Standard 7 with SP1 Windows Embedded POSReady 7 Windows Thin … Read More

Using import Queries for a Collection Membership Rule

Nicolas PilonSCCMLeave a Comment

Did you ever create a bunch of collections that always contains the same 2-3 queries for a membership rule? I hope you’re not using notepad and copy paste the queries all the time. Long enough to get angry! I have a solution for you, use Queries node in Monitoring Overview section. Create the query with a right click. Enter a name and your query. When it will be the time to configure the membership rule of your collection, click on ‘Import Query Statement’ and select the query created. Not a big deal and I don’t use it often but it save me a lot of time … Read More

Replication Errors in SCCM 2012 R2 after Upgrading

Benoit LecoursSCCMLeave a Comment

Several customers reported to Microsoft that child primary sites were entering maintenance mode after upgrading the central administration site from System Center 2012 Configuration Manager Service Pack 1 (SP1) with CU2 or CU3 to 2012 R2. Read this post from the SCCM Team blog for all information about this error. In short, there’s a new build available after Nov.14th that will fix the problem for new installation. (The SCCM setup will download the necessary files.) Customer with the problem must run this SQL query (provided from the TN post) : Existing hierarchies that have already upgraded the central administration site but cannot … Read More

Distribution Point with Network Bandwidth Limitation

Benoit LecoursSCCMLeave a Comment

This post will explain how SCCM handle Distribution Point Network bandwidth limitation. One of my clients wanted to limit bandwidth on their package distribution. Their reflex was to go in the DP properties and limit the available bandwith. This was the way to go but their interpretation of the rate limit was wrong. This is one misinterpreted (and not well documented) feature of SCCM. Here’s what you see: Most people think “Hey I’ve got a 100Mbps link so let’s put 50% to limit SCCM to 50Mbps”… Wrong ! This is not how it works. I’ve found 2 really good article about it … Read More

3 Useful Powershell Commands

Benoit LecoursPowershell, SCCMLeave a Comment

Here’s 3 useful Powershell commands that you can use to save time. #1 – Clear PXE Cache from your OSD Collection Who likes to clear the PXE cache of deployed computers ? Not me ! Instead of this :   Run this : Clear-CMPxeDeployment -DeviceCollectionId “YourCollectionID” #2 – Unlock an object Instead of this : ZzzzzZz (waiting) Run this : Unlock-CMObject -InputObject $(Get-CMApplication -Name “Application Name”) TIP : You can change “Get-CMApplication” for “Get-CMTaskSequence” if you want to unlock a Task Sequence for exemple. #3 – List which collection has Incremental update enabled Did you know Microsoft supports only 200 collection using … Read More

Use SCCM CMTrace like a Pro (Part 2)

Nicolas PilonSCCM4 Comments

What are you doing when you want to troubleshoot SCCM client locally on a computer? Connect your USB card with the cmtrace.exe on it? Copy the executable file from a network directory? Do you want to be smarter? Create an application with a file detection method that will copy the executable file automatically on any SCCM clients. Download the file from Configuration Manager Toolkit. Step 1: Create a script to copy the executable file into the Windows directory Use this command ‘Xcopy /y cmtrace.exe %windir%’ in a cmd file. Enter the cmd file into the application program. Step 2: Add a detection method in the application properties Click on ‘Detection … Read More

Use SCCM CMTRACE like a Pro (Part 1)

Benoit LecoursSCCMLeave a Comment

Still using Notepad to read SCCM logs ? I don’t belive you. As a good admin, you are using SCCM CMtrace to read your logs files but I still meet lots of SCCM admins that don’t know these 2 features. Click on Menu / Tool / Error Lookup. This box translate a generic error in something you can understand. Error 2 ?                 Error 5 ? Ok easy one.                 You get it…now go have fun converting those nasty errors ! The second one is the Merge … Read More