<?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>sheenaustin.com &#187; Windows Server 2003</title>
	<atom:link href="http://www.sheenaustin.com/tag/windows-server-2003/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sheenaustin.com</link>
	<description>my home on the interweb</description>
	<lastBuildDate>Wed, 21 Jul 2010 01:59:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Get list of machines by OS type from Active Directory</title>
		<link>http://www.sheenaustin.com/2009/05/18/get-list-of-machines-by-os-type-from-active-directory/</link>
		<comments>http://www.sheenaustin.com/2009/05/18/get-list-of-machines-by-os-type-from-active-directory/#comments</comments>
		<pubDate>Mon, 18 May 2009 08:19:19 +0000</pubDate>
		<dc:creator>Sheen</dc:creator>
				<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[DSQuery]]></category>
		<category><![CDATA[Windows Server 2003]]></category>

		<guid isPermaLink="false">http://www.sheenaustin.com/2009/05/18/get-list-of-machines-by-os-type-from-active-directory/</guid>
		<description><![CDATA[Here is an easy way of getting a list of computers that have a particular OS type from Active Directory using DSQuery. dsquery * domainroot -filter &#8220;(&#38;(objectCategory=computer)(operatingSystem=Windows XP*))&#8221; The command above would give you a list of all computers that have a Windows XP operating system. For Windows Servers, change the command as follows: dsquery [...]


Related posts:<ol><li><a href='http://www.sheenaustin.com/2010/07/20/dsquery-operating-system-service-pack-version/' rel='bookmark' title='Permanent Link: DSQuery Operating System Service Pack Version'>DSQuery Operating System Service Pack Version</a></li>
<li><a href='http://www.sheenaustin.com/2009/10/07/how-to-backup-and-restore-active-directory/' rel='bookmark' title='Permanent Link: How to Backup and Restore Active Directory'>How to Backup and Restore Active Directory</a></li>
<li><a href='http://www.sheenaustin.com/2009/05/04/active-directory-audit-script/' rel='bookmark' title='Permanent Link: Active Directory Audit Script'>Active Directory Audit Script</a></li>
<li><a href='http://www.sheenaustin.com/2009/06/19/active-directory-password-expiry-reminder-email/' rel='bookmark' title='Permanent Link: Active Directory Password Expiry Reminder Email'>Active Directory Password Expiry Reminder Email</a></li>
<li><a href='http://www.sheenaustin.com/2009/05/19/diskpartexe-warning-when-expanding-drive/' rel='bookmark' title='Permanent Link: Diskpart.exe Warning when expanding drive'>Diskpart.exe Warning when expanding drive</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Here is an easy way of getting a list of computers that have a particular OS type from Active Directory using DSQuery.</p>
<blockquote><p>dsquery * domainroot -filter &#8220;(&amp;(objectCategory=computer)(operatingSystem=Windows XP*))&#8221;</p></blockquote>
<p><span style="color: #000000;">The command above would give you a list of all computers that have a Windows XP operating system. For Windows Servers, change the command as follows:</span></p>
<blockquote><p>dsquery * domainroot -filter &#8220;(&amp;(objectCategory=computer)(operatingSystem=Windows Server*))&#8221;</p></blockquote>
<p>The output of the commands above would look something like this:</p>
<blockquote><p><span style="color: #000000;">samid</span></p>
<p><span style="color: #000000;">server1$</span></p>
<p><span style="color: #000000;">server2$</span></p>
<p><span style="color: #000000;">server3$</span></p>
<p><span style="color: #000000;">dsget succeeded</span></p></blockquote>
<p>Note the ‘samid’ at the head and ‘dsget succeeded’ at the end and the ‘$’ at the end tail of every server name.</p>
<p>If you are like me, and you would like just get a nice clean output with only server names, you can run this command:</p>
<p><span id="more-117"></span></p>
<blockquote><p>for /f &#8220;Tokens=1 delims=$&#8221; %a in (&#8216;dsquery * domainroot -filter &#8220;(&amp;(objectCategory=computer)(operatingSystem=Windows Server*))&#8221;^| dsget computer -samid^|find /V &#8220;samid&#8221; ^| find /V &#8220;dsget&#8221;&#8216;) do echo %a</p></blockquote>
<p>The output of the command shown above would be:</p>
<blockquote><p><span style="color: #000000;">server1</span></p>
<p><span style="color: #000000;">server2</span></p>
<p><span style="color: #000000;">server3</span></p></blockquote>
<p>… and can be used as input to a file or another command etc…</p>


<p>Related posts:<ol><li><a href='http://www.sheenaustin.com/2010/07/20/dsquery-operating-system-service-pack-version/' rel='bookmark' title='Permanent Link: DSQuery Operating System Service Pack Version'>DSQuery Operating System Service Pack Version</a></li>
<li><a href='http://www.sheenaustin.com/2009/10/07/how-to-backup-and-restore-active-directory/' rel='bookmark' title='Permanent Link: How to Backup and Restore Active Directory'>How to Backup and Restore Active Directory</a></li>
<li><a href='http://www.sheenaustin.com/2009/05/04/active-directory-audit-script/' rel='bookmark' title='Permanent Link: Active Directory Audit Script'>Active Directory Audit Script</a></li>
<li><a href='http://www.sheenaustin.com/2009/06/19/active-directory-password-expiry-reminder-email/' rel='bookmark' title='Permanent Link: Active Directory Password Expiry Reminder Email'>Active Directory Password Expiry Reminder Email</a></li>
<li><a href='http://www.sheenaustin.com/2009/05/19/diskpartexe-warning-when-expanding-drive/' rel='bookmark' title='Permanent Link: Diskpart.exe Warning when expanding drive'>Diskpart.exe Warning when expanding drive</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.sheenaustin.com/2009/05/18/get-list-of-machines-by-os-type-from-active-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up Split Brain DNS in Windows Server 2003</title>
		<link>http://www.sheenaustin.com/2009/04/28/setting-up-split-brain-dns-in-windows-server/</link>
		<comments>http://www.sheenaustin.com/2009/04/28/setting-up-split-brain-dns-in-windows-server/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 22:17:52 +0000</pubDate>
		<dc:creator>Sheen</dc:creator>
				<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows Server 2003]]></category>

		<guid isPermaLink="false">http://www.sheenaustin.com/?p=74</guid>
		<description><![CDATA[Most organizations have internal and external DNS servers and in many cases, the default internal DNS zone may differ from the externally referenced DNS zone. For example, the internal DNS zone could be called domain.com and the external DNS zone could be called external.domain.com. The internal DNS zone could be active directory integrated and will [...]


Related posts:<ol><li><a href='http://www.sheenaustin.com/2009/10/07/how-to-backup-and-restore-active-directory/' rel='bookmark' title='Permanent Link: How to Backup and Restore Active Directory'>How to Backup and Restore Active Directory</a></li>
<li><a href='http://www.sheenaustin.com/2010/01/15/ocs-2007-event-id-14517-when-starting-services/' rel='bookmark' title='Permanent Link: OCS 2007 Protocol Stack Error Event ID 14517 When Starting Services'>OCS 2007 Protocol Stack Error Event ID 14517 When Starting Services</a></li>
<li><a href='http://www.sheenaustin.com/2009/05/01/error-rewriteengine-not-allowed-here/' rel='bookmark' title='Permanent Link: Error: RewriteEngine not allowed here'>Error: RewriteEngine not allowed here</a></li>
<li><a href='http://www.sheenaustin.com/2009/04/30/a-certificate-could-not-be-found-that-can-be-used-with-this-extensible-authentication-protocol/' rel='bookmark' title='Permanent Link: A Certificate could not be found that can be used with this Extensible Authentication Protocol'>A Certificate could not be found that can be used with this Extensible Authentication Protocol</a></li>
<li><a href='http://www.sheenaustin.com/2009/07/18/the-winroute-tool/' rel='bookmark' title='Permanent Link: The WinRoute tool'>The WinRoute tool</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Most organizations have internal and external DNS servers and in many cases, the default internal DNS zone may differ from the externally referenced DNS zone. For example, the internal DNS zone could be called domain.com and the external DNS zone could be called external.domain.com. The internal DNS zone could be active directory integrated and will try to respond to all queries for external.domain.com and queries will fail since there arent any entries for external.domain.com in the internal DNS server.</p>
<p>In such a situation, instead of maintaining both zones internally and externally, it would be better and safer (avoiding human error) to setup a Split Brain DNS server to automatically forward all DNS queries for external.domain.com to the publicly hosted DNS server.</p>
<p>This is how it is done:</p>
<p><span id="more-74"></span></p>
<blockquote><p>1.On the Windows Server 2003 server, open the DNS console.<br />
2.Right-click the DNS server you wish to work with and click Properties.<br />
3.Click the Forwarders tab onthe DNS properties window.<br />
4.Click the New button on the right of the DNS domain list.<br />
5.Enter the domain name (in our case external.domain.com) for which the conditional forwarding should be enabled and click OK.<br />
6.Click on the new domain forward that you just added in DNS domains list and type the IP address of the primary DNS server for that domain in the box below, labeled Selected Domains Forwarder IP Address List.<br />
7.Click the Add button.</p></blockquote>
<p>Test the configuration. You will be able to resolve all external.domain.com addresses from within the network now!</p>


<p>Related posts:<ol><li><a href='http://www.sheenaustin.com/2009/10/07/how-to-backup-and-restore-active-directory/' rel='bookmark' title='Permanent Link: How to Backup and Restore Active Directory'>How to Backup and Restore Active Directory</a></li>
<li><a href='http://www.sheenaustin.com/2010/01/15/ocs-2007-event-id-14517-when-starting-services/' rel='bookmark' title='Permanent Link: OCS 2007 Protocol Stack Error Event ID 14517 When Starting Services'>OCS 2007 Protocol Stack Error Event ID 14517 When Starting Services</a></li>
<li><a href='http://www.sheenaustin.com/2009/05/01/error-rewriteengine-not-allowed-here/' rel='bookmark' title='Permanent Link: Error: RewriteEngine not allowed here'>Error: RewriteEngine not allowed here</a></li>
<li><a href='http://www.sheenaustin.com/2009/04/30/a-certificate-could-not-be-found-that-can-be-used-with-this-extensible-authentication-protocol/' rel='bookmark' title='Permanent Link: A Certificate could not be found that can be used with this Extensible Authentication Protocol'>A Certificate could not be found that can be used with this Extensible Authentication Protocol</a></li>
<li><a href='http://www.sheenaustin.com/2009/07/18/the-winroute-tool/' rel='bookmark' title='Permanent Link: The WinRoute tool'>The WinRoute tool</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.sheenaustin.com/2009/04/28/setting-up-split-brain-dns-in-windows-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
