Monthly Archives: February 2014

SCCM 2012 – Office 365

Hi All, with SCCM 2012, Microsoft introduced an option for management of the devices via Exchange Active Sync. On the Console, you can find this option under Administration->Hierarchy Configuration->Exchange Server Connectors. When you add a new on-premises exchange server, this configuration is quite simple, however, if you try to do this using your Exchange Online or Office 365 subscription, this is not quite easy, at least it was not for me. In this post, we’ll walk through all necessary steps to connect your SCCM 2012 R2 to your Office 365. I’d assume the steps for a 2012 SP1 environment will be the sames, however, as i have no SP1 lab anymore, i cannot confirm. 1- Download and install the Microsoft Online Services Sign-In Assistant version 7.0 or greater. From http://www.microsoft.com/en-us/download/details.aspx?id=41950 you can download the 7.2 version. Remember to install it on the site server:) The installation is really simple, couple…

Workshop Day – 5th April 2014 – London

Hi All, After many months organizing and creating the presentation (as you may have seen here the 1st post), we’re happy to announce that the 1st Workshop day will take place on 5th April (Saturday) at Microsoft Cardinal Place from 9:00 (event staring at 9:30) until 4:30(ish) (we need to leave by 5pm, but it doesn’t mean that we cannot go to a pub :)) This 1st event is all about SCCM 2012 automation and the official title is: Scripting and Automation with SCCM 2012 R2 This is a 1 day workshop and you’ll learn the basics on how to create scripts & automation with SCCM 2012 R2. This is the 1st step on how to became a SCCM & Scripting master. You’ll see things like:: Windows Management Instrumentation (WMI) Tools SCCM Scripting History SCCM & PowerShell Behind the Scenes Scripts Also, we’ll be providing you with a USB stick…

SCCM 2012 R2 – Remove Expired Updates

Hi All, every time i need to remove an expired update from a baseline is always the same…select the baseline, show members, select the updates i want to remoe…edit membership… This action takes time, imagine that you need to do it once a month (yes, patch Tuesday). but if you have many sw update groups?!?!? yes, you’ll spend bit of time doing it. based on this, i’ve created a powershell script as well as a console extension that will allow you to remove all expired updates from a sw update group. To do it, download the RemoveExpiredUpdates zip file, extract and add the files to the following places: RFL-SUP Deployment Group.xml to <CM12R2Console Installation Path)\XmlStorage\Extensions\Actions\2853886b-cce5-4ed4-af43-df69efb2e7d8 and <CM12R2Console Installation Path)\XmlStorage\Extensions\Actions\bb1a22d4-816f-438c-b6e7-51cbc210112f (change the CM12R2Console to the path of the console :)) RemoveExpiredUpdates.ps1 to C:\Scripts\CM12R2Console on the same computer where you installed the CM12 R2 Console Note: the RFL-SUP Deployment Group.xm has the same name as the a…

SQL Server Service Broker and Dynamic Ports (SCCM 2012 R2)

I got a mail from a friend of mine that was having some SCCM and SQL difficulties, after a short explanation, I was able to fix it, the problem was the SQL broker service. The SQL Server Service Broker (SSB) is used to replicate data between database sites. You will need to specify a port that needs to be used by SCCM. So remove the dynamic ports (leave then blank and not at “0”) and specify the port at 1433 (only if its changed). You can view what port the SSB is using by running the following query on the SCCM SQL server. SELECT name, protocol_desc, port, state_desc FROM sys.tcp_endpoints WHERE type_desc = ‘SERVICE_BROKER’ Enjoy.

UEV – there was a problem sending the command to the program

Hi All, while working on the UEV i noticed that opening a excel file was getting me the error “there was a problem sending the command to the program” and the file did not open. Looking at the internet i found a new HP1 (Hotfix Package 1) for UEV 2.0, released in February 11, 2014. Installing this hotfix did the trick 🙂 If you’re getting this problem, download it from http://support.microsoft.com/kb/2927019

