<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Darren Watt &#187; windows</title>
	<atom:link href="http://darrenwatt.com/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://darrenwatt.com</link>
	<description>There Are Many Darren Watts Like Him, But This One Is Me</description>
	<lastBuildDate>Sun, 13 May 2012 09:59:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Applying WPA2 via Group Policy in Windows Server 2003</title>
		<link>http://darrenwatt.com/applying-wpa2-via-group-policy-in-windows-server-2003/</link>
		<comments>http://darrenwatt.com/applying-wpa2-via-group-policy-in-windows-server-2003/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 17:21:02 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[group policy]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wpa2]]></category>

		<guid isPermaLink="false">http://www.darrenwatt.com/?p=116</guid>
		<description><![CDATA[[Updated 11/03/2010; fixed typos and clarified a few things] One of the things I get involved with at work is sorting auto-deployment of wireless profiles via Group Policy. In the past this has been great for configuring WPA/TKIP wireless profiles...]]></description>
			<content:encoded><![CDATA[<p><em>[Updated 11/03/2010; fixed typos and clarified a few things]</em></p>
<p>One of the things I get involved with at work is sorting auto-deployment of wireless profiles via Group Policy. In the past this has been great for configuring WPA/TKIP wireless profiles which are fine for most situations. However, most implementations of 802.11n require either no encryption or WPA2 before the advanced features of &#8216;n&#8217; (eg. high speeds) are available.</p>
<p>Microsoft Server 2003 doesn’t support WPA2 in Group Policy, despite the fact it’s in XP Service Pack 3, and Windows Server 2008. It is also supported in Windows XP Service Pack 2 with update <a title="XP SP2 WPA2 fix" href="http://support.microsoft.com/kb/893357">kb893357</a>. After a lot of faffing around various forums it turns out there is a workaround to implement WPA2 in GPO on Server 2003.</p>
<div id="attachment_119" class="wp-caption alignnone" style="width: 310px"><a href="http://darrenwatt.com/wp-content/uploads/2008/10/wpa2_gpo_w2k3_server11.png"><img class="size-medium wp-image-119" title="WPA2 optional" src="http://www.darrenwatt.com/wp-content/uploads/2008/10/wpa2_gpo_w2k3_server-300x225.png" alt="wpa2_gpo_w2k3_server" width="300" height="225" /></a><p class="wp-caption-text">WPA2 Option in Server 2003</p></div>
<h2>Updating Active Directory for Group Policy Enhancements</h2>
<p>Described in <a href="http://technet.microsoft.com/en-gb/library/bb727029.aspx">http://technet.microsoft.com/en-gb/library/bb727029.aspx</a>.</p>
<p>This is just a <strong>howto</strong> so I won&#8217;t go into great detail, just how to quickly get it done.</p>
<p>Copy the file <a href="http://www.darrenwatt.com/wp-content/uploads/2008/10/802.11schema.ldf">802.11Schema.ldf</a> onto the Active Directory server (the content of this file is listed at the end of this post in plaintext which you can cut n paste into a file if the link fails: KEEP THE &#8216;-&#8217; AT THE END OF THE FILE, THIS IS IMPORTANT.<br />
Open command prompt and run the following command on AD Server:</p>
<p><code>C:&gt;ldifde -i -v -k -f 802.11Schema.ldf -c DC=X [Distinguished_Name_of_Domain]</code></p>
<p>I&#8217;ll paraphrase the M$ example at this point, if your domain is beans.com, the command you enter should be:</p>
<p><code>C:&gt;</code><code>ldifde -i -v -k -f 802.11Schema.ldf -c DC=X DC=beans,DC=com</code></p>
<p>It should respond that 6 items have been updated. It could probably benefit from a restart at this point, but other than that: That&#8217;s it for the Server!</p>
<h2>Group Policy Update from Vista PC or Server 2008</h2>
<p>Even though the Server 2003 box will support WPA2 now, you can&#8217;t set it up on the box itself. This needs to be done from either a Vista or Server 2008 machine (probably works with Windows 7 now &#8211; if anyone finds out can you pop me a comment please?). Join the PC to the domain if not already on it. Log onto the PC as Schema Administrator if possible &#8211; usually a Domain Admin account is fine.</p>
<p>Start, Run ‘gpmc.msc’ – If it’s not installed you need to install <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=9FF6E897-23CE-4A36-B7FC-D52065DE9960&amp;displaylang=en">Microsoft Remote Server Administration Tools for Windows Vista (KB941314)</a></p>
<p>After the MRSAT have been installed you need to enable them. Go to:<br />
Control Panel, Programs and Features, Turn Windows features on and off, Enable Tools.</p>
<p>From Group Policy Management you should now be able to select the Wireless Policy under:<br />
Computer Config, Policies, Windows Settings, Security Settings, Wireless Network Policies, edit ‘XP’ policy, select Preferred Networks, and enter or edit the network profile. Change the authentication type to WPA2 and encryption to AES. Job done!</p>
<p>I&#8217;m always interested in feedback from this, if there&#8217;s anything I&#8217;ve missed or if things have moved on pop me a note and I&#8217;ll update.</p>
<p>The following is the content of the ldf file, you should just be able to download the file above though.</p>
<p><code><br />
# -----------------------------------------------------------------------<br />
# Copyright (c) 2006 Microsoft Corporation<br />
#<br />
# MODULE: 802.11Schema.ldf<br />
# -----------------------------------------------------------------------</p>
<p># -----------------------------------------------------------------------<br />
# define schemas for these attributes:<br />
#ms-net-ieee-80211-GP-PolicyGUID<br />
#ms-net-ieee-80211-GP-PolicyData<br />
#ms-net-ieee-80211-GP-PolicyReserved<br />
# -----------------------------------------------------------------------</p>
<p>dn: CN=ms-net-ieee-80211-GP-PolicyGUID,CN=Schema,CN=Configuration,DC=X<br />
changetype: ntdsSchemaAdd<br />
objectClass: attributeSchema<br />
ldapDisplayName: ms-net-ieee-80211-GP-PolicyGUID<br />
adminDisplayName: ms-net-ieee-80211-GP-PolicyGUID<br />
adminDescription: This attribute contains a GUID which identifies a specific 802.11 group policy object on the domain.<br />
attributeId: 1.2.840.113556.1.4.1951<br />
attributeSyntax: 2.5.5.12<br />
omSyntax: 64<br />
isSingleValued: TRUE<br />
systemOnly: FALSE<br />
searchFlags: 0<br />
rangeUpper: 64<br />
schemaIdGuid:: YnBpNa8ei0SsHjiOC+T97g==<br />
showInAdvancedViewOnly: TRUE<br />
systemFlags: 16</p>
<p>dn: CN=ms-net-ieee-80211-GP-PolicyData,CN=Schema,CN=Configuration,DC=X<br />
changetype: ntdsSchemaAdd<br />
objectClass: attributeSchema<br />
ldapDisplayName: ms-net-ieee-80211-GP-PolicyData<br />
adminDisplayName: ms-net-ieee-80211-GP-PolicyData<br />
adminDescription: This attribute contains all of the settings and data which comprise a group policy configuration for 802.11 wireless networks.<br />
attributeId: 1.2.840.113556.1.4.1952<br />
attributeSyntax: 2.5.5.12<br />
omSyntax: 64<br />
isSingleValued: TRUE<br />
systemOnly: FALSE<br />
searchFlags: 0<br />
rangeUpper: 4194304<br />
schemaIdGuid:: pZUUnHZNjkaZHhQzsKZ4VQ==<br />
showInAdvancedViewOnly: TRUE<br />
systemFlags: 16</p>
<p>dn: CN=ms-net-ieee-80211-GP-PolicyReserved,CN=Schema,CN=Configuration,DC=X<br />
changetype: ntdsSchemaAdd<br />
objectClass: attributeSchema<br />
ldapDisplayName: ms-net-ieee-80211-GP-PolicyReserved<br />
adminDisplayName: ms-net-ieee-80211-GP-PolicyReserved<br />
adminDescription: Reserved for future use<br />
attributeId: 1.2.840.113556.1.4.1953<br />
attributeSyntax: 2.5.5.10<br />
omSyntax: 4<br />
isSingleValued: TRUE<br />
systemOnly: FALSE<br />
searchFlags: 0<br />
rangeUpper: 4194304<br />
schemaIdGuid:: LsZpD44I9U+lOukjzsB8Cg==<br />
showInAdvancedViewOnly: TRUE<br />
systemFlags: 16</p>
<p># -----------------------------------------------------------------------<br />
# Reload the schema cache to pick up altered classes and attributes<br />
# -----------------------------------------------------------------------<br />
dn:<br />
changetype: ntdsSchemaModify<br />
add: schemaUpdateNow<br />
schemaUpdateNow: 1<br />
-</p>
<p># -----------------------------------------------------------------------<br />
# define schemas for the parent class:<br />
#ms-net-ieee-80211-GroupPolicy<br />
# -----------------------------------------------------------------------</p>
<p>dn: CN=ms-net-ieee-80211-GroupPolicy,CN=Schema,CN=Configuration,DC=X<br />
changetype: ntdsSchemaAdd<br />
objectClass: classSchema<br />
ldapDisplayName: ms-net-ieee-80211-GroupPolicy<br />
adminDisplayName: ms-net-ieee-80211-GroupPolicy<br />
adminDescription: This class represents an 802.11 wireless network group policy object. This class contains identifiers and configuration data relevant to an 802.11 wireless network.<br />
governsId: 1.2.840.113556.1.5.251<br />
objectClassCategory: 1<br />
rdnAttId: 2.5.4.3<br />
subClassOf: 2.5.6.0<br />
systemMayContain: 1.2.840.113556.1.4.1953<br />
systemMayContain: 1.2.840.113556.1.4.1952<br />
systemMayContain: 1.2.840.113556.1.4.1951<br />
systemPossSuperiors: 1.2.840.113556.1.3.30<br />
systemPossSuperiors: 1.2.840.113556.1.3.23<br />
systemPossSuperiors: 2.5.6.6<br />
schemaIdGuid:: Yxi4HCK4eUOeol/3vcY4bQ==<br />
defaultSecurityDescriptor: D:(A;;RPWPCRCCDCLCLORCWOWDSDDTSW;;;DA)(A;;RPWPCRCCDCLCLORCWOWDSDDTSW;;;SY)(A;;RPLCLORC;;;AU)<br />
showInAdvancedViewOnly: TRUE<br />
defaultHidingValue: TRUE<br />
systemOnly: FALSE<br />
defaultObjectCategory: CN=ms-net-ieee-80211-GroupPolicy,CN=Schema,CN=Configuration,DC=X<br />
systemFlags: 16</p>
<p># -----------------------------------------------------------------------<br />
# Reload the schema cache to pick up altered classes and attributes<br />
# -----------------------------------------------------------------------<br />
dn:<br />
changetype: ntdsSchemaModify<br />
add: schemaUpdateNow<br />
schemaUpdateNow: 1<br />
-<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://darrenwatt.com/applying-wpa2-via-group-policy-in-windows-server-2003/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
	</channel>
</rss>

