<?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</title>
	<atom:link href="http://www.sheenaustin.com/tag/windows-server/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>DSQuery Operating System Service Pack Version</title>
		<link>http://www.sheenaustin.com/2010/07/20/dsquery-operating-system-service-pack-version/</link>
		<comments>http://www.sheenaustin.com/2010/07/20/dsquery-operating-system-service-pack-version/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 01:59:27 +0000</pubDate>
		<dc:creator>Sheen</dc:creator>
				<category><![CDATA[Windows Scripting]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[DSQuery]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Service Pack]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.sheenaustin.com/?p=199</guid>
		<description><![CDATA[I had a requirement recently to get the service pack versions for all workstations on the domain. I tried a few different options but the easiest option was to use the extremely useful dsquery tool. Without further ado, this is the command: dsquery * -scope subtree -attr &#8220;cn&#8221; &#8220;operatingSystem&#8221; &#8220;operatingSystemServicePack&#8221;  -filter &#8220;(&#38;(objectclass=computer)(objectcategory=computer)(operatingSystem=Windows XP*))&#8221; -limit 100000 [...]


Related posts:<ol><li><a href='http://www.sheenaustin.com/2009/05/18/get-list-of-machines-by-os-type-from-active-directory/' rel='bookmark' title='Permanent Link: Get list of machines by OS type from Active Directory'>Get list of machines by OS type from Active Directory</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>
<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/07/18/the-winroute-tool/' rel='bookmark' title='Permanent Link: The WinRoute tool'>The WinRoute tool</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I had a requirement recently to get the service pack versions for all workstations on the domain. I tried a few different options but the easiest option was to use the extremely useful dsquery tool.</p>
<p>Without further ado, this is the command:</p>
<blockquote><p>dsquery * -scope subtree -attr &#8220;cn&#8221; &#8220;operatingSystem&#8221; &#8220;operatingSystemServicePack&#8221;  -filter &#8220;(&amp;(objectclass=computer)(objectcategory=computer)(operatingSystem=Windows XP*))&#8221; -limit 100000</p></blockquote>
<p>The output of this command would be as follows:</p>
<p>cn                 operatingSystem                      operatingSystemServicePack<br />
WRK001    Windows XP Professional     Service Pack 1<br />
WRK002    Windows XP Professional     Service Pack 2<br />
WRK003    Windows XP Professional     Service Pack 3</p>
<p>Where, cn is the workstation name and the others are self explanatory.</p>
<p>Share your handy little tips and tricks!</p>


<p>Related posts:<ol><li><a href='http://www.sheenaustin.com/2009/05/18/get-list-of-machines-by-os-type-from-active-directory/' rel='bookmark' title='Permanent Link: Get list of machines by OS type from Active Directory'>Get list of machines by OS type from Active Directory</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>
<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/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/2010/07/20/dsquery-operating-system-service-pack-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Diskpart.exe Warning when expanding drive</title>
		<link>http://www.sheenaustin.com/2009/05/19/diskpartexe-warning-when-expanding-drive/</link>
		<comments>http://www.sheenaustin.com/2009/05/19/diskpartexe-warning-when-expanding-drive/#comments</comments>
		<pubDate>Tue, 19 May 2009 17:12:54 +0000</pubDate>
		<dc:creator>Sheen</dc:creator>
				<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[boot.ini]]></category>
		<category><![CDATA[Diskpart]]></category>

		<guid isPermaLink="false">http://www.sheenaustin.com/2009/05/19/diskpartexe-warning-when-expanding-drive/</guid>
		<description><![CDATA[Recently when using diskpart.exe to expand a volume on a Windows Server 2000 SP4 machine, we got a warning &#34;Deleting the primary partition has modified the partition number of the partition that contains your Windows 2000 system files.&#160; The old partition number was 2; the new partition number is 1.&#34; We changed the boot.ini file [...]


Related posts:<ol><li><a href='http://www.sheenaustin.com/2009/05/18/get-list-of-machines-by-os-type-from-active-directory/' rel='bookmark' title='Permanent Link: Get list of machines by OS type from Active Directory'>Get list of machines by OS type from Active Directory</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/04/28/setting-up-split-brain-dns-in-windows-server/' rel='bookmark' title='Permanent Link: Setting up Split Brain DNS in Windows Server 2003'>Setting up Split Brain DNS in Windows Server 2003</a></li>
<li><a href='http://www.sheenaustin.com/2009/06/18/exchange-2007-recreate-owa-folders/' rel='bookmark' title='Permanent Link: Exchange 2007 Recreate OWA folders'>Exchange 2007 Recreate OWA folders</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>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Recently when using diskpart.exe to expand a volume on a Windows Server 2000 SP4 machine, we got a warning &quot;Deleting the primary partition has modified the partition number of the partition that contains your Windows 2000 system files.&#160; The old partition number was 2; the new partition number is 1.&quot;</p>
<p>We changed the boot.ini file from:</p>
<p><font size="2" face="Courier New">[boot loader]     <br />timeout=30      <br />default=multi(0)disk(0)rdisk(0)partition(2)\WINNT      <br />[operating systems]      <br />multi(0)disk(0)rdisk(0)partition(2)\WINNT=&quot;Microsoft Windows 2000 Server&quot; /fastdetect</font></p>
<p>to:</p>
<p><font size="2" face="Courier New">[boot loader]     <br />timeout=30      <br />default=multi(0)disk(0)rdisk(0)partition(1)\WINNT      <br />[operating systems]      <br />multi(0)disk(0)rdisk(0)partition(1)\WINNT=&quot;Microsoft Windows 2000 Server&quot; /fastdetect</font></p>
<p>On rebooting the server, the server refused to boot throwing an NT Kernel not found error.</p>
<p>How to fix it:</p>
<p> <span id="more-120"></span>
<p>If you get this error, before you reboot the server, you first identify the active boot partition – to do this, you need to start diskpart.exe from the command line and run the command ‘list volume’. You should get an output as follows:</p>
<p><font size="2" face="Courier New">DISKPART&gt; list volume </font></p>
<p><font size="2" face="Courier New">&#160; Volume ###&#160; Ltr&#160; Label&#160;&#160;&#160;&#160;&#160;&#160;&#160; Fs&#160;&#160;&#160;&#160; Type&#160;&#160;&#160;&#160;&#160;&#160;&#160; Size&#160;&#160;&#160;&#160; Status&#160;&#160;&#160;&#160; Info     <br />&#160; &#8212;&#8212;&#8212;-&#160; &#8212;&#160; &#8212;&#8212;&#8212;&#8211;&#160; &#8212;&#8211;&#160; &#8212;&#8212;&#8212;-&#160; &#8212;&#8212;-&#160; &#8212;&#8212;&#8212;&#160; &#8212;&#8212;&#8211;      <br />&#160; Volume 0&#160;&#160;&#160;&#160; D&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; DVD-ROM&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 0 B      <br />&#160; Volume 1&#160;&#160;&#160;&#160; C&#160;&#160; IBM_PRELOAD&#160; NTFS&#160;&#160; Partition&#160;&#160;&#160;&#160; 34 GB&#160; Healthy&#160;&#160;&#160; System      <br />&#160; Volume 2&#160;&#160;&#160;&#160; E&#160;&#160; Data&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; NTFS&#160;&#160; Partition&#160;&#160;&#160; 115 GB&#160; Healthy</font></p>
<p>In the output shown above, the section under ‘Info’ shows ‘System’ for ‘Volume 1’ indicating that the boot partition is on Volume 1 so the boot loader should have the following to correctly boot the OS.</p>
<p>multi(0)disk(0)rdisk(0)partition(1)\WINNT=&quot;Microsoft Windows 2000 Server&quot; /fastdetect</p>
<p>Now to ensure that you have a better chance of booting the OS in case something really has gone wrong with the results of ‘list volume’ you can use a boot.ini file as follows:</p>
<p><font size="2" face="Courier New">[boot loader]     <br />timeout=30      <br />default=multi(0)disk(0)rdisk(0)partition(1)\WINNT      <br />[operating systems]      <br />multi(0)disk(0)rdisk(0)partition(1)\WINNT=&quot;Microsoft Windows 2000 Server&quot; /fastdetect      <br />multi(0)disk(0)rdisk(0)partition(2)\WINNT=&quot;Microsoft Windows 2000 Server-2&quot; /fastdetect</font></p>
<p>The benefit of choosing the above mentioned approach is that you get the option of selecting which drive would correctly boot the OS without having to go through a painful recovery mode process of trying to fix the boot record.</p>
<p>Once you know which entry boots the OS, you can edit your boot.ini file to remove the incorrect entry and have the server boot fine for all successive reboots.</p>


<p>Related posts:<ol><li><a href='http://www.sheenaustin.com/2009/05/18/get-list-of-machines-by-os-type-from-active-directory/' rel='bookmark' title='Permanent Link: Get list of machines by OS type from Active Directory'>Get list of machines by OS type from Active Directory</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/04/28/setting-up-split-brain-dns-in-windows-server/' rel='bookmark' title='Permanent Link: Setting up Split Brain DNS in Windows Server 2003'>Setting up Split Brain DNS in Windows Server 2003</a></li>
<li><a href='http://www.sheenaustin.com/2009/06/18/exchange-2007-recreate-owa-folders/' rel='bookmark' title='Permanent Link: Exchange 2007 Recreate OWA folders'>Exchange 2007 Recreate OWA folders</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>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.sheenaustin.com/2009/05/19/diskpartexe-warning-when-expanding-drive/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A Certificate could not be found that can be used with this Extensible Authentication Protocol</title>
		<link>http://www.sheenaustin.com/2009/04/30/a-certificate-could-not-be-found-that-can-be-used-with-this-extensible-authentication-protocol/</link>
		<comments>http://www.sheenaustin.com/2009/04/30/a-certificate-could-not-be-found-that-can-be-used-with-this-extensible-authentication-protocol/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 11:09:41 +0000</pubDate>
		<dc:creator>Sheen</dc:creator>
				<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Certificates]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[RADIUS]]></category>

		<guid isPermaLink="false">http://www.sheenaustin.com/?p=93</guid>
		<description><![CDATA[I got this error today when I tried configuring a RADIUS server on Windows Server 2003.&#160; This error occurs when the server that you are trying to configure RADIUS on does not have a computer certificate assigned to it. If you have IIS installed, requesting a certificate for any website will make this problem go [...]


Related posts:<ol><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/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/04/28/setting-up-split-brain-dns-in-windows-server/' rel='bookmark' title='Permanent Link: Setting up Split Brain DNS in Windows Server 2003'>Setting up Split Brain DNS in Windows Server 2003</a></li>
<li><a href='http://www.sheenaustin.com/2009/01/09/using-apc-powerchute-with-vmware-esx/' rel='bookmark' title='Permanent Link: Using APC PowerChute with VMWare ESX'>Using APC PowerChute with VMWare ESX</a></li>
<li><a href='http://www.sheenaustin.com/2009/11/18/kb974571-and-ocs-2007/' rel='bookmark' title='Permanent Link: KB974571 and OCS 2007'>KB974571 and OCS 2007</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I got this error today when I tried configuring a RADIUS server on Windows Server 2003.&#160; This error occurs when the server that you are trying to configure RADIUS on does not have a computer certificate assigned to it.</p>
<p>If you have IIS installed, requesting a certificate for any website will make this problem go away. If you dont have IIS installed, do the following:</p>
<p> <span id="more-93"></span><br />
<h2 class="heading">To obtain client certificates</h2>
<div class="section">
<ol class="ordered">
<li>In your Web browser, open the form at http://<em>servername</em>/certsrv for requesting a certificate from your CA, where <em>servername</em> is the name of the Web server where the CA that you want to access is located. </li>
<li>Click <strong>Request a certificate</strong>, click <strong>Advanced certificate requests</strong>, and then click <strong>Create and submit a request to this CA</strong>. </li>
<li>Type the information requested and any other options required, including:
<ul>
<li>Select <strong>Mark keys as exportable</strong>. </li>
<li>Select <strong>Store certificate in the local computer certificate store</strong>. </li>
</ul>
</li>
<li>Click <strong>Submit</strong>, and then do one of the following:
<ul>
<li>If you see the <strong>Certificate Pending</strong> Web page, check on the pending certificate request. </li>
<li>If you see the <strong>Certificate Issued</strong> Web page, click <strong>Install this certificate</strong>. </li>
</ul>
</li>
<li>If you are finished using the Certificate Services Web pages, close Internet Explorer. </li>
</ol></div>
<p>Once you have obtained the client certificate, verify that it is in your Personal store and is valid. To do this:</p>
<ol class="ordered">
<li>Open the Certificates MMC snap-in. </li>
<li>Locate the installed client certificate in the <strong>Personal</strong> store under <strong>Certificates (Local Computer)</strong>, and then double-click the certificate to verify it. </li>
</ol>
<p>Now go ahead with the RADIUS server configuration and you will be able to configure PEAP without any errors.</p>
<p>Let me know what your experience has been and if you have found a better way of fixing this issue.</p>


<p>Related posts:<ol><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/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/04/28/setting-up-split-brain-dns-in-windows-server/' rel='bookmark' title='Permanent Link: Setting up Split Brain DNS in Windows Server 2003'>Setting up Split Brain DNS in Windows Server 2003</a></li>
<li><a href='http://www.sheenaustin.com/2009/01/09/using-apc-powerchute-with-vmware-esx/' rel='bookmark' title='Permanent Link: Using APC PowerChute with VMWare ESX'>Using APC PowerChute with VMWare ESX</a></li>
<li><a href='http://www.sheenaustin.com/2009/11/18/kb974571-and-ocs-2007/' rel='bookmark' title='Permanent Link: KB974571 and OCS 2007'>KB974571 and OCS 2007</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.sheenaustin.com/2009/04/30/a-certificate-could-not-be-found-that-can-be-used-with-this-extensible-authentication-protocol/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
