Send an Email when OSD Completes a Deployment

Benoit LecoursPowershell, SCCM32 Comments

Did you know that SCCM can take an action when a specific message is generated on the site server? SCCM records everything it does. You are probably familiar with the tons of logs files but SCCM also record everything on the site server itself. A quick look to the Status message shows that there’s tons of available information. Monitoring / System Status / Status Message Queries / All Status Message : As you can see, there’s lots of valuable information in there. Yeah great !… now what ? Using the power of PowerShell, I tell SCCM to send an email each … Read More

SCCM KB2905002 installation guide and Useful Information

Benoit LecoursSCCM15 Comments

The first hotfix for SCCM 2012 R2 is out and it’s time to install it.I’ll document a step-by-step SCCM KB2905002 installation guide and gives some useful information. For those of you that are used to update SCCM, you won’t be disorientated. The first thing you need to know is that this hotfix will update the site’s servers, the consoles and the clients. This means that you’ll need to update those after the hotfix installation. Rest assured, the hotfix will create 3 updates packages for you during the installation. Start with the higher site in your hierarchy. You can use the update … Read More

SCCM 2012 R2 Application Uninstall Button is Grayed Out

Benoit LecoursSCCM20 Comments

I’ve found a bug in the latest SCCM release. SCCM 2012 R2 application uninstall button is grayed out An application cannot be uninstalled using Software Center when it contains more than one deployment type. I created an application to deploy Acrobat Reader using the msi The application contains 2 deployment type (Install for User) One DT has a requirement for English OS, the other DT is for French OS The installation is successful but it can’t be uninstalled using the Software Center (The uninstall button is grayed out) When a DT is deleted, the application can be uninstalled This scenario has … Read More

Add Server Requirement using Powershell

Benoit LecoursPowershell, SCCM1 Comment

SmsSwDistCacheDirDelete in ccmsetup.log 03

Before an installation of SCCM, you need to enable a couple of requirements in sccm 2012 server roles and features. You can add these using the server manager snap-in but since you are a good admin, you know that you can use Powershell ! Here’s the commands I use in the script to enable the required roles before my SCCM installations : Get-Module servermanager Install-WindowsFeature Web-Windows-Auth Install-WindowsFeature Web-ISAPI-Ext Install-WindowsFeature Web-Metabase Install-WindowsFeature Web-WMI Install-WindowsFeature BITS Install-WindowsFeature RDC Install-WindowsFeature NET-Framework-Features Install-WindowsFeature Web-Asp-Net Install-WindowsFeature Web-Asp-Net45 Install-WindowsFeature NET-HTTP-Activation Install-WindowsFeature NET-Non-HTTP-Activ Run it in a PowerShell prompt and get a coffee while the magic happens, you earn … Read More

sccm connect application catalog – Cannot Connect to the Application Server

Benoit LecoursSCCM5 Comments

The application catalog is one of the nice addition to SCCM 2012. It can be tricky to install, there’s numerous posts about the sccm connect application catalog eror but the common one is this one. After installing both roles to your site server, when trying to connect to http://yourserver/applicationcatalog you have the following error : sccm connect application catalog The webserver cannot communicate with the server. This might be a temporary problem. Try Again Later to see if the problem has been corrected. A good starting point is to look at both component status: SMS_PORTALWEB_CONTROL_MANAGER SMS_AWEBSVC_CONTROL_MANAGER I had the following … Read More

SCCM 2012 Reports not Running from the Console

Benoit LecoursSCCM2 Comments

SCCM reports are great way of getting information from SCCM 2012. Any users who has access to run reports can see them locally  from SCCM Console on their computer. They can also use the reporting web portal to see them (Usually : http://SccmServerName/reports) Problem Your SCCM Reporting Point is running fine, you can see all reports in the console but SCCM 2012 Reports not running when you : Browse to the Monitoring / Reporting / Reports Right-click any SCCM 2012 report and select Run                                Running the same report from the web portal is working … Read More

Creating an SCCM report viewer role

Benoit LecoursSCCM2 Comments

What if you want to give a console user the rights to only run reports? This blog post will show how to create an SCCM report viewer role. Microsoft doesn’t have include a way to only view reports in SCCM. You could grant access to the Read-only Analyst role which will be enough to run a report but maybe you don’t want them to see all nodes. In SCCM, role-based administration combines security roles, security scopes, and assigned collections to define the administrative scope for each administrative user. An administrative scope includes the objects that an administrative user can view … Read More