Use SCCM CMTrace like a Pro (Part 2)

Nicolas PilonSCCM5 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 Method’ tab and ‘Add Clause’ to your application. The idea is to detect if the file is already copied. %Windir% will go automatically in the windows folder depending on the operating version. Step 3: Deploy the application to all desktop and server clients Technical supports, administrators and users will benefit from it. You … 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 package that will be created for the other site systems or manually rerun this setup on all site systems. I see the update process in 3 distinct phases : Installation, review, component update Step 1 – Installation Download : http://support.microsoft.com/kb/2905002/en-us Technet Deployment guide : http://technet.microsoft.com/en-us/library/jj553405.aspx Once downloaded, extract the installation package to … 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 been reproduce with other applications I recreated the same scenario in SCCM RTM version and the uninstall button is available even with 2 DT. I have submitted the bug to Microsoft through the connect portal, I’ll be following on this bug in this post. Stay tuned. Update Nov.18: Microsoft 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 it ! You can have more details here. sccm 2012 server roles and features

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 error in SMS_AWEBSVC_CONTROL_MANAGER The WCF is not activated.Solution: Make sure WCF is activated. Pretty simple to fix ! Open server manager and add the WCF Activation feature under .NET Framework 3.5.1 (This is applicable to Windows 2008) Once activated, I reopen the application catalog… Same error ! In some scenarios, such … 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 fine Cause Navigate to the console log file C:\Program Files(X86)\Microsoft Configuration Manager\AdminConsole\AdminUILog\smsadminui.log The following error will be displayed : Microsoft ReportViewer Winforms version 10.0.0.0 or one of its dependencies. The system cannot find the file specified This error means that Report Viewer is not locally installed on the computer. Resolution Close … Read More