<?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>Brad&#039;s Tech Blog &#187; Microsoft windows server</title>
	<atom:link href="http://bradstechblog.com/category/microsoft-windows-server/feed" rel="self" type="application/rss+xml" />
	<link>http://bradstechblog.com</link>
	<description>Microsoft technologies like: System Center Operations Manager, and whatever else comes up at the office.</description>
	<lastBuildDate>Wed, 09 Nov 2011 16:36:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Windows server 2000 and 2003: Time configuration for MaxPosPhaseCorrection and MaxNegPhaseCorrection</title>
		<link>http://bradstechblog.com/microsoft-windows-server/windows-server-2000-and-2003-time-configuration-for-maxposphasecorrection-and-maxnegphasecorrection</link>
		<comments>http://bradstechblog.com/microsoft-windows-server/windows-server-2000-and-2003-time-configuration-for-maxposphasecorrection-and-maxnegphasecorrection#comments</comments>
		<pubDate>Tue, 28 Oct 2008 19:20:08 +0000</pubDate>
		<dc:creator>Brad Hearn</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[GPO]]></category>
		<category><![CDATA[Microsoft windows server]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[MaxPosPhaseCorrection]]></category>

		<guid isPermaLink="false">http://bradstechblog.com/?p=239</guid>
		<description><![CDATA[The Windows Time service by default in Windows 2000 and 2003 allows for a positive or negative time correction of any amount for domain controllers. This can cause serious problems in a forest  should a dramatic time shift occur.]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">The Windows Time service by default in Windows 2000 and 2003 allows for a positive or negative time correction of any amount for domain controllers. This can cause serious problems in a forest  should a dramatic time shift occur. This can even occur when synchronizing with other authoritative sources as hardware problems, software problems or human error can cause them to provide the wrong time. Some of the problems that can occur from a dramatic time change are Windows Server 2003 based domain controllers may be quarantined, deleted objects may be prematurely purged before end-to-end replication of the deletion is fully replicated (causing lingering objects), user and computer passwords may expire unexpectedly, and trust passwords becoming out of sync. The amount of effort to recover from a dramatic time change can be significant. The registry key(s) are different depending upon the operating system version.</p>
<p style="text-align: left;">
<p><!-smartads-></p>
<p style="text-align: left;"><span id="more-239"></span></p>
<blockquote>
<p style="text-align: left;">Windows 2003/2008<br />
Path: HKLM\System\CurrentControlSet\Services\W32Time\Config<br />
Value: MaxPosPhaseCorrection<br />
Default data: 0xFFFFFFFF (4,294,967,295)<br />
(Note: there is an accompanying MaxNegPhaseCorrection value to control positive time changes.)</p></blockquote>
<p style="text-align: left;">
<blockquote>
<p style="text-align: left;">Windows 2000<br />
Path:<br />
HKLM\System\CurrentControlSet\Services\W32Time\Parameters<br />
Value: MaxAllowedClockErrInSecs<br />
Default data: 0xFFFFFFFF (4,294,967,295)<br />
(Note: Windows 2000 has a single value to control both positive and negative time changes.)</p></blockquote>
<p style="text-align: left;">The above values control the largest positive (and negative, for Windows 2000) time correction in seconds that the Windows Time service will allow. If a time change larger than these values is received the Windows Time service will reject it and log an error in the System event log. The default value for domain controllers is 0xFFFFFFFF, which effectively allows for any time change to be accepted.</p>
<p style="text-align: left;">The general recommendation is to use a lower value. The new default in Windows Server 2008 is a positive/negative value of 48 hours (0x2A300 or 172,800 seconds). An even lower value can be used however the lower the value the more important operational processes and monitoring becomes since there is an increased chance of domain controllers rejecting time changes.</p>
<p style="text-align: left;">A GPO can also be used to manage the value. Windows 2003 and above natively include GPO settings to control the relevant Windows Time service values. A custom administrative template would be needed to manage Windows 2000 based domain controllers.</p>
<blockquote>
<p style="text-align: left;">For 2003 and above, the GPEditor exposes these settings under \Computer Configuration\Administrative Templates\System\Windows Time Service\Global Configuration Settings\.</p>
</blockquote>
<p style="text-align: left;">The values that should also be modified for Domain Controlers<br />
are below.</p>
<blockquote>
<p style="text-align: left;"><span style="text-decoration: underline;">Value name / Default value in GPEditor / Default for a DC</span></p>
<p style="text-align: left;">LargePhaseOffset / 1,280,000 / 50,000,000<br />
SpikeWatchPeriod / 90 / 900<br />
MaxPollInterval / 5 / 10<br />
MinPollInterval / 10 / 6<br />
UpdateInterval / 30,000 / 100<br />
PhaseCorrectRate / 1 / 7</p>
<p style="text-align: left;"><span style="text-decoration: underline;">Value name / Default value in GPEditor / New recomended value for a DC</span></p>
<p style="text-align: left;">MaxPosPhaseCorrection / 54000 / 172800</p>
<p style="text-align: left;">MaxNegPhaseCorrection / 54000 / 172800</p>
</blockquote>
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">To veryify that the settings have been applied open your regisry editor and check the following Key HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\W32Time\Config</p>
<p style="text-align: left;">
<blockquote>
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://bradstechblog.com/microsoft-windows-server/windows-server-2000-and-2003-time-configuration-for-maxposphasecorrection-and-maxnegphasecorrection/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GPO &#8211; Change Event Viewer Log size and retention period</title>
		<link>http://bradstechblog.com/microsoft-windows-server/gpo-change-event-viewer-log-size-and-retention-period</link>
		<comments>http://bradstechblog.com/microsoft-windows-server/gpo-change-event-viewer-log-size-and-retention-period#comments</comments>
		<pubDate>Mon, 29 Sep 2008 15:52:07 +0000</pubDate>
		<dc:creator>Brad Hearn</dc:creator>
				<category><![CDATA[GPO]]></category>
		<category><![CDATA[Microsoft windows server]]></category>
		<category><![CDATA[Event Viewer]]></category>
		<category><![CDATA[Size]]></category>

		<guid isPermaLink="false">http://bradstechblog.com/?p=200</guid>
		<description><![CDATA[The default of the event viewer log size is 512kb. As well to make this dangerous the logs will overwrite events older then 7 days only. So what happens when you logs fill up in two days from a critical error? You start loosing critical information to help trouble shoot the problem. With today&#8217;s availability [...]]]></description>
			<content:encoded><![CDATA[<p>The default of the event viewer log size is 512kb. As well to make this dangerous the logs will overwrite events older then 7 days only. So what happens when you logs fill up in two days from a critical error? You start loosing critical information to help trouble shoot the problem. With today&#8217;s availability of disk here is a better way to set these settings using a GPO to automate the process on all of your servers/desktops&#8230;</p>
<p><!-smartads-><br />
<span id="more-200"></span></p>
<p>On your server open up you Group Policy Object Editor</p>
<p>Navigate to Computer Configuration\Windows Settings\Security Settings\Event Log</p>
<p><a href="http://bradstechblog.com/wp-content/uploads/2008/09/image-0077.png"><img class="alignnone size-medium wp-image-201" title="image-0077" src="http://bradstechblog.com/wp-content/uploads/2008/09/image-0077-300x132.png" alt="" width="300" height="132" /></a></p>
<p>The following settings are to be done for each log separately.</p>
<blockquote><p>Set your Maximum values in increments of 64kb. I decided to go as close to 5mb so I am using 4992kb.</p></blockquote>
<p><a href="http://bradstechblog.com/wp-content/uploads/2008/09/image-0078.png"><img class="alignnone size-medium wp-image-203" title="image-0078" src="http://bradstechblog.com/wp-content/uploads/2008/09/image-0078-251x300.png" alt="" width="251" height="300" /></a></p>
<blockquote><p>Set your retention method to &#8220;as needed&#8221;</p></blockquote>
<p><a href="http://bradstechblog.com/wp-content/uploads/2008/09/image-0079.png"><img class="alignnone size-medium wp-image-202" title="image-0079" src="http://bradstechblog.com/wp-content/uploads/2008/09/image-0079-253x300.png" alt="" width="253" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://bradstechblog.com/microsoft-windows-server/gpo-change-event-viewer-log-size-and-retention-period/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Force a user GPO on a computer OU in Microsoft Active Directory</title>
		<link>http://bradstechblog.com/microsoft-windows-server/force-a-user-gpo-on-a-computer-ou-in-microsoft-active-directory</link>
		<comments>http://bradstechblog.com/microsoft-windows-server/force-a-user-gpo-on-a-computer-ou-in-microsoft-active-directory#comments</comments>
		<pubDate>Fri, 26 Sep 2008 15:45:47 +0000</pubDate>
		<dc:creator>Brad Hearn</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[GPO]]></category>
		<category><![CDATA[Microsoft windows server]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Loopback]]></category>
		<category><![CDATA[Screen Saver]]></category>

		<guid isPermaLink="false">http://bradstechblog.com/?p=187</guid>
		<description><![CDATA[I needed to apply a blank screen saver to all of our servers. Of course I wanted this to be done based on Server and not the logged in user/administrator. The location in the GPO for setting a screen saver is located in&#8230; (Click below to read the rest) the Group Policy snap-in under Local [...]]]></description>
			<content:encoded><![CDATA[<p>I needed to apply a blank screen saver to all of our servers. Of course I wanted this to be done based on Server and not the logged in user/administrator. The location in the GPO for setting a screen saver is located in&#8230; (Click below to read the rest)</p>
<p><!-smartads-></p>
<p><span id="more-187"></span></p>
<p>the Group Policy snap-in under Local Computer Policy\User Configuration\Administrative Templates\Control Panel\Display</p>
<p><a rel="attachment wp-att-189" href="http://bradstechblog.com/microsoft-windows-server/force-a-user-gpo-on-a-computer-ou-in-microsoft-active-directory/attachment/image-0073"><img class="alignnone size-medium wp-image-189" title="image-0073" src="http://bradstechblog.com/wp-content/uploads/2008/09/image-0073-300x124.png" alt="" width="300" height="124" /></a></p>
<p>Select Screen Saver Executable name and enter the location of the screen saver you are going to enforce.</p>
<p><img src="file:///C:/Temp/moz-screenshot-1.jpg" alt="" /><img src="file:///C:/Temp/moz-screenshot-2.jpg" alt="" /> <img src="file:///C:/Temp/moz-screenshot.jpg" alt="" /></p>
<p><a href="http://bradstechblog.com/wp-content/uploads/2008/09/image-0074.png"><img class="alignnone size-medium wp-image-190" title="image-0074" src="http://bradstechblog.com/wp-content/uploads/2008/09/image-0074-270x300.png" alt="" width="270" height="300" /></a></p>
<p>Here you can specify the screen saver you want. I am using the blank screen saver</p>
<p>Select ok.</p>
<p>Next you need to enable Loop Back so that the computer OU can use the Users GPO.</p>
<p>Navigate to Computer Configuration\Administrative Templates\System\Group Policy\User Group Policy Loopback processing mode\</p>
<div class="answerBody quoted"><a href="http://bradstechblog.com/wp-content/uploads/2008/09/image-0075.png"><img class="alignnone size-medium wp-image-191" title="image-0075" src="http://bradstechblog.com/wp-content/uploads/2008/09/image-0075-300x181.png" alt="" width="300" height="181" /></a></div>
<div class="answerBody quoted">You have two choices in this policy. One is to merge the user settings into the computer GPO and the other is to replace. I am going to merge.</div>
<div class="answerBody quoted"><a href="http://bradstechblog.com/wp-content/uploads/2008/09/image-0076.png"><img class="alignnone size-medium wp-image-192" title="image-0076" src="http://bradstechblog.com/wp-content/uploads/2008/09/image-0076-270x300.png" alt="" width="270" height="300" /></a></div>
<div class="answerBody quoted">This is it. Refresh your GPO and test this.</div>
<div class="answerBody quoted">Remember You will want to create a new computer OU and move your computers or servers into it before you can apply the computer GPO to them.</div>
]]></content:encoded>
			<wfw:commentRss>http://bradstechblog.com/microsoft-windows-server/force-a-user-gpo-on-a-computer-ou-in-microsoft-active-directory/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modify NTFS permissions without replacing ACLs with Xcalcs.exe</title>
		<link>http://bradstechblog.com/microsoft-windows-server/modify-ntfs-permissions-without-replacing-acls-with-xcalcsexe</link>
		<comments>http://bradstechblog.com/microsoft-windows-server/modify-ntfs-permissions-without-replacing-acls-with-xcalcsexe#comments</comments>
		<pubDate>Wed, 03 Sep 2008 15:55:45 +0000</pubDate>
		<dc:creator>Brad Hearn</dc:creator>
				<category><![CDATA[Microsoft windows server]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[Modify]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[Xcacls]]></category>

		<guid isPermaLink="false">http://bradstechblog.com/?p=171</guid>
		<description><![CDATA[Xcacls is used to modify NTFS permissions without replacing existing ACLs. This allows you to hit individual files, folders, or entire directories. The tool is very easy and can do all this with a single line of code.]]></description>
			<content:encoded><![CDATA[<p>Xcacls is used to modify NTFS permissions without replacing existing ACLs. This allows you to hit individual files, folders, or entire directories. The tool is very easy and can do all this with a single line of code.</p>
<p>While I was at a clients I came across some user folders that never had the proper NTFS rights assigned at setup. Subsequently they all had the default local users group assigned to them with read and execute. This effectively gave all users access to all folder. To make this even harder to resolve, someone had also removed the inheritance check mark and copied all the permissions. This now means that the only way to remove the ACL from the GUI is by removing it individually on each folder and file. Not a good solution considering there are over 4000 users. So time to use a script.</p>
<p>First you will need to download Xcacls.</p>
<p>Search Google for Xcacls, or for KB825751, or click on the link below</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=0ad33a24-0616-473c-b103-c35bc2820bda&amp;displaylang=en" target="_blank">http://www.microsoft.com/downloads/details.aspx?FamilyID=0ad33a24-0616-473c-b103-c35bc2820bda&amp;displaylang=en</a></p>
<p><!-smartads-></p>
<p><span id="more-171"></span></p>
<p>Install Xcacls on the server first.</p>
<ol>
<li>Double click on XCacls_Installer.exe</li>
<li>you will be asked for a path to extract to. I choose C:\</li>
<li>This will Extract a single file c:\xcacls.vbs</li>
</ol>
<p>Get ready to run the script</p>
<ol>
<li>Open a Command window and navigate to the root of C</li>
<li>Xcacls is is used with cscript.</li>
<li>Lets do an easy test and at the command prompt type
<ol>
<li>cscript xcacls.vbs</li>
</ol>
</li>
<li>If you see the related switch&#8217;s then you have done this step correct.</li>
</ol>
<blockquote><p>Run Xcacls to modify your permisions. Make sure you have a full backup first. And make sure your backups include ACLs.</p></blockquote>
<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]> <mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<p class="MsoNormal">Examples of the line</p>
<blockquote>
<p class="MsoNormal">c:\cscript xcacls.vbs G:\user folder /t /e /f /s /r users /l c:\aclchange_log.txt</p>
<p class="MsoNormal">or</p>
<p class="MsoNormal"><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]> <mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<p class="MsoNormal">cscript xcacls.vbs G:\all users\user folder /t /e /f /s /r users /l c:\aclchange_log.txt</p>
<p class="MsoNormal">
<p class="MsoNormal">Remove the /t and /f switch to only change the root folder and one sub folder level down.</p>
</blockquote>
<p class="MsoNormal">
<p class="MsoNormal">
<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]> <mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<blockquote>
<p class="MsoNormal"><span> </span><span style="color: red;"><span> </span>/F<span> </span>[Used with Directory or Wildcard] This will change all</span></p>
<p class="MsoNormal"><span style="color: red;"><span> </span>files under the inputed directory but will NOT</span></p>
<p class="MsoNormal"><span style="color: red;"><span> </span>traverse sub directories unless /T is also present.</span></p>
<p class="MsoNormal"><span style="color: red;"><span> </span>If filename is a directory, and /F is not used, no</span></p>
<p class="MsoNormal"><span style="color: red;"><span> </span>files will be touched.</span></p>
</blockquote>
<p class="MsoNormal">
<blockquote>
<p class="MsoNormal"><span style="color: red;"><span> </span>/S<span> </span>[Used with Directory or Wildcard] This will change all</span></p>
<p class="MsoNormal"><span style="color: red;"><span> </span>sub folders under the inputed directory but will NOT</span></p>
<p class="MsoNormal"><span style="color: red;"><span> </span>traverse sub directories unless /T is also present.</span></p>
<p class="MsoNormal"><span style="color: red;"><span> </span>If filename is a directory, and /S is not used, no</span></p>
<p class="MsoNormal"><span style="color: red;"><span> </span>sub directories will be touched.</span></p>
</blockquote>
<p class="MsoNormal">
<blockquote>
<p class="MsoNormal"><span> </span><span style="color: red;">/T<span> </span>[Used only with a Directory] Traverses each</span></p>
<p class="MsoNormal"><span style="color: red;"><span> </span>subdirectory and makes the same changes.</span></p>
<p class="MsoNormal"><span style="color: red;"><span> </span>This switch will traverse directories only if the</span></p>
<p class="MsoNormal"><span style="color: red;"><span> </span>filename is a directory or is using wildcards.</span></p>
</blockquote>
<p class="MsoNormal"><span style="color: red;"> </span></p>
<blockquote>
<p class="MsoNormal"><span> </span><span style="color: red;">/E<span> </span>Edit ACL instead of replacing it.</span></p>
<p class="MsoNormal"><span style="color: red;"> </span></p>
<p class="MsoNormal"><span> </span>/<span style="color: red;">R user<span> </span>Revoke specified user&#8217;s access rights.</span></p>
<p class="MsoNormal"><span style="color: red;"><span> </span>(Will remove any Allowed or Denied ACL&#8217;s for user)</span></p>
</blockquote>
<p class="MsoNormal"><span style="color: red;"> </span></p>
<blockquote>
<p class="MsoNormal"><span> </span><span style="color: red;"><span> </span>/L filename<span> </span>Filename for Logging. This can include a path name</span></p>
<p class="MsoNormal"><span style="color: red;"><span> </span>if the file isn&#8217;t under the current directory.</span></p>
<p class="MsoNormal"><span style="color: red;"><span> </span>File will be appended to, or created if it doesn&#8217;t</span></p>
<p class="MsoNormal"><span style="color: red;"><span> </span>exit. Must be Text file if it exists or error will occur.</span></p>
<p class="MsoNormal"><span style="color: red;"><span> </span>If filename is obmitted the default name of XCACLS will</span></p>
<p class="MsoNormal"><span style="color: red;"><span> </span><span> </span>be used.</span></p>
</blockquote>
<p>I hope this helps. Post with questions if you would like more info.</p>
]]></content:encoded>
			<wfw:commentRss>http://bradstechblog.com/microsoft-windows-server/modify-ntfs-permissions-without-replacing-acls-with-xcalcsexe/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Permissions tab is missing on Microsoft Windows share connected to Netapp filer</title>
		<link>http://bradstechblog.com/microsoft-windows-server/permissions-tab-is-missing-on-microsoft-windows-share-connected-to-netapp-filer</link>
		<comments>http://bradstechblog.com/microsoft-windows-server/permissions-tab-is-missing-on-microsoft-windows-share-connected-to-netapp-filer#comments</comments>
		<pubDate>Thu, 07 Aug 2008 07:11:34 +0000</pubDate>
		<dc:creator>Brad Hearn</dc:creator>
				<category><![CDATA[Microsoft windows server]]></category>
		<category><![CDATA[Netapp]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[Permisions tab]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://bradstechblog.com/?p=109</guid>
		<description><![CDATA[If the permissions tab is missing on a Nettap filer share when connecting through Microsoft Windows management this probably due to the fact that the share was created using the filer default security Unix instead of NTFS. To confirm and fix this do the following&#8230; Login to your filer using ssh or web browser at [...]]]></description>
			<content:encoded><![CDATA[<p>If the permissions tab is missing on a Nettap filer share when connecting through Microsoft Windows management this probably due to the fact that the share was created using the filer default security Unix instead of NTFS. To confirm and fix this do the following&#8230;</p>
<p><!-smartads-> </p>
<p><span id="more-109"></span></p>
<ul>
<li>Login to your filer using ssh or web browser at https:\\filername</li>
<li>navigate to Volumes-Qtrees-Manage</li>
</ul>
<p><a href="http://bradstechblog.com/wp-content/uploads/2008/08/image-0353.png"><img class="alignnone size-medium wp-image-112" title="image-0353" src="http://bradstechblog.com/wp-content/uploads/2008/08/image-0353-300x143.png" alt="" width="300" height="143" /></a></p>
<ul>
<li>Select the effected Volume and</li>
</ul>
<p><a href="http://bradstechblog.com/wp-content/uploads/2008/08/image-03521.png"><img class="aligncenter size-medium wp-image-111" title="image-03521" src="http://bradstechblog.com/wp-content/uploads/2008/08/image-03521-300x123.png" alt="" width="300" height="123" /></a></p>
<ul>
<li>Change the drop down from Unix to NTFS</li>
<li>Apply and you are done.</li>
</ul>
<p>Hope this helps</p>
<p><!--martad--></p>
]]></content:encoded>
			<wfw:commentRss>http://bradstechblog.com/microsoft-windows-server/permissions-tab-is-missing-on-microsoft-windows-share-connected-to-netapp-filer/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Manage multiple DHCP scopes with netsh script</title>
		<link>http://bradstechblog.com/netsh/manage-multiple-dhcp-scopes-with-netsh-script</link>
		<comments>http://bradstechblog.com/netsh/manage-multiple-dhcp-scopes-with-netsh-script#comments</comments>
		<pubDate>Tue, 05 Aug 2008 13:40:38 +0000</pubDate>
		<dc:creator>Brad Hearn</dc:creator>
				<category><![CDATA[DHCP]]></category>
		<category><![CDATA[Microsoft windows server]]></category>
		<category><![CDATA[netsh]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Scopes]]></category>

		<guid isPermaLink="false">http://bradstechblog.com/?p=64</guid>
		<description><![CDATA[Use a script to change the DNS lookups and Wins lookups options in DHCP on muliple scripts. Using the netsh command this can be done eaisly. Tools needed&#8230; Some knowledge of the netsh command A text file with the ip address&#8217;s of the scopes to be modified IP address&#8217;s of the DHCP servers to change And [...]]]></description>
			<content:encoded><![CDATA[<p>Use a script to change the DNS lookups and Wins lookups options in DHCP on muliple scripts. Using the netsh command this can be done eaisly.</p>
<p>Tools needed&#8230;</p>
<p><!-smartads-></p>
<p><span id="more-64"></span></p>
<ol>
<li>Some knowledge of the netsh command</li>
<li>A text file with the ip address&#8217;s of the scopes to be modified</li>
<li>IP address&#8217;s of the DHCP servers to change</li>
<li>And a script of course.</li>
</ol>
<p>The easiest way to obtain the ip address&#8217;s of the scopes to modify is to log onto the DHCP server itself and open your support tools command prompt</p>
<p><strong><span style="text-decoration: underline;">Step 1.</span></strong></p>
<p>Go to <a title="netsh command line" href="http://technet2.microsoft.com/windowsserver/en/library/61427fbd-de1f-4c8a-b613-321f7a3cca6a1033.mspx?mfr=true" target="_blank">netsh command line</a> to understand more on this command. And make sure you create a test subnet to run my scripts agains to make sure this is right for you.</p>
<p><strong></strong></p>
<p><strong><span style="text-decoration: underline;">Step 2.</span></strong></p>
<blockquote><p><em>C:\Program Files\Support Tools&gt;</em><span style="color: #ff0000;">netsh dhcp server 172.x.x.x show scope &gt; c:\scope.txt</span></p></blockquote>
<p>At the command prompt enter the section above in red (insert the ip address of the DHCP server in place of 172.x.x.x. This will create a text file with the sope info on your c drive.</p>
<p> </p>
<p><a href="http://bradstechblog.com/wp-content/uploads/2008/07/image-0316.png"><img class="aligncenter size-medium wp-image-65" title="image-0316" src="http://bradstechblog.com/wp-content/uploads/2008/07/image-0316-300x155.png" alt="" width="300" height="155" /></a></p>
<p> </p>
<p>You will now want to open scope.txt and clean it up. You only want the IP address&#8217;s of the scopes to be changed. the text file should be in the following format</p>
<blockquote><p><strong><span style="text-decoration: underline;"><img class="aligncenter size-medium wp-image-66" title="image-0317" src="http://bradstechblog.com/wp-content/uploads/2008/07/image-0317-281x300.png" alt="" width="205" height="195" /></span></strong></p>
<p><strong></strong> </p></blockquote>
<p><strong><span style="text-decoration: underline;">Step 3</span></strong></p>
<blockquote><p><span style="color: #ff0000;">for /f &#8220;tokens=1&#8243; %%a in (c:\scope.txt) DO netsh dhcp server 172.x.x.x scope %%a set optionvalue 006 IPADDRESS DNS_Address_1 DNS_Address_2 DNS_Adress_3</span></p></blockquote>
<blockquote>
<p style="TEXT-ALIGN: center"><span style="color: #ff0000;">172.x.x.x = Your DHCP server IP address</span></p>
<p style="TEXT-ALIGN: center"><span style="color: #ff0000;">DNS_Address_#= DNS server IP address&#8217;s</span></p>
</blockquote>
<p>Copy the above red text into a text file and save it as scope_edit.bat to the same folder as scope.txt. Run the bat file. This will run through each IP address changing the dns entires. does not append the scope option for DNS it overwrites it. However it will not effect any other options that are currently set.</p>
<blockquote><p>You can now use the same script to change your wins optin by changing optioncalue 006 to optionvalue 044</p></blockquote>
<p> </p>
<p> Good luck <img src='http://bradstechblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p> <br />
<strong></strong> </p>
<p><strong></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://bradstechblog.com/netsh/manage-multiple-dhcp-scopes-with-netsh-script/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

