Add Distribution Point using Powershell

Benoit LecoursPowershell, SCCMLeave a Comment

Working in large environment with lots of DPs, I don’t like to add my distribution point manually.Since SCCM 2012 SP1 CU1, there’s a new Add-CMDistributionPoint CMDLET to do the dirty work. First you need to add your site system in SCCM using this CMDLET (replace with your server name and site code) New-CMSiteSystemServer -Servername “xxxx.yourdomain.com” -Sitecode PS1 Once run, you’ll see your new site system added to the SCCM console. After, you need to add the DP role using : (replace with your server name and site code) Add-CMDistributionPoint –SiteSystemServerName “yourmachine.yourdomain.com” –SiteCode PS1 –MinimumFreeSpaceMB 5000 –CertificateExpirationTimeUtc “Saturday, March 28, 2015 5:55:05 PM” … Read More

Remove Computer from Collection after OSD

Benoit LecoursPowershell, SCCM1 Comment

This post is a step-by-step guide on how to remove computer from collection after OSD. If you’re using specific collections for your OSD deployments you certainly knows that the collections are not emptied automatically. After a couple of weeks, you’ll end up with a collection full of systems. The bad news is that there’s nothing built-in the product, the good new is that our friend PowerShell can do this dirty job. To run the script : The imported module needs to be trusted The script must run in x86 mode The computer account must have proper permission (SCCM and DCOM) … Read More

SCCM Slow Distribution Point

Benoit LecoursSCCM7 Comments

I had an interesting case where OSD deployment and application download were really slow using SCCM 2012 R2. My first thought was to apply KB2905002 which resolve slow OSD deployments. This KB was already applied and still, the download of the .WIM during a task sequence was taking 30 minutes just to download. Application installations in software center that was using the same DP was also experiencing slow installs. Reviewing the SMSTS.log during the OS Deployment had no errors. Looking at the Resource monitor, I saw that the network throughput was around 6 Mbps on a Gb connection… Something was … Read More

SCCM 2012 Internet Based Client Management

Benoit LecoursSCCM51 Comments

The goal of this post is to describe the steps needed to implement SCCM 2012 Internet based client management Download the step-by-step guide in the download section or directly here. For now on, this blog post won’t be updated. Only the document will be.   In this scenario, SCCM 2012 R2 is installed as a stand-alone primary site. For security reason, a second site server will be installed in the DMZ to response to internet clients requests. Internet clients are laptop and tablets that are sometime on the intranet (work network) and sometime on internet. Assumption : Your primary site server … 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

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