SCCM 2012 SP1 Remote Distribution Point installation Failure with Server 2012 on VMware 5.x or 4.x

Had a strange issue that took a long while to get fixed. Issue: I was given a Windows Server 2012 vm running on ESXi 5.1 that had a C:\ for the OS and a D:\ (220GB) for holding distributed data from the primary SCCM server. So for all intended purposes, this was a standard remote distribution point. I tried to install the DP role onto the new server and it failed every time, tried to access the D:\ remotely from the primary and access was denied, tried setting every permission known to man and it still failed. Solution: The D:\ appeared as removable devices instead of your conventional hard drive. So to resolve this and get the role installed from your CAS/Primary server complete the following. Connect to the ESXi/ESX host or vCenter Server using the vSphere Client. Power off the virtual machine. Right-click the virtual machine and click Edit Settings….

SCCM 2012 to SCCM 2012 Service Pack 1 Upgrade Gotchas!

Hi There, I recently completed (successfully I might add) a SCCM 2012 upgrade to Service Pack 1 for a client. I’ve moved clients from SP1 to R2 before but never to Service Pack 1. So I thought I’d compile a list of gotchas that I found whilst upgrading. 1. Built-in collections are overwritten, you wont lose any of your custom collections (although I wish Microsoft would delete direct membership collection as they are the work of evil and lazy admins …) so if you make any changes to them whilst in your current version of SCCM, these changes are reverted post SP1. You can back them up (I didnt do this, hence the blog post) see http://support.microsoft.com/kb/2739984 for more info 2. The Admin Console needs to be updated too. I noticed a few of the operators behind me complain as they couldn’t do certain things, but luckily the upgrade creates some upgrade…

UEV – UEV Template to ADMX/ADML

Hi All, recently i was at a customer site implementing UEV. For those that don’t know what UEV is, it is the Microsoft User Experience Virtualization. It basically monitor windows and application and save data to a shared folder. the data that it saves are basically registry and files. You may think why people use it (or similar tool). it is easy, once you have your “personalization”, you can move machines and get the same experience on the next machine without need to customize it again. Microsoft gives few templates out of the box, but you need to create (or download from other sources, such as Technet Gallery). However, when you need to administer the utilization of these templates centrally, there is no easy way. Phil Schwan created a post that shows you how to change an ADMX/ADML of the existing UE-V Template for a simple application. But what happen,…

SCCM 2012 SP1 Management Point error “Call to HttpSendRequestSync failed for port 80/443 with status code 500, text: Internal Server Error

So, SCCM 2012 SP1 Management Prole on Windows Server 2008 R2, you need to register ASP.NET v4 with IIS. If you don’t you will see the error below in your mpcontrol.log or in the System State Messages in the monitoring workspace. Call to HttpSendRequestSync failed for port 80/443 with status code 500, text: Internal Server Error Now I would like to point out that with SCCM 2012 pre SP1 this was never an issue as it uses .NET 3.5. P.S you don’t have to run this on Windows Server 2012 as it used .NET v4 by default. Solution: Run the following elevated command prompt on the affected Management Point. cd /d %windir%\Microsoft.Net\Framework64\v4* aspnet_regiis –i –enable Any questions please ask. Enjoy.

SCCM 2012 – Set User Category (Part 1)

Hi All, have you ever tried to set the category for your applications? Yes, that category that will appear on the Application Catalog Website for the user. For me this is a really difficult task. the reasons are: 1- I need to know what category i’ll add the application. If you think about browser, it is easy, but what about others?!?!!? 2- it is time consuming… 3- you’ll always put the wrong category based on Asset Intelligence information. well..i created a powershell and extension to do it. It will allow you to right click the application nodes and will set the user category for all applications based on the Asset Intelligence Information. it may take time, depending on how many apps you have in your infrastructure. And as you noticed, the subject is Part 1, it means that this script will have an updated version someday to work with folders,…