<?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>Kreslavsky IT blog &#187; Active Directory</title>
	<atom:link href="http://www.kreslavsky.com/category/microsoft/active-directory/feed" rel="self" type="application/rss+xml" />
	<link>http://www.kreslavsky.com</link>
	<description>News, guides, and tips to antivirus programmes, scripts, and security</description>
	<lastBuildDate>Sun, 29 Jan 2012 04:57:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Deploy wireless settings with Key using netsh script and GPO</title>
		<link>http://www.kreslavsky.com/2011/05/deploy-wireless-settings-with-key-using-netsh-script-and-gpo.html</link>
		<comments>http://www.kreslavsky.com/2011/05/deploy-wireless-settings-with-key-using-netsh-script-and-gpo.html#comments</comments>
		<pubDate>Tue, 03 May 2011 08:36:13 +0000</pubDate>
		<dc:creator>Gil Kreslavsky</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[GPO]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Certificates]]></category>
		<category><![CDATA[Command Prompt]]></category>
		<category><![CDATA[Deploy]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Export Profile]]></category>
		<category><![CDATA[Folder C]]></category>
		<category><![CDATA[Gpo]]></category>
		<category><![CDATA[Interface]]></category>
		<category><![CDATA[Lan Settings]]></category>
		<category><![CDATA[Lt]]></category>
		<category><![CDATA[netsh]]></category>
		<category><![CDATA[Profile Name]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[Shared Key]]></category>
		<category><![CDATA[Wireless]]></category>
		<category><![CDATA[Wireless Lan]]></category>
		<category><![CDATA[Wireless Management]]></category>
		<category><![CDATA[Wireless Profile]]></category>
		<category><![CDATA[Wlan]]></category>
		<category><![CDATA[Workstation]]></category>
		<category><![CDATA[Yourkey]]></category>

		<guid isPermaLink="false">http://www.kreslavsky.com/2011/05/deploy-wireless-settings-with-key-using-netsh-script-and-gpo.html</guid>
		<description><![CDATA[Tweet &#160; Windows 2008 has built in policy GPO for wireless setting management. You can configure your network setting using Certificates. It is the most recommended and secure way But if you like to deploy the wireless settings using static key, you will have to use other way. The steps bellow describe the way to deploy Wireless LAN settings with a Pre-Shared Key The purpose is to Automate Adding Wireless Profile in Windows. Preparations Configure Wireless settings on one workstation from command prompt run netsh wlan export profile name=&#34;NameOfyourProfile&#34; folder=c:temp interface=&#34;wirelesssettings” Confirm that under c:temp you have wirelesssettings.xml file Open wirelesssettings.xml file locate the following line &#60;protected&#62;true&#60;/protected&#62; Change it to &#60;protected&#62;false&#60;/protected&#62; Under you will see encrypted line &#60;keyMaterial&#62;01000000D08C9DDF0115D1118&#60;/keyMaterial&#62; Change it to your key like that &#60;keyMaterial&#62;Yourkey&#60;/keyMaterial&#62; Note: It means that your wireless key will be in clear text and everyone who has access to the file will be able to read your wireless key&#34; Deployment Copy your wireless settings xml file to NETLOGON Create a bat or cmd file with the following line netsh wlan add profile filename=&#34;\yourserverNETLOGONwirelesssettings.xml&#34; user=all Run the bat file from some domain member computer and confirm that it works After finishing all steps above you can deploy the script from GPO Note: Setting are applicable for Windows Vista Windows 7 and Windows 2008 Only]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.kreslavsky.com%2F2011%2F05%2Fdeploy-wireless-settings-with-key-using-netsh-script-and-gpo.html&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://www.kreslavsky.com/2011/05/deploy-wireless-settings-with-key-using-netsh-script-and-gpo.html"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.kreslavsky.com/2011/05/deploy-wireless-settings-with-key-using-netsh-script-and-gpo.html"  data-text="Deploy wireless settings with Key using netsh script and GPO" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://www.kreslavsky.com/2011/05/deploy-wireless-settings-with-key-using-netsh-script-and-gpo.html" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://www.kreslavsky.com/2011/05/deploy-wireless-settings-with-key-using-netsh-script-and-gpo.html"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>&#160;</p>
<p>Windows 2008 has built in policy GPO for wireless setting management.    <br />You can configure your network setting using Certificates. It is the most recommended and secure way     <br />But if you like to deploy the wireless settings using static key, you will have to use other way.</p>
<p>The steps bellow describe the way to deploy Wireless LAN settings with a Pre-Shared Key   <br />The purpose is to Automate Adding Wireless Profile in Windows.</p>
<p>Preparations</p>
<ul>
<li>Configure Wireless settings on one workstation </li>
<li>from command prompt run      <br />netsh wlan export profile name=&quot;<em>NameOfyourProfile</em>&quot; folder=<em>c:temp</em> interface=&quot;wirelesssettings” </li>
<li>Confirm that under c:temp you have wirelesssettings.xml file </li>
<li>Open wirelesssettings.xml file locate the following line      <br />&lt;protected&gt;true&lt;/protected&gt; </li>
<li>Change it to &lt;protected&gt;false&lt;/protected&gt; </li>
<li>Under you will see encrypted line &lt;keyMaterial&gt;01000000D08C9DDF0115D1118&lt;/keyMaterial&gt; </li>
<li>Change it to your key like that &lt;keyMaterial&gt;<em>Yourkey&lt;/keyMaterial&gt;</em><br />
<blockquote>
<p>Note: It means that your wireless key will be in clear text and everyone who has access to the file will be able to read your wireless key&quot;</p>
</blockquote>
</li>
</ul>
<p>Deployment</p>
<ul>
<li>Copy your wireless settings xml file to NETLOGON </li>
<li>Create a bat or cmd file with the following line      <br />netsh wlan add profile filename=&quot;\yourserverNETLOGONwirelesssettings.xml&quot; user=all </li>
<li>Run the bat file from some domain member computer and confirm that it works </li>
</ul>
<p>After finishing all steps above you can deploy the script from GPO</p>
<blockquote><p>Note: Setting are applicable for Windows Vista Windows 7 and Windows 2008 Only</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.kreslavsky.com/2011/05/deploy-wireless-settings-with-key-using-netsh-script-and-gpo.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Show only specified Control Panel items GPO doesn’t apply on Windows 2008R2 Terminal Servers</title>
		<link>http://www.kreslavsky.com/2010/08/show-only-specified-control-panel-items-gpo-doesnt-apply-on-windows-2008r2-terminal-servers.html</link>
		<comments>http://www.kreslavsky.com/2010/08/show-only-specified-control-panel-items-gpo-doesnt-apply-on-windows-2008r2-terminal-servers.html#comments</comments>
		<pubDate>Tue, 24 Aug 2010 10:23:11 +0000</pubDate>
		<dc:creator>Gil Kreslavsky</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[GPO]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Canonical Names]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[Control Panel]]></category>
		<category><![CDATA[Control Panel Applets]]></category>
		<category><![CDATA[File Names]]></category>
		<category><![CDATA[Gpo]]></category>
		<category><![CDATA[Previous Version]]></category>
		<category><![CDATA[Rsquo]]></category>
		<category><![CDATA[Show Control]]></category>
		<category><![CDATA[Terminal Servers]]></category>
		<category><![CDATA[Windows 2008R2]]></category>
		<category><![CDATA[Windows Servers]]></category>

		<guid isPermaLink="false">http://www.kreslavsky.com/2010/08/show-only-specified-control-panel-items-gpo-doesnt-apply-on-windows-2008r2-terminal-servers.html</guid>
		<description><![CDATA[Tweet &#160; In Previous version we used to work with CPL File Names&#160; to define which one of control panel applets will be displayed. In order to make it work Use Canonical names instead. It should Look like that You can get the full list from here]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.kreslavsky.com%2F2010%2F08%2Fshow-only-specified-control-panel-items-gpo-doesnt-apply-on-windows-2008r2-terminal-servers.html&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://www.kreslavsky.com/2010/08/show-only-specified-control-panel-items-gpo-doesnt-apply-on-windows-2008r2-terminal-servers.html"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.kreslavsky.com/2010/08/show-only-specified-control-panel-items-gpo-doesnt-apply-on-windows-2008r2-terminal-servers.html"  data-text="Show only specified Control Panel items GPO doesn’t apply on Windows 2008R2 Terminal Servers" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://www.kreslavsky.com/2010/08/show-only-specified-control-panel-items-gpo-doesnt-apply-on-windows-2008r2-terminal-servers.html" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://www.kreslavsky.com/2010/08/show-only-specified-control-panel-items-gpo-doesnt-apply-on-windows-2008r2-terminal-servers.html"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>&#160;</p>
<p>In Previous version we used to work with <a href="http://www.kreslavsky.com/2009/11/windows-control-panel-cpl-files-list-and-description.html" target="_blank">CPL File Names</a>&#160; to define which one of control panel applets will be displayed.</p>
<p>In order to make it work Use Canonical names instead.    <br />It should Look like that     <br /><a href="http://www.kreslavsky.com/wp-content/uploads/2010/08/image.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Canonical Names of Control Panel Items" border="0" alt="Canonical Names of Control Panel Items" src="http://www.kreslavsky.com/wp-content/uploads/2010/08/image_thumb.png" width="515" height="264" /></a> </p>
<p>You can get the full list from <a href="http://msdn.microsoft.com/en-us/library/ee330741(VS.85).aspx#">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kreslavsky.com/2010/08/show-only-specified-control-panel-items-gpo-doesnt-apply-on-windows-2008r2-terminal-servers.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Block Access to  My Computer Properties Menu in Windows 7 and Vista</title>
		<link>http://www.kreslavsky.com/2009/10/block-access-to-my-computer-properties-menu-in-windows-7-and-vista.html</link>
		<comments>http://www.kreslavsky.com/2009/10/block-access-to-my-computer-properties-menu-in-windows-7-and-vista.html#comments</comments>
		<pubDate>Fri, 30 Oct 2009 10:05:00 +0000</pubDate>
		<dc:creator>Gil Kreslavsky</dc:creator>
				<category><![CDATA[GPO]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.kreslavsky.com/2009/10/block-access-to-my-computer-properties-menu-in-windows-7-and-vista.html</guid>
		<description><![CDATA[Tweet In System properties window you can various information about  Windows system . You may wish to block it to prevent users from accessing it  and do changes. You can easily disable access to My Computer context menu through AD Group Policy. This solution doesn’t block access to menus, only hides it from right click. Menu  can still be accessed Windows key + Pause/Break key. To disable it Open Group Policy Manager Navigate to User Configuration &#62; Policies &#62; Administrative Templates &#62; Desktop Double Click on “Remove Properties from the Computer icon context menu” and change it to “Enabled” Windows 7 Trial Download]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.kreslavsky.com%2F2009%2F10%2Fblock-access-to-my-computer-properties-menu-in-windows-7-and-vista.html&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://www.kreslavsky.com/2009/10/block-access-to-my-computer-properties-menu-in-windows-7-and-vista.html"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.kreslavsky.com/2009/10/block-access-to-my-computer-properties-menu-in-windows-7-and-vista.html"  data-text="Block Access to  My Computer Properties Menu in Windows 7 and Vista" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://www.kreslavsky.com/2009/10/block-access-to-my-computer-properties-menu-in-windows-7-and-vista.html" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://www.kreslavsky.com/2009/10/block-access-to-my-computer-properties-menu-in-windows-7-and-vista.html"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>In System properties window you can various information about  Windows system .<br />
You may wish to block it to prevent users from accessing it  and do changes.</p>
<p>You can easily disable access to My Computer context menu through AD Group Policy.<br />
This solution doesn’t block access to menus, only hides it from right click. Menu  can still be accessed <strong>Windows key + Pause/Break</strong> key.</p>
<p>To disable it Open Group Policy Manager<br />
Navigate to <strong>User Configuration &gt; Policies &gt; Administrative Templates &gt; Desktop<br />
</strong>Double Click on<strong> “Remove Properties from the Computer icon context menu”</strong> and change it to <strong>“Enabled”</strong></p>
<p><a href="http://www.kreslavsky.com/wp-content/uploads/2009/10/image26.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Remove Properties from the Computer icon context menu" src="http://www.kreslavsky.com/wp-content/uploads/2009/10/image_thumb26.png" border="0" alt="Remove Properties from the Computer icon context menu" width="497" height="330" /></a></p>
<p><a href="http://www.kreslavsky.com/2009/11/windows-7-90-days-trial.html" target="_blank">Windows 7 Trial Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kreslavsky.com/2009/10/block-access-to-my-computer-properties-menu-in-windows-7-and-vista.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prevent users from disjoining from domain using GPO</title>
		<link>http://www.kreslavsky.com/2009/10/prevent-users-from-disjoining-from-domain-using-gpo.html</link>
		<comments>http://www.kreslavsky.com/2009/10/prevent-users-from-disjoining-from-domain-using-gpo.html#comments</comments>
		<pubDate>Thu, 29 Oct 2009 09:54:00 +0000</pubDate>
		<dc:creator>Gil Kreslavsky</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[GPO]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[Disjoin from Domain]]></category>
		<category><![CDATA[Gpo]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.kreslavsky.com/2009/10/prevent-users-from-disjoining-from-domain-using-gpo.html</guid>
		<description><![CDATA[Tweet &#160; There is no 100% foolproof&#160; solution that blocks local admin users access the option of disjoining their computer from domain , but you can make it harder to get to system menu. I remove the &#34;properties&#34; from when you right click on my computer. Then i also remove system applet from control panel menu ,and disable registry editing. To disable right click on my computer go to Group Policy. Navigate to&#160; User Configuration&#62;Administrative templates&#62;Desktop Locate “Remove Properties from the My Computer context menu” and set it to “Enable” You should check also How disable&#160; Right Click Properties on my computer on windows 7/Vista Than navigate to User Configuration&#62;Administrative templates&#62;Control PanelLocate “Hide specified Control Panel applets”Set it to “Enabled” and add Sysdm.cpl to the list of disallowed Control Panel applets. To block Sysdm.cpl&#160; from executing Navigate to User Configuration&#62;Administrative Templates&#62;System Navigate to “Don’t run specified Windows application” set it to “Enabled” and add Sysdm.cpl&#160; to the list of disallowed applications]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.kreslavsky.com%2F2009%2F10%2Fprevent-users-from-disjoining-from-domain-using-gpo.html&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://www.kreslavsky.com/2009/10/prevent-users-from-disjoining-from-domain-using-gpo.html"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.kreslavsky.com/2009/10/prevent-users-from-disjoining-from-domain-using-gpo.html"  data-text="Prevent users from disjoining from domain using GPO" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://www.kreslavsky.com/2009/10/prevent-users-from-disjoining-from-domain-using-gpo.html" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://www.kreslavsky.com/2009/10/prevent-users-from-disjoining-from-domain-using-gpo.html"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>&#160;</p>
<p>There is no 100% foolproof&#160; solution that blocks local admin users access the option of disjoining their computer from domain , but you can make it harder to get to system menu.</p>
<p>I remove the &quot;properties&quot; from when you right click on my computer.    <br />Then i also remove system applet from control panel menu ,and disable registry editing.</p>
<p>To disable right click on my computer go to Group Policy.    <br />Navigate to&#160; User Configuration&gt;Administrative templates&gt;Desktop     <br />Locate “Remove Properties from the My Computer context menu” and set it to “<strong>Enable</strong>” </p>
<p>You should check also <a href="http://www.kreslavsky.com/2009/10/block-access-to-my-computer-properties-menu-in-windows-7-and-vista.html" target="_blank">How disable&#160; Right Click Properties on my computer on windows 7/Vista</a>    </p>
<p><a href="http://www.kreslavsky.com/wp-content/uploads/2009/10/image23.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Remove Properties from the My Computer" border="0" alt="Remove Properties from the My Computer" src="http://www.kreslavsky.com/wp-content/uploads/2009/10/image_thumb23.png" width="365" height="405" /></a> </p>
<pre>Than navigate to User Configuration&gt;Administrative templates&gt;Control PanelLocate “Hide specified Control Panel applets”Set it to “Enabled” and add <strong>Sysdm.cpl</strong> to the list of disallowed Control Panel applets.</pre>
<p><a href="http://www.kreslavsky.com/wp-content/uploads/2009/10/image24.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="list of disallowed Control Panel applets" border="0" alt="list of disallowed Control Panel applets" src="http://www.kreslavsky.com/wp-content/uploads/2009/10/image_thumb24.png" width="399" height="376" /></a> </p>
<p>To block <strong>Sysdm.cpl</strong>&#160; from executing </p>
<p>Navigate to User Configuration&gt;Administrative Templates&gt;System </p>
<p>Navigate to “Don’t run specified Windows application” set it to “Enabled” and add <strong>Sysdm.cpl</strong>&#160; to the list of disallowed applications</p>
<p><a href="http://www.kreslavsky.com/wp-content/uploads/2009/10/image25.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Don’t run specified Windows application" border="0" alt="Don’t run specified Windows application" src="http://www.kreslavsky.com/wp-content/uploads/2009/10/image_thumb25.png" width="400" height="240" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kreslavsky.com/2009/10/prevent-users-from-disjoining-from-domain-using-gpo.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>c1038a21 PR_PF_PROXY exchange 2003 public folders error</title>
		<link>http://www.kreslavsky.com/2009/07/c1038a21-pr_pf_proxy-exchange-2003-public-folders-error.html</link>
		<comments>http://www.kreslavsky.com/2009/07/c1038a21-pr_pf_proxy-exchange-2003-public-folders-error.html#comments</comments>
		<pubDate>Wed, 22 Jul 2009 11:01:16 +0000</pubDate>
		<dc:creator>Gil Kreslavsky</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Exchange 2003]]></category>
		<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[Addres Book]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Free busy]]></category>
		<category><![CDATA[MDBVu32]]></category>
		<category><![CDATA[PFDAVAdmin]]></category>
		<category><![CDATA[PRF_PF_PROXY]]></category>
		<category><![CDATA[Public Folders]]></category>

		<guid isPermaLink="false">http://www.kreslavsky.com/2009/07/c1038a21-pr_pf_proxy-exchange-2003-public-folders-error.html</guid>
		<description><![CDATA[Tweet Error c1038a21 appears when you try to view properties of public folder system folder – Schedule + free busy or offline address book folder Microsoft have a article on how to fix it , but in there guide they recommend usage of Information Store Viewer (MDBVu32). I prefer to use PFDAVAdmin that can be downloaded from here it is much easier . Run PFDAVAdmin Press on file&#62;connect Fill your DC settings like on screenshot bellow (don’t forget to select public folders) Navigate to problematic folder &#8211; schedule free busy for example Right click on it and chose “property editor” Select PRF_PF_PROXY from property dropdown mark clear and press execute. That’s it, that should fix the problem.]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.kreslavsky.com%2F2009%2F07%2Fc1038a21-pr_pf_proxy-exchange-2003-public-folders-error.html&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://www.kreslavsky.com/2009/07/c1038a21-pr_pf_proxy-exchange-2003-public-folders-error.html"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.kreslavsky.com/2009/07/c1038a21-pr_pf_proxy-exchange-2003-public-folders-error.html"  data-text="c1038a21 PR_PF_PROXY exchange 2003 public folders error" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://www.kreslavsky.com/2009/07/c1038a21-pr_pf_proxy-exchange-2003-public-folders-error.html" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://www.kreslavsky.com/2009/07/c1038a21-pr_pf_proxy-exchange-2003-public-folders-error.html"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>Error <strong>c1038a21</strong> appears when you try to view properties of public folder system folder – Schedule + <strong>free busy</strong> or <strong>offline address book</strong> folder</p>
<h3><a href="http://www.kreslavsky.com/wp-content/uploads/2009/07/image1.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.kreslavsky.com/wp-content/uploads/2009/07/image_thumb1.png" width="244" height="52" /></a> </h3>
<p>Microsoft have a article on how to fix it , but in there guide they recommend usage of <strong>Information Store Viewer (MDBVu32).</strong></p>
<p>I prefer to use <strong>PFDAVAdmin</strong> that can be downloaded from <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=635BE792-D8AD-49E3-ADA4-E2422C0AB424&amp;displaylang=en" target="_blank"><strong>here</strong></a> it is much easier .</p>
<ol>
<li>Run <strong>PFDAVAdmin</strong> </li>
<li>Press on file&gt;connect</li>
<li>Fill your DC settings like on screenshot bellow <em>(don’t forget to select public folders)       <br /></em><a href="http://www.kreslavsky.com/wp-content/uploads/2009/07/image2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.kreslavsky.com/wp-content/uploads/2009/07/image_thumb2.png" width="244" height="224" /></a> </li>
<li>Navigate to problematic folder &#8211; schedule free busy for example     <br /><a href="http://www.kreslavsky.com/wp-content/uploads/2009/07/image3.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.kreslavsky.com/wp-content/uploads/2009/07/image_thumb3.png" width="232" height="244" /></a> </li>
<li>Right click on it and chose “property editor”     <br /><a href="http://www.kreslavsky.com/wp-content/uploads/2009/07/image4.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.kreslavsky.com/wp-content/uploads/2009/07/image_thumb4.png" width="200" height="208" /></a> </li>
<li>Select PRF_PF_PROXY from property dropdown     <br />mark clear and press execute.      <br /><a href="http://www.kreslavsky.com/wp-content/uploads/2009/07/image5.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.kreslavsky.com/wp-content/uploads/2009/07/image_thumb5.png" width="312" height="198" /></a> </li>
</ol>
<p>That’s it, that should fix the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kreslavsky.com/2009/07/c1038a21-pr_pf_proxy-exchange-2003-public-folders-error.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New User Mailbox is Created in Wrong Mailbox Store or Storage Group</title>
		<link>http://www.kreslavsky.com/2009/04/new-user-mailbox-is-created-in-wrong-mailbox-store-or-storage-group.html</link>
		<comments>http://www.kreslavsky.com/2009/04/new-user-mailbox-is-created-in-wrong-mailbox-store-or-storage-group.html#comments</comments>
		<pubDate>Tue, 28 Apr 2009 07:31:11 +0000</pubDate>
		<dc:creator>Gil Kreslavsky</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Exchange 2003]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[AD Users]]></category>
		<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://www.kreslavsky.com/2009/04/new-user-mailbox-is-created-in-wrong-mailbox-store-or-storage-group.html</guid>
		<description><![CDATA[Tweet The issue occurs when you are trying to create mailbox for new user using ADUC in Exchange 2003 By Microsoft the reason for the issue is : After upgrade of the forest to a 2003 native mode functional level, the Recipient Update Service may overwrite the value of the homeMDB attribute for new Microsoft Exchange Server 2003 users. To fix the issue: Open ADSI Edit. Double-click the Configuration container Expand CN=Services Expand CN=Microsoft Exchange, Expand CN=&#60;Your ExchangeOrganizationName&#62;. Click CN=System Policies. In the right pane, right-click CN=Mailbox Enable User, and then click Properties. Scroll down to select the purportedSearch attribute, and then click Edit. Clear the attribute, and then use the following filter to configure the attribute: (&#38;(objectCategory=person)(objectClass=user)(mailnickname=*)(homeMdb=*)) Click OK . Solution was been created with the help of the following article:http://technet.microsoft.com/en-us/library/aa998426.aspx note:You must enter the attribute without any spaces, exactly as it is.]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.kreslavsky.com%2F2009%2F04%2Fnew-user-mailbox-is-created-in-wrong-mailbox-store-or-storage-group.html&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://www.kreslavsky.com/2009/04/new-user-mailbox-is-created-in-wrong-mailbox-store-or-storage-group.html"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.kreslavsky.com/2009/04/new-user-mailbox-is-created-in-wrong-mailbox-store-or-storage-group.html"  data-text="New User Mailbox is Created in Wrong Mailbox Store or Storage Group" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://www.kreslavsky.com/2009/04/new-user-mailbox-is-created-in-wrong-mailbox-store-or-storage-group.html" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://www.kreslavsky.com/2009/04/new-user-mailbox-is-created-in-wrong-mailbox-store-or-storage-group.html"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>The issue occurs when you are trying to create mailbox for new user using ADUC in Exchange 2003   <br />By Microsoft the reason for the issue is : After upgrade of the forest to a 2003 native mode functional level, the Recipient Update Service may overwrite the value of the <b>homeMDB</b> attribute for new Microsoft Exchange Server 2003 users. </p>
<p>To fix the issue:</p>
<ol>
<li>Open ADSI Edit. </li>
<li>Double-click the <strong>Configuration</strong> container</li>
<li>Expand <strong>CN=Services</strong></li>
<li>Expand <strong>CN=Microsoft Exchange</strong>,</li>
<li>Expand <strong>CN=<var>&lt;Your ExchangeOrganizationName&gt;</var></strong>. </li>
<li>Click <strong>CN=System Policies</strong>. </li>
<li>In the right pane, right-click <strong>CN=Mailbox Enable User</strong>, and then click <strong>Properties</strong>. </li>
<li>Scroll down to select the <b>purportedSearch</b> attribute, and then click <strong>Edit</strong>. </li>
<li>Clear the attribute, and then use the following filter to configure the attribute:      <br />(&amp;(objectCategory=person)(objectClass=user)(mailnickname=*)(homeMdb=*))</li>
<li>Click <strong>OK</strong> .</li>
</ol>
<p>Solution was been created with the help of the following article:<a title="http://technet.microsoft.com/en-us/library/aa998426.aspx" href="http://technet.microsoft.com/en-us/library/aa998426.aspx">http://technet.microsoft.com/en-us/library/aa998426.aspx</a></p>
<blockquote><p>note:You must enter the attribute without any spaces, exactly as it is.</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.kreslavsky.com/2009/04/new-user-mailbox-is-created-in-wrong-mailbox-store-or-storage-group.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful AD PowerShell Commands</title>
		<link>http://www.kreslavsky.com/2009/04/useful-ad-powershell-commands.html</link>
		<comments>http://www.kreslavsky.com/2009/04/useful-ad-powershell-commands.html#comments</comments>
		<pubDate>Wed, 08 Apr 2009 09:48:00 +0000</pubDate>
		<dc:creator>Gil Kreslavsky</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[powershell]]></category>

		<guid isPermaLink="false">http://www.kreslavsky.com/2009/04/useful-ad-powershell-commands.html</guid>
		<description><![CDATA[Tweet Finding Disabled Users: get-qaduser –disabled Create a new Active Directory user: new-QADUser -name '&#60;User CN&#62;' -parentContainer '&#60;Parent DN&#62;' -UserPassword '&#60;Password&#62;' -FirstName '&#60;User First Name&#62;' -LastName '&#60;User Last Name&#62;' -UserPrincipalName '&#60;User UPN&#62;' Create multiple users in Active Directory: $parentDN = &#8220;&#60;ParentDN&#62;" $strPass = &#8220;userPaswd&#8221; For ($i = 1; $i -le 1000; $i++) { $strUserName = &#8220;User&#8221; + $i New-QADUser -name $strUserName -parentContainer $parentDN -UserPassword $strPass } Modify Attributes for several users: $strfileServer = "\Servername" $objOU = [ADSI] "LDAP://&#60;OU DN&#62;" $objOU.psbase.Children &#124;% { $uac = [int](($_.userAccountControl).ToString()) if (($_.objectClass -eq "user") -and (($uac -band 2) -eq 0)) { $_.put("homeDirectory", $strFileServer + $_.sAMAccountName) $_.SetInfo() } } Delete user in Active Directory remove-QADObject -identity &#60;User DN&#62; Set user profile in Active Directory get-QADUser -identity "&#60;User DN&#62;" &#124; set-QADUser -HomeDirectory '\ServernameKatrin' -HomeDrive 'H:' -ProfilePath '\server1profilesjsmith' -scriptpath '\dcnamenetlogonlogonscript.vbs' Move User to other OU move-QADObject -Identity &#60;UserDN&#62; -NewParentContainerName &#60;New OU DN&#62; Find Locked User Accounts Get-QADuser -locked Unlock User Account Unlock-QADUser -Identity &#60;UserDN&#62; Retrieve Password lockout policy Get-QADObject domainname.com &#124; format-list Name, *password*, *lockout*]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.kreslavsky.com%2F2009%2F04%2Fuseful-ad-powershell-commands.html&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://www.kreslavsky.com/2009/04/useful-ad-powershell-commands.html"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.kreslavsky.com/2009/04/useful-ad-powershell-commands.html"  data-text="Useful AD PowerShell Commands" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://www.kreslavsky.com/2009/04/useful-ad-powershell-commands.html" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://www.kreslavsky.com/2009/04/useful-ad-powershell-commands.html"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><h4>Finding Disabled Users:</h4>
<blockquote>
<pre>get-qaduser –disabled</pre>
</blockquote>
<h4>Create a new Active Directory user:</h4>
<blockquote>
<pre>new-QADUser -name '&lt;<tt><em>User CN</em></tt>&gt;' -parentContainer '&lt;<tt><em>Parent DN</em></tt>&gt;' -UserPassword
'&lt;<tt><em>Password</em></tt>&gt;' -FirstName '&lt;<tt><em>User First Name</em></tt>&gt;' -LastName '&lt;<tt><em>User Last Name</em></tt>&gt;'
-UserPrincipalName '&lt;<tt><em>User UPN</em></tt>&gt;'</pre>
</blockquote>
<h4>Create multiple users in Active Directory:</h4>
<blockquote><p>$parentDN = &#8220;<tt><em>&lt;ParentDN&gt;"</em></tt> $strPass = &#8220;userPaswd&#8221; For ($i = 1; $i -le 1000; $i++) { $strUserName = &#8220;User&#8221; + $i New-QADUser -name $strUserName -parentContainer $parentDN -UserPassword $strPass }</p></blockquote>
<h4>Modify Attributes for several users:</h4>
<blockquote>
<pre>$strfileServer = "\Servername"
$objOU = [ADSI] "LDAP://<tt><em>&lt;OU DN&gt;</em></tt>"
$objOU.psbase.Children |% {
    $uac = [int](($_.userAccountControl).ToString())
    if (($_.objectClass -eq "user") -and (($uac -band 2) -eq 0))
    {
        $_.put("homeDirectory", $strFileServer + $_.sAMAccountName)
        $_.SetInfo()
    }
}</pre>
</blockquote>
<h4>Delete user in Active Directory</h4>
<blockquote>
<pre>remove-QADObject -identity <tt><em>&lt;User DN&gt;</em></tt></pre>
</blockquote>
<h4>Set user profile in Active Directory</h4>
<blockquote>
<pre>get-QADUser -identity "<tt><em>&lt;User DN&gt;</em></tt>" |
set-QADUser -HomeDirectory '\ServernameKatrin' -HomeDrive
'H:' -ProfilePath '\server1profilesjsmith'
-scriptpath '\dcnamenetlogonlogonscript.vbs'</pre>
</blockquote>
<h4>Move User to other OU</h4>
<blockquote>
<pre>move-QADObject -Identity <tt><em>&lt;UserDN&gt;</em></tt> -NewParentContainerName &lt;<tt><em>New OU DN</em></tt>&gt;</pre>
</blockquote>
<h4>Find Locked User Accounts</h4>
<blockquote>
<pre>Get-QADuser -locked</pre>
</blockquote>
<h4>Unlock User Account</h4>
<blockquote>
<pre>Unlock-QADUser -Identity &lt;<tt><em>UserDN</em></tt>&gt;</pre>
</blockquote>
<h4>Retrieve Password lockout policy</h4>
<blockquote>
<pre>Get-QADObject domainname.com | format-list Name, *password*, *lockout*</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.kreslavsky.com/2009/04/useful-ad-powershell-commands.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Move Domain Controller to other site – PowerShell</title>
		<link>http://www.kreslavsky.com/2009/04/move-domain-controller-to-other-site-powershell.html</link>
		<comments>http://www.kreslavsky.com/2009/04/move-domain-controller-to-other-site-powershell.html#comments</comments>
		<pubDate>Mon, 06 Apr 2009 09:24:00 +0000</pubDate>
		<dc:creator>Gil Kreslavsky</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.kreslavsky.com/2009/04/move-domain-controller-to-other-site-powershell.html</guid>
		<description><![CDATA[Tweet $dcname = &#60;DomainDNSName&#62; $newSite = &#34;NewSite Name&#34; $context = New-Object System.DirectoryServices.ActiveDirectory.DirectoryContext(&#8216;DirectoryServer&#8217;, $dcname) $dc = [System.DirectoryServices.ActiveDirectory.DomainController]::getDomainController ($context) $dc.MoveToAnotherSite($newSite) &#160; Where DomainDNSName – Enter your DNS domain name]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.kreslavsky.com%2F2009%2F04%2Fmove-domain-controller-to-other-site-powershell.html&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://www.kreslavsky.com/2009/04/move-domain-controller-to-other-site-powershell.html"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.kreslavsky.com/2009/04/move-domain-controller-to-other-site-powershell.html"  data-text="Move Domain Controller to other site – PowerShell" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://www.kreslavsky.com/2009/04/move-domain-controller-to-other-site-powershell.html" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://www.kreslavsky.com/2009/04/move-domain-controller-to-other-site-powershell.html"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>$dcname = <tt><i>&lt;DomainDNSName&gt;       <br /></i></tt> $newSite = &quot;NewSite Name&quot;     <br />$context = New-Object     <br />System.DirectoryServices.ActiveDirectory.DirectoryContext(&#8216;DirectoryServer&#8217;, $dcname)     <br />$dc =     <br />[System.DirectoryServices.ActiveDirectory.DomainController]::getDomainController ($context)     <br />$dc.MoveToAnotherSite($newSite)</p>
<p>&#160;</p>
<p>Where <strong>DomainDNSName</strong> – Enter your DNS domain name</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kreslavsky.com/2009/04/move-domain-controller-to-other-site-powershell.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving a Group to Another Domain &#8211; Using ADMT</title>
		<link>http://www.kreslavsky.com/2009/04/moving-a-group-to-another-domain-using-admt.html</link>
		<comments>http://www.kreslavsky.com/2009/04/moving-a-group-to-another-domain-using-admt.html#comments</comments>
		<pubDate>Wed, 01 Apr 2009 17:33:13 +0000</pubDate>
		<dc:creator>Gil Kreslavsky</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[AD move user]]></category>
		<category><![CDATA[ADMT]]></category>
		<category><![CDATA[Move User to Other Domain]]></category>
		<category><![CDATA[windows server 2003]]></category>
		<category><![CDATA[windows server 2008]]></category>

		<guid isPermaLink="false">http://www.kreslavsky.com/?p=762</guid>
		<description><![CDATA[Tweet To move windows group to other domain download ADMT Tool Install Active Directory Migration Tool Open the ADMT MMC snap-in it is located in Administrative Tools. Chose source and destination domains and click Next. On the Group Selection screen, chose the group that you want to migrate and click Next. On the next screen, select Browse and locate the desired OU. On the Group Options screen, select one or more of the following and click Next: Update user rights: Copies any user rights that are assigned in the source domain to the target domain. Copy group members:Specifies whether the user objects that belong to the group should be migrated along with the group. Adds the security identifiers (SIDs) of the migrated group accounts in the source domain to the SID history of the new group in the target domain. On the Naming Conflicts screen, select whether you want to migrate group objects that conflict with objects in the target domain and click Next. Follow the remainder of the wizard to complete the migration.]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.kreslavsky.com%2F2009%2F04%2Fmoving-a-group-to-another-domain-using-admt.html&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://www.kreslavsky.com/2009/04/moving-a-group-to-another-domain-using-admt.html"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.kreslavsky.com/2009/04/moving-a-group-to-another-domain-using-admt.html"  data-text="Moving a Group to Another Domain &#8211; Using ADMT" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://www.kreslavsky.com/2009/04/moving-a-group-to-another-domain-using-admt.html" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://www.kreslavsky.com/2009/04/moving-a-group-to-another-domain-using-admt.html"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>To move windows group to other domain download <a href="http://www.microsoft.com/downloads/details.aspx?familyid=AE279D01-7DCA-413C-A9D2-B42DFB746059&amp;displaylang=en" target="_blank">ADMT Tool</a></p>
<ol>
<li><a name="ADMT MMC"></a>Install Active Directory Migration Tool</li>
<li>Open the ADMT MMC snap-in it is located in Administrative Tools.<a name="I_indexterm7_d1e29868"></a></li>
<li>Chose source and destination domains and click Next.</li>
<li>On the Group Selection screen, chose the <tt>group</tt><a name="cannot migrate"></a> that you want to migrate and click Next.</li>
<li><a name="the Organizational"></a>On the next screen, select Browse and locate  the desired OU.</li>
<li><a name="Group Options"></a>On the Group Options screen, select one or more  of the following and click Next:
<dl></dl>
<dl>
<dt><em><a name="Update user"></a> <strong>Update user rights:</strong> </em>Copies any user rights that are assigned in the source domain to the target  domain.</p>
</dt>
</dl>
<dt><em> <strong>Copy group members:</strong></em>Specifies whether the user  objects that belong to the group should be migrated along with the group.</p>
</dt>
<dt>Adds the security identifiers (SIDs) of the migrated group accounts in the  source domain to the SID history of the new group in the target  domain.</p>
</dt>
</li>
</ol>
<ul>
<li><a name="the Naming"></a>On the Naming Conflicts screen, select whether you  want to migrate <tt>group</tt><a name="conflict with"></a> objects that conflict  with objects in the target domain and click Next.</li>
<li><a name="Follow the"></a>Follow the remainder of the wizard to complete the  migration.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.kreslavsky.com/2009/04/moving-a-group-to-another-domain-using-admt.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Folder Redirection to NTFS share Permissions</title>
		<link>http://www.kreslavsky.com/2009/03/folder-redirection-to-ntfs-share-permissions.html</link>
		<comments>http://www.kreslavsky.com/2009/03/folder-redirection-to-ntfs-share-permissions.html#comments</comments>
		<pubDate>Mon, 30 Mar 2009 09:42:39 +0000</pubDate>
		<dc:creator>Gil Kreslavsky</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.kreslavsky.com/2009/03/folder-redirection-to-ntfs-share-permissions.html</guid>
		<description><![CDATA[Tweet If you want to redirect domain user folders to NTFS or Storage share, you need to set the permissions like in the list bellow: Creator Owner =&#62; Full Control on “Subfolders and Files Only” Security group of users needing to put data on share =&#62; List Folder/Read Data, Create Folders/Append Data  on “This Folder Only” System =&#62;  Full Control, on “This Folder, Subfolders and Files” In addition you can add Domain Admins security group to have permissions on user folders: Open Group Policy Management Navigate to Computer Configuration&#62;Administrative Templates&#62;System&#62;User Profiles Set “Add the Administrator security group to the roaming user profile share” to enabled]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.kreslavsky.com%2F2009%2F03%2Ffolder-redirection-to-ntfs-share-permissions.html&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://www.kreslavsky.com/2009/03/folder-redirection-to-ntfs-share-permissions.html"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.kreslavsky.com/2009/03/folder-redirection-to-ntfs-share-permissions.html"  data-text="Folder Redirection to NTFS share Permissions" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://www.kreslavsky.com/2009/03/folder-redirection-to-ntfs-share-permissions.html" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://www.kreslavsky.com/2009/03/folder-redirection-to-ntfs-share-permissions.html"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><h4>If you want to redirect domain user folders to NTFS or Storage share, you need to set the permissions like in the list bellow:</h4>
<p><strong>Creator Owner</strong> =&gt; Full Control on “<strong>Subfolders and Files Only</strong>”</p>
<p><strong>Security group of users needing to put data on share</strong> =&gt; List Folder/Read Data, Create Folders/Append Data  on “<strong>This Folder Only</strong>”</p>
<p><strong>System</strong> =&gt;  Full Control, on “<strong>This Folder, Subfolders and Files</strong>”</p>
<h4>In addition you can add Domain Admins security group to have permissions on user folders:</h4>
<ul>
<li>Open Group Policy Management</li>
<li>Navigate to Computer Configuration&gt;Administrative Templates&gt;System&gt;User Profiles</li>
<li>Set “Add the Administrator security group to the roaming user profile share” to enabled</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.kreslavsky.com/2009/03/folder-redirection-to-ntfs-share-permissions.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

