SCCM 2012 R2 CU1 Released

Benoit LecoursSCCMLeave a Comment

The wait is over. Microsoft has just release SCCM 2012 R2 CU1 which fix lots of stuff. Follow the link to see all issues that are fixed : http://support.microsoft.com/kb/2938441/en-us One bug that I’ve talked about last year is finally fixed. The Uninstall option may not be available in Software Center for applications that are made available through multiple deployment types. For example, if two deployment types for an application apply to a client, and if both have an Uninstall action, the Uninstall button is unavailable. Happy updating. Benoit LecoursFounder of System Center Dudes. Based in Montreal, Canada, Senior Microsoft SCCM Consultant, 5 times Enterprise Mobility … Read More

The Microsoft Software License Terms have not been Completely Downloaded

Benoit LecoursSCCM, SQL7 Comments

Problem SMS_WSUS_SYNC_MANAGER state is critical even if it worked in the previous months. Environment SCCM 2012 R2 SQL 2012 Windows 2012 R2 Wsyncmgr.log shows error on 2 updates : The Microsoft Software License Terms have not been completely downloaded and cannot be accepted Event viewer/Application Logs shows Access Denied errors on a different patch. Resolution The Wsuscontent directory was missing an NTFS permission. I added the “Network Service” account full control on the directory and sub-directory and launch a new sync. Everything sync successfully. All the details come from Technet. Benoit LecoursFounder of System Center Dudes. Based in Montreal, Canada, … Read More

PowerShell to change Page File Location in your SCCM TS

Benoit LecoursPowershell, SCCM7 Comments

SmsSwDistCacheDirDelete in ccmsetup.log 03

You can script the placement of the Windows page file in your SCCM Task Sequence. Sure you could use the good old wmic pagefileset but we’re in 2014, Powershell is your new friend ! My clients needed a script that : Disable page file on OS drive Move it to D: Set the page file based on the allocated memory installed (x1.5) I used a Powershell module found here. My Script then uses a function of this modules to fits my needs. Save this script in a .ps1 file. #Reads the physical memory and multiplies it by 1.5 $PageFileSizeMB = [Math]::Truncate(((Get-WmiObject Win32_ComputerSystem).TotalPhysicalMemory) … Read More

Change CDROM Drive Letter using Powershell during OSD

Benoit LecoursPowershell, SCCM5 Comments

SmsSwDistCacheDirDelete in ccmsetup.log 03

By default, Windows will assign the next available letter to your CD/DVD ROM drive. For servers and even workstation it could be useful to change it to a standard value. Add a Run command Line step in the end of your task sequence that run a powershell command. %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -command “(gwmi Win32_cdromdrive).drive | %{$a = mountvol $_ /l;mountvol $_ /d;$a = $a.Trim();mountvol z: $a}” You change the last Z: to another letter to fit your environment. Benoit LecoursFounder of System Center Dudes. Based in Montreal, Canada, Senior Microsoft SCCM Consultant, 5 times Enterprise Mobility MVP. Working in the industry since … Read More

SCCM 2012 Management Point Error 1603

Benoit LecoursPowershell, SCCM2 Comments

We have recently experienced a SCCM 2012 management point error 1603. Scenario : Installing a new MP gives an error 1603 SCCM 2012 R2 Windows 2012 R2 The first thing to check is the MPSetup.log, you can see the error 1603 but you have not much information about what’s the problem really is. You have to dig deeper in the MPMsiLog.LastError to see the root cause.                     As you can see the error is cause by a previous version of the client being installed on the server. My environment had SCCM … Read More

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, SCCMLeave a 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 LecoursSCCM50 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 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