<?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>Elvenhome eller no &#187; Group Policies</title>
	<atom:link href="http://elvenhome.no/category/group-policies/feed" rel="self" type="application/rss+xml" />
	<link>http://elvenhome.no</link>
	<description>tulletanker i tulleverden</description>
	<lastBuildDate>Mon, 31 Oct 2011 14:25:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>fileupdater.vbs</title>
		<link>http://elvenhome.no/fileupdatervbs</link>
		<comments>http://elvenhome.no/fileupdatervbs#comments</comments>
		<pubDate>Mon, 30 Mar 2009 18:21:06 +0000</pubDate>
		<dc:creator>gilrim</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Group Policies]]></category>
		<category><![CDATA[VBscript]]></category>

		<guid isPermaLink="false">http://elvenhome.no/?p=59</guid>
		<description><![CDATA[I mentioned earlier that I&#8217;m using a loginscript to sync the pac files to the local drive, but didn&#8217;t upload it at the time. Here it is anyhow &#8211; it&#8217;s probably not the most elegant solution, nor the one with &#8230; <a href="http://elvenhome.no/fileupdatervbs">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="ngg-singlepic ngg-right alignright" src="http://elvenhome.no/wp/wp-content/gallery/screencaps/localproxypac.png" alt="localproxypac.png" width="384" height="332" /><br />
I mentioned earlier that I&#8217;m using a loginscript to sync the pac files to the local drive, but didn&#8217;t upload it at the time. Here it is anyhow &#8211; it&#8217;s probably not the most elegant solution, nor the one with least code; but it works for me. Used with a GPO that sets the path locally, it&#8217;s a fairly flexible way of controlling internet access.</p>
<p>Basically, you call it like this:</p>
<p>fileupdater.vbs /i:input.txt /o:target.txt</p>
<p>The locations can be anything the vbScript FileSystemObject is able of accessing with the credentials running it &#8211; both local drives and unc-paths.</p>
<p><a href="http://elvenhome.no/wp/wp-content/uploads/2009/03/fileupdater.vbs">fileupdater.vbs</a><br />
I also use the script to push any changes in the PAC file into the netlogon directory (runas domain admin):</p>
<pre>C:\scripting&gt;fileupdater.vbs /v /i:C:\conf\proxy.pac /o:\\%USERDNSDOMAIN%\netlogon\proxypriv.pac
Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.

output file created: 27.03.2009 11:04:17 modified: 27.03.2009 11:17:15
input file created: 16.12.2008 03:24:19 modified: 28.03.2009 14:54:51
updating file</pre>
]]></content:encoded>
			<wfw:commentRss>http://elvenhome.no/fileupdatervbs/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>applying gpo based IE settings &#8211; and all that jazz</title>
		<link>http://elvenhome.no/applying-gpo-based-ie-settings-and-all-that-jazz</link>
		<comments>http://elvenhome.no/applying-gpo-based-ie-settings-and-all-that-jazz#comments</comments>
		<pubDate>Fri, 27 Mar 2009 16:31:49 +0000</pubDate>
		<dc:creator>gilrim</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[Group Policies]]></category>
		<category><![CDATA[nettverk]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://elvenhome.no/?p=29</guid>
		<description><![CDATA[So back in the late nineties, with Microsoft releasing Windows 2000 server and Workstation, they&#8217;d got the news that administrators needed a way of keeping check of users&#8217; computer settings and such. So they make Group Policy Objects and ADM &#8230; <a href="http://elvenhome.no/applying-gpo-based-ie-settings-and-all-that-jazz">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So back in the late nineties, with Microsoft releasing Windows 2000 server and Workstation, they&#8217;d got the news that administrators needed a way of keeping check of users&#8217; computer settings and such. So they make Group Policy Objects and ADM templates available for deployment in Active Directory. A GPO contains Computer and User settings and are read from %Logonserver%\SysVol\%userdnsdomain%\Policies\, parsed and showed into the registry.
<a href="http://elvenhome.no/wp/wp-content/gallery/screencaps/standard-gpo2.png" title="" class="shutterset_singlepic4" >
	<img class="ngg-singlepic ngg-right" src="http://elvenhome.no/wp/wp-content/gallery/cache/4__x_standard-gpo2.png" alt="standard-gpo2.png" title="standard-gpo2.png" />
</a>
 Computer settings go under HKEY_LOCAL_MACHINE\SOFTWARE\Policies and user settings reside in HKEY_CURRENT_USER\Software\Policies. You can apply GPO&#8217;s to particular Organizational Units in AD, decide what groups should have access to them and filter based on WMI. When you first create your AD-forest, each domain are asigned a couple of standard GPOs, &#8220;Default Domain Policy&#8221; and &#8220;Default Domain Controllers Policy&#8221;. They contain MS&#8217; standard settings for computers and DC&#8217;s. The first are linked to the root of your domain, while the other is linked to the Domain Controllers OU.</p>
<p>The standard way MS have these settings exposed, it what you see above. And it works pretty well, what the radio buttons do is rather self-explanatory. As long as the policy is either &#8220;Not Configured&#8221; or &#8220;Disabled&#8221;, the sub-items are disabled and can&#8217;t be set. You even have a &#8220;Explain&#8221; tab to the right there, that goes into detail about what the ramifications of using this particular option is.</p>
<h2>Now, enter the stinking pile of turd, that is IE-profiles.</h2>
<p>Thing is, you see, GPO&#8217;s can be done as above &#8211; or they might be extended with com-objects, dlls or probably pretty much anything. The reason why this is a setup for epic failure is because this makes for controls that don&#8217;t behave as expected, or might very well leave behind junk in GPO&#8217;s &#8211; <a title="MS' knowledgebase 286251" href="http://support.microsoft.com/default.aspx?scid=kb;en-us;286251" target="_blank">that basically can&#8217;t be deleted</a>! Now, couple that with this: <a title="MS' knowledgebase 910201" href="http://support.microsoft.com/kb/910201" target="_blank">The Default Domain Policy also cannot be deleted</a>!<br />

<a href="http://elvenhome.no/wp/wp-content/gallery/screencaps/empty ieak.png" title="" class="shutterset_singlepic9" >
	<img class="ngg-singlepic ngg-right" src="http://elvenhome.no/wp/wp-content/gallery/cache/9__301x142_empty ieak.png" alt="empty ieak.png" title="empty ieak.png" />
</a>
</p>
<p>Yay &#8211; you&#8217;ve got yourself a real super-ghost-gpo-setting.. To check for this überpolicy, look for the folder %Logonserver%\SysVol\%userdnsdomain%\Policies\{31B2F340-016D-11D2-945F-00C04FB984F9}\USER\MICROSOFT\IEAK\.</p>
<p>Solution to this issue? I&#8217;ve looked quite a bit, and the closest I came was <a title="dcGpoFix: Group Policies" href="http://technet.microsoft.com/en-us/library/cc772811.aspx" target="_blank">this tool made by ms called dcgpofix</a>. Basically, it b0rkes the policy of choice (either one of them, or both), and creates a new with the defaults. <a title="MS' knowledgebase 833783" href="http://support.microsoft.com/kb/833783" target="_blank">Then it applies the security policies that youd normally have after a blank adprep</a>. In other words: all security-settings you might have made on the server before initiating the domain will be lost. In most cases this won&#8217;t matter much, but be sure to write down any specifics you might have so you can manually apply them afterwards. Ms advices against using this tool, unless it&#8217;s the very last resort. I&#8217;ve used it on a domain that thankfully didn&#8217;t have many changes made to it other than the ghost-proxy-thingie &#8211; in Default Domain policy.
<a href="http://elvenhome.no/wp/wp-content/gallery/screencaps/gpo fuckup ie settings.png" title="" class="shutterset_singlepic10" >
	<img class="ngg-singlepic ngg-left" src="http://elvenhome.no/wp/wp-content/gallery/cache/10__372x167_gpo fuckup ie settings.png" alt="gpo fuckup ie settings.png" title="gpo fuckup ie settings.png" />
</a>
</p>
<h2>Things to consider:</h2>
<p><strong>Never ever</strong>, shall you make changes to &#8220;Default Domain Policy&#8221; nor &#8220;Default Domain Controllers Policy&#8221; beyond the policies that&#8217;s defined in them by default. They <strong>cannot</strong> be reset, undone or fixed in any practical way, should the setting have unexpected consequence. As stated above, GPO&#8217;s might be extended to do unexpected things when you least want it to. For instance; some of the IE settings, as well as the Wlan settings available in the standard policy sets, rely partially on external programs/tools to function. You might also experience that working on a GPO <a title="Local settings affected by GPO editing" href="http://www.gpoguy.com/FAQs/tabid/57/agentType/ViewType/PropertyTypeID/8/Default.aspx#20" target="_blank">suddenly changes local settings</a> &#8211; now wth? Again: be extremly careful when editing these gpo&#8217;s, leave the default ones alone unless you have to alter the already defined settings.</p>
]]></content:encoded>
			<wfw:commentRss>http://elvenhome.no/applying-gpo-based-ie-settings-and-all-that-jazz/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

