Go to Desktop on Sign In on Windows 8.1 via Compliance Settings in ConfigMgr 2012

This weeks’ post will be about Going to the desktop, instead of Start, when signing on Windows 8.1 via Compliance Settings. I will write about the scripts for discovering and remediating this setting, either on a user based, or a computer based configuration, via a Configuration Item. Keep in mind that it won’t be a walkthrough. For a complete step-by-step example, about using scripts in Compliance Settings, take a look at my post about Allowing Direct Installation of Windows 8 Apps via Compliance Settings in ConfigMgr 2012. Of course, in the most situations, the preferable way for configuring this settings is via a Group Policy (as described in this great post of Sander Berkouwer). There are a only a few reason not to use a …

Read more

Updated: Import Computer Form v0.8 – Directly adding a User Device Affinity in ConfigMgr 2012

A few months ago I released the first public version of my Import Computer Form. I’ve had some nice feedback about it and also some good ideas for added functionality. This update will mainly be about three things: Cleaning-up old code, by merging a few lines and adjusting some queries. Adding error catching, by introducing an error provider for faulty input. Adding functionality, by introducing an option to add a User Device Affinity/ Primary User. Overview These additions mean that this version gives the user the possibility to perform the following actions, without the need of access to and/ or a locally installed ConfigMgr console: Fill in a Computer name. Fill in a MAC Address. Select an OS Deployment Collection. Select a Primary User. Import …

Read more

Show Collection Details in ConfigMgr 2012 via PowerShell – Part 5 (Final): The General Information

>> Available via download here on the TechNet Galleries! << This week my post will be all about the end result of my series, about showing the Collection Details, of a device, via a PowerShell form. I changed a few small details and added another new tab, with more new information! This new tab shows all the General information about the collections, of which the device is a member. As there is (almost) no more information that can be added, about collection information that affects the device, this will be the last addition to the script/ form. In case someone still misses some important, or logical information, please let me know! Collection Details Form This script creates a nice form to show the Collection Details …

Read more

Show Collection Details in ConfigMgr 2012 via PowerShell – Part 4: The Power Management Settings

This week another addition to my series about showing the Collection Details, of a device, via a PowerShell form. This week I added another new tab, with more new information! This new tab show all the information about the applied Power Management settings, that affect the device. It’s also good to know that within the Power Management settings, there is an option Never apply power management settings to computers in this collection and when this option is selected the form will show a row with five times Never. So whenever a device shows a row like that, the other Power Management settings aren’t applicable anymore. Collection Details Form This script creates a nice form to show Collection Details of the specified device. At this moment …

Read more

Show Collection Details in ConfigMgr 2012 via PowerShell – Part 3: The Maintenance Windows

This week another addition to my series about showing the Collection Details, of a device, via a PowerShell form. This week I added another new tab, with more new information! This new tab show all the information about all the Maintenance Windows that affect the device. Collection Details Form This script creates a nice form to show Collection Details of the specified device. At this moment it shows all of the following information about the collections (of which the device is a member): Tab – Deployments The Name of the Collections, of which the device is a member.  The Name of the targeted Deployments. The State of the targeted Deployments. The Type of the targeted Deployments. Tab – Variables The Name of the Collections, of …

Read more

Show Collection Details in ConfigMgr 2012 via PowerShell – Part 2: The Collection Variables

In my previous post I started a new series about showing the Collection Details of a device via a PowerShell form. This week I did some changes to the look-and-feel and added a new tab, with new information!. This new tab show all the information about all Collection Variables that affect the device. Show Collection Details Form This script creates a nice form to show Collection Details of the specified device. At this moment it shows all of the following information about the collections (of which the device is a member): Tab – Deployments The Name of the Collections, of which the device is a member.  The Name of the targeted Deployments. The State of the targeted Deployments. The Type of the targeted Deployments. (NEW!) …

Read more

Show Collection Details in ConfigMgr 2012 via PowerShell – Part 1: The Deployments

In my previous post I started with creating a new PowerShell form to show the Collection Membership of a device. Last week I decided that I wanted to do more with it, so I putted it into a new “project” and form. From now on it’s called Collection Details, as that’s what it’s going to show, starting this week with the targeted Deployments. The coming weeks there will be additional parts, to this post and this “project”, with more and more information to be added to the Collection Details. So what can we all expect from the Collection Details? Well, we all know the Collection Properties per collection, the Collection Details will show a lot of those properties (and more) on a device level. In …

Read more

Right-Click Option: Showing the Collection Membership of a Resource in ConfigMgr 2012 via PowerShell

Last week someone triggered me that it wasn’t possible to ‘just’ see all the collections that a device is a member of. The only thing I could show, and tell, him, at that moment, was the Deployments –tab in the Properties of the device. The problem with this is that it only show the collections, of which the device is a member, with a deployment targeted. So it misses all the collections, either without an deployment targeted, or with client/ antimalware settings targeted. This triggered me to create a small PowerShell script to show the Collection Membership of a specific device in a nice form. Show Collection Membership Form This script creates a nice form to show the Collection Membership of the specified device. It …

Read more

Changing a Site Name in ConfigMgr 2012 via PowerShell

Already a few years ago, I did a small post about Renaming your ConfigMgr Primary Site. Even though it was not a supported action, as it meant directly editing the site control file, it was sometimes necessary. Since the release of ConfigMgr 2012, I’ve had many questions if that post is still applicable. The answer on that simple, it’s not applicable for ConfigMgr 2012, as it doesn’t use the sitectrl.ct0 file in that form anymore. So, does this mean that we can’t change the site name anymore? Well, the answer on that is also, no. Of course we can still change it! The only thing to keep in mind is that we’re moving into a grey area, of what’s supported, and what’s not. PowerShell and …

Read more

Changing the Deployment Package linked to an Automatic Deployment Rule in ConfigMgr 2012

This week I want to devote a post to changing the Deployment Package, which is linked to an Automatic Deployment Rule. I came on this subject as I got and read some questions about it. Actually it was not just that, also the fact that the answer was usually, that it’s not possible, at leas not via the console. As I couldn’t imagine that it’s not possible I went on a small research to see where it’s stored and how we can change it. XML and WMI Let’s start with where it’s stored. In WMI it’s stored in the class SMS_AutoDeployment and then the property ContentTemplate. Here it’s stored in XML format, like this: <?xml version=”1.0″ encoding=”utf-16″?><ContentActionXML xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”><PackageID>PTP00027</PackageID><ContentLocales><Locale>Locale:9</Locale><Locale>Locale:0</Locale></ContentLocales><ContentSources><Source Name=”Internet” Order=”1″/><Source Name=”WSUS” Order=”2″/><Source Name=”UNC” Order=”3″ …

Read more