Group Policy Management Overview

gpmc iconWe use Group Policy to tweak the default settings on Microsoft Servers and PCs. You edit the policies using the Group Policy Editor console (gpedit.msc) but to manage the policies you use the Group Policy Management Console (gpmc.msc). The more policies you start to create, the more confusing managing them can become and with each new version of Microsoft software (Office included) new Group Policy templates are added. This article is to give you an insight into exactly what the Group Policy Management Console (GPMC) is about and how everything links together.

It’s always best to edit policies from the latest OS. This is one of the reasons to always have a VM somewhere with the latest OS purely for Group Policy. Alternatively, if you are using the latest OS then you can install the GPMC from the Remote Server Administration Tools (RSAT) and then edit the policies from there. If you don’t, it’s not a big issue but some policies won’t be available. All of the templates can be stored in a central location in Active Directory so they can be accessed by all domain machines. There is some debate whether it is best to have the policies held locally rather than in the central store but I think it works well. By default this is \\DCName\sysvol\domain.name\Policies\PolicyDefinitions. If you ever download a new template you will need to put it in there. For more details on activating the central store se the following Microsoft Support article

Inheritance & Precedence

Group Policies Objects (GPOs) are created in the Group Policy Objects folder in GPMC. Policies are then linked to Active Directory Organizational Units (OUs). You can link as many Policies as you like to an OU and you can also link the same policy to as many OUs as you like. You can also block inheritance by right-clicking an OU and disabling it. The precedence of any GPOs, i.e. what GPO policy wins out of any competing policies, can be changed in the Linked GPO tab of an OU. Normally the deepest policy wins. Continue reading

Configuring Firefox proxy settings for all users

Spread Firefox Affiliate ButtonI recently had an issue with the latest version of Firefox (v3.6.15). Normally, when we install Firefox on our network, we have to change the proxy settings from the default “No Proxy” to “Auto-detect proxy settings for this network”. This doesn’t normally cause much of an issue as we only use Firefox on a few select machines and can be changed by the individual user. However, it seems the default install behaviour has slightly changed to add a new option that seems to muddy the water. There is now a “Use system proxy settings” option (similar to Google’s Chrome) that seems to be selected by default for new users. Although this may seem to make sense, on our network this causes terribly slow page load times, e.g. 10 minutes to load google.co.uk. Luckily I found a way to set the “Auto-detect” option for all users.

WARNING: This seems to have changed again since Firefox 4 was released. If anyone knows how to change it please add a comment.

Continue reading

Tips – Finding the right Group Policy setting

UPDATED – see below for info on the new Group Policy Search web app

Now Windows Internet Explorer 9 (IE9) is nearing the end of it’s beta process it won’t be long before SysAdmins will be deploying it out across their networks. Something that occurs with any new Microsoft software is the need to update Group Policy to control any new features and lock down as appropriate. I thought I’d share a few tips on how I find discover and configure these new settings.

It seems that with each new Administrative template (ADMX) there are an ever-increasing amount of settings that can be managed (Over 1500 for IE9 alone!). While great for security it can be a headache to navigate. Microsoft usually lists the group policy settings for each product on the TechNet site, like this page for IE9, but did you know there is also an MSDN website (hosted on Azure) called Group Policy Search. This is a godsend policy administrators because not only does it allow you to search the contents of all the Microsoft Windows & Office policies but it also gives you the info like what the policy is supported on and even the registry key that the policy changes. This is a great place to copy details if you need to report to a manager on what a certain setting can do.

Group Policy Search Cloud App

Group Policy Search Cloud App

 This site does work on smartphones but I can see this working really well as a reference app on a mobile device. UPDATE: I just found that somebody has made this into an app for Windows Phone 7/8. Find it in the web store or search on your phones marketplace for Group Policy Search. Now it’s up to another dev to make one for Android and iPhone!

If you use Windows 7/Server 2008 R2, or later, you can also download a Search Connector (from the site’s Settings menu). This lets you search the Group Policy Search website from Windows Explorer, giving you an excerpt of the description and link to the relevant webpage. UPDATE: Unfortunately, due to the change of host for the web app, the connector is broken. Luckily, it is easily fixed by editing the OSDX file. Download the GroupPolicySearch.osdx connector from the site and open with a text editor. Change line 5 to the code below, save and then double-click the file to install to your userprofile/Searches folder

<Url type="application/rss+xml" template="http://gpsearch.azurewebsites.net/gps/rss.ashx?search={searchTerms}"/>
Group Policy Search Connector

Group Policy Search Connector in Windows 7

Another task that becomes complicated is to find settings you have previously changed. I may open up the Group Policy Editor knowing I need to modify a previous setting change but it can be like finding a needle in a haystack digging through all the non-configured settings. You can find it via a report in the Group Policy Management console but did you know you can also filter policies in the editor? Go to the View menu and choose Filter Options. Here you can set up a number of criteria on what you want to see. I typically would change it to only show configured settings and also any policy with my initials in the comments. This makes it really easy to see the changes I have made and adjust them appropriately.

Group Policy Filtering

Group Policy Filtering

I hope that’s given you a bit of help in discovering and managing group policy settings. Let me know your tips in the comments.

UPDATE: I discovered this great page in the increasingly useful TechNet Wiki - Group Policy Survival Guide. It contains links to anything and everything to do with Group Policy

How to merge two small active directory domains quickly and easily

This article describes the steps I took when we decided to merge to sister companies into one domain. I have, in the past, used the Active Directory Migration Tool. The ADMT, currently at version 3.0 “provides an integrated toolset to facilitate migration and restructuring tasks in an Active Directory infrastructure”. It works great and has loads of guidance on how to go about the daunting task of migrating 200 users from an NT 4 domain to Active Directory, merging domains or restructuring numerous sub-domains. However, it involves a lot of planning and background fiddling to get it working. In my current situation I needed to migrate only 20 users to our main domain so I didn’t really want the hassle of reading through the mammoth migration guide. Neither did I want to add everybody one by one. Therefore, I created the following method that did everything I needed as quickly as possible, without making my brain hurt :) Continue reading