<?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> &#187; Microsoft Server</title>
	<atom:link href="http://www.richstevenson.com/category/microsoftserver/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.richstevenson.com</link>
	<description></description>
	<lastBuildDate>Mon, 26 Oct 2009 12:25:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Expanding a RAID5 array without losing data</title>
		<link>http://www.richstevenson.com/2009/09/15/expanding-a-raid5-array-without-losing-data/</link>
		<comments>http://www.richstevenson.com/2009/09/15/expanding-a-raid5-array-without-losing-data/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 12:16:26 +0000</pubDate>
		<dc:creator>Rich Stevenson</dc:creator>
				<category><![CDATA[Microsoft Server]]></category>
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.richstevenson.com/?p=427</guid>
		<description><![CDATA[One of my remote offices was getting a little low on drive space on their data partition, so it was time to upgrade the existing drives to large capacity drives. This particular server is a Windows Server 2003 R2 Standard SP2 on a Dell PowerEdge 2950 with six 146GB SCSI drives and a PERC 5/i [...]]]></description>
			<content:encoded><![CDATA[<p>One of my remote offices was getting a little low on drive space on their data partition, so it was time to upgrade the existing drives to large capacity drives. This particular server is a Windows Server 2003 R2 Standard SP2 on a Dell PowerEdge 2950 with six 146GB SCSI drives and a PERC 5/i integrated controller. Drives 0 &amp; 1 are configured RAID0 for the system partition and drives 2-5 are configured RAID5 for the data partition. Six internal drives are all the server is capable of, so I have no empty slots for additional drives to expand the RAID5. So replacing the 146GB drives with 300GB drives is the route I took to add additional space to the array. Here are the steps:</p>
<p><span id="more-427"></span></p>
<p>1. As always, make sure you have a good backup of the server in case things go wrong.<br />
2. Remove drive 2 and replace it with one of the new 300GB drives.<br />
3. Wait for the array rebuild to complete by watching it in Dell OpenManage Server Administrator.<br />
4. Repeat steps 2-3 for the remaining 3 drives.<br />
5. Once the four drives are replaced, restart the server and hit Ctrl-R when prompted to enter the BIOS of the PERC5/i.<br />
6. Write down all of the settings for the existing RAID5 configuration, i.e. stripe size, read ahead.<br />
7. Deleted the RAID5 virtual disk and then recreated it with the new 300 GB drives, making sure to match the settings of the old virtual disk and be extra sure that the option to initialize the disk is <strong>NOT</strong> selected. If the disk is initialized, you will lose all of the data and will have to restore from your backup.<br />
8. Reboot the server and allow Windows to load. Once the OS comes up, login and verify that all of the data is still intact.<br />
9. From a command prompt type <strong>diskpart</strong>.<br />
10. At <strong>DISKPART&gt;</strong> type <strong>list volumes</strong> and locate the Volume # of the volume that you want to add the additional free space to. In my case it was volume 1.<br />
11. At <strong>DISKPART&gt;</strong> type <strong>select volume 1</strong>.<br />
12. At <strong>DISKPART&gt;</strong> Type <strong>extend</strong>.<br />
13. At <strong>DISKPART&gt;</strong> Type <strong>exit</strong> and close the command window.</p>
<p>Your RAID5 should be expanded with all data intact.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.richstevenson.com/2009/09/15/expanding-a-raid5-array-without-losing-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Controlling workstation services with Group Policies</title>
		<link>http://www.richstevenson.com/2009/07/20/controlling-workstation-services-with-group-policies/</link>
		<comments>http://www.richstevenson.com/2009/07/20/controlling-workstation-services-with-group-policies/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 00:55:06 +0000</pubDate>
		<dc:creator>Rich Stevenson</dc:creator>
				<category><![CDATA[Microsoft Server]]></category>
		<category><![CDATA[gpo]]></category>
		<category><![CDATA[services]]></category>

		<guid isPermaLink="false">http://www.richstevenson.com/?p=291</guid>
		<description><![CDATA[Looking for a way to allow your users to start and stop specific services? Or maybe a way to prevent a Power User from stopping specific services? In this article I&#8217;ll show you how to accomplish both using a Group Policy. This first thing that you&#8217;ll want to do is make sure the service that [...]]]></description>
			<content:encoded><![CDATA[<p>Looking for a way to allow your users to start and stop specific services? Or maybe a way to prevent a Power User from stopping specific services? In this article I&#8217;ll show you how to accomplish both using a Group Policy.<br />
This first thing that you&#8217;ll want to do is make sure the service that you want to control is installed on your administrative workstation. If it&#8217;s not, then you won&#8217;t see the service listed in the GPO.</p>
<p><span id="more-291"></span></p>
<p>1. Open your Group Policy and go to <strong>Computer Configuration | Windows Settings | Security Settings | System Services</strong>.<br />
2. Right click the service that you want to control and select <strong>Properties</strong> as seen in <strong>Figure A</strong>.</p>
<div id="attachment_293" class="wp-caption alignleft" style="width: 414px"><img class="size-full wp-image-293 " title="Figure A:" src="http://www.richstevenson.com/wp-content/uploads/2009/07/FigureA.jpg" alt="Figure A:" width="404" height="375" /><p class="wp-caption-text">Figure A:</p></div>
<p>3. Place a check mark at &#8216;<strong>Define this policy setting</strong>&#8216;. Immediately the Security dialog will be displayed.</p>
<p>What you do from here depends on what you want to accomplish. If you want to prevent a user in the local Power User group from stopping a service, simply click OK. This will take away the Power Users group rights from the service.</p>
<p>If you want to allow a user or group to be able to start and stop the service, then add them to the Security list and click OK.</p>
<p>4. Select the service startup mode and click OK.</p>
<p>That&#8217;s it. Give the policy time to replicate and you now have complete control over the specified service on all of your workstations.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.richstevenson.com/2009/07/20/controlling-workstation-services-with-group-policies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Map Windows drives based on group membership</title>
		<link>http://www.richstevenson.com/2009/03/31/map-windows-drives-based-on-group-membership/</link>
		<comments>http://www.richstevenson.com/2009/03/31/map-windows-drives-based-on-group-membership/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 23:00:21 +0000</pubDate>
		<dc:creator>Rich Stevenson</dc:creator>
				<category><![CDATA[Microsoft Server]]></category>
		<category><![CDATA[Visual Basic Scripting]]></category>

		<guid isPermaLink="false">http://www.richstevenson.com/?p=157</guid>
		<description><![CDATA[Need a way to map a network share for a user, based on security group membership? It&#8217;s pretty easy and can be done with just a few lines of code. Using a Visual Basic Script, you can map a drive to a Windows share based on whether or not the authenticating Active Directory user is [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsensestart--><br />
Need a way to map a network share for a user, based on security group membership? It&#8217;s pretty easy and can be done with just a few lines of code. Using a Visual Basic Script, you can map a drive to a Windows share based on whether or not the authenticating Active Directory user is a member of a specific security group.<br />
<span id="more-157"></span><br />
In this example, I have an Active Directory group named acct and I want the members of that group to have the share located at \\server01\acct mapped using the drive letter Q. The text in <span style="color: #ffff99;">yellow</span>, represents where you modify this script to accommodate your environment.</p>
<p>&#8216;Set the variable ACCT to the group name acct<br />
<span style="color: #800000;"><code>Const <span style="color: #ffff99;">ACCT</span> = "cn=<span style="color: #ffff99;">acct</span>"</code></span></p>
<p>&#8216;Access to network resources.<br />
<span style="color: #800000;"><code>Set wshNetwork = CreateObject("WScript.Network")</code></span></p>
<p>&#8216;Network drive mapping info.<br />
<span style="color: #800000;"><code>Set EnuDrives = wshNetwork.EnumNetworkDrives()</code></span></p>
<p>&#8216;For checking group memberships<br />
<span style="color: #800000;"><code>Set ADSysInfo = CreateObject("ADSystemInfo")<br />
Set CurrentUser = GetObject("LDAP://" &amp; ADSysInfo.UserName)</code></span></p>
<p>&#8216;Prevents an error if user is not a member of any groups.<br />
<span style="color: #800000;"><code>If IsArray(CurrentUser.MemberOf) Then<br />
&nbsp;&nbsp;strGroups = LCase(Join(CurrentUser.MemberOf))<br />
Else<br />
&nbsp;&nbsp;strGroups = LCase(CurrentUser.MemberOf)<br />
End If</code></span></p>
<p>&#8216;This block first checks if the user is a member of<br />
&#8216;the ACCT group. If yes, then it checks for an existing<br />
&#8216;map using Q, if it finds one, it is disconnected and Q is<br />
&#8216;mapped to the \\server01\acct share.<br />
<code><span style="color: #800000;">If InStr(strGroups, <span style="color: #ffff99;">ACCT</span>) Then<br />
&nbsp;&nbsp;For i = 0 To EnuDrives.Count - 1 Step 2<br />
&nbsp;&nbsp;&nbsp;&nbsp;If LCase(EnuDrives.Item(i)) = "q:" Then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wshNetwork.RemoveNetworkDrive "q:", True, True<br />
&nbsp;&nbsp;&nbsp;&nbsp;End If<br />
&nbsp;&nbsp;Next<br />
&nbsp;&nbsp;wshNetwork.MapNetworkDrive "q:", "<span style="color: #ffff99;">\\server01\acct</span>"<br />
End If</span></code></p>
<p>Now just copy the above script and paste it into a text editor such as Notepad and name it with an .vbs extension. Double clicking the the file runs the script and you should see the Q: drive mapped to your specified share as long as you are a member of your specified group.<br />
<!--adsensestart--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.richstevenson.com/2009/03/31/map-windows-drives-based-on-group-membership/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
