<?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>Jared Heinrichs &#187; Windows 2008</title>
	<atom:link href="http://jaredheinrichs.com/category/operating-system/windows-2008/feed" rel="self" type="application/rss+xml" />
	<link>http://jaredheinrichs.com</link>
	<description>A &#34;How to&#34; Blog on Software and Technology</description>
	<lastBuildDate>Thu, 29 Jul 2010 04:20:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>How to install PHP in Windows 2008 Server and IIS</title>
		<link>http://jaredheinrichs.com/how-to-install-php-in-windows-2008-server-and-iis.html</link>
		<comments>http://jaredheinrichs.com/how-to-install-php-in-windows-2008-server-and-iis.html#comments</comments>
		<pubDate>Thu, 21 Jan 2010 16:53:59 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/how-to-install-php-in-windows-2008-server-and-iis.html</guid>
		<description><![CDATA[install package in C:\PHP (for example) from php.net but I would recommend use zip package since you will do the manual setup anyway. Edit php.ini to set extensions that you want to enable Set environment path=c:\php;%path% IIS Manager steps Open the Internet Information Services (IIS) Manager. Double-click “Handler Mappings” from the main IIS screen. Click [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>
<h5>install package in C:\PHP (for example) from php.net but I would recommend use zip package since you will do the manual setup anyway.</h5>
</li>
<li>
<h5>Edit php.ini to set extensions that you want to enable</h5>
</li>
<li>
<h5>Set environment path=c:\php;%path%</h5>
</li>
<li>
<h5>IIS Manager steps</h5>
</li>
<ol>
<li>
<h5>Open the Internet Information Services (IIS) Manager.</h5>
</li>
<li>
<h5>Double-click “Handler Mappings” from the main IIS screen.</h5>
</li>
<li>
<h5>Click on “Add Script Map.” to add &quot;script mappings&quot; handler for for c:\PHP\php5isapi.dll with extension *.php and answer &quot;yes&quot; to create &quot;isapi and cgi restrictions&quot; when prompted</h5>
</li>
<li>
<h5>Set your web site application pool to &quot;Classic mode&quot;</h5>
</li>
<li>
<h5>Add ISAPI filters to point to c:\PHP\php5isapi.dll</h5>
</li>
</ol>
<li>
<h5>Copy c:\php\php.ini to c:\windows</h5>
</li>
<li>
<h5>Reboot your server&#8230;</h5>
</li>
</ol>
<h5>&#160;</h5>
<h5>Done !!</h5>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/how-to-install-php-in-windows-2008-server-and-iis.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use Sysprep with Virtual Servers</title>
		<link>http://jaredheinrichs.com/how-to-use-sysprep-with-virtual-servers.html</link>
		<comments>http://jaredheinrichs.com/how-to-use-sysprep-with-virtual-servers.html#comments</comments>
		<pubDate>Mon, 27 Jul 2009 17:28:04 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Hyper-V]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/how-to-use-sysprep-with-virtual-servers.html</guid>
		<description><![CDATA[This post will be a complete how to on using Sysprep with Windows Server. The reason why I am writing this post is I have answered this question “How do I use Sysprep” that I figured a lot of people would benefit from it. What is Sysprep? Sysprep is a tool that Microsoft released way [...]]]></description>
			<content:encoded><![CDATA[<p>This post will be a complete how to on using Sysprep with Windows Server. The reason why I am writing this post is I have answered this question “How do I use Sysprep” that I figured a lot of people would benefit from it.</p>
<p> <span id="more-1302"></span><br />
<h4>What is Sysprep?</h4>
<p>Sysprep is a tool that Microsoft released way back to help with cloning physical machines. Because Virtual machine act very much like their Physical brethren, one would think that you could use it on virtual machines as well. You would be write! In fact I find that it’s usage in Virtual machines makes even more sense.</p>
<h4>Pre-requisites</h4>
<ol>
<li>Make sure you have installed a Virtualization software. Virtual PC , VM Workstation etc.</li>
<li>Have all Server Media. You will need to copy some files off the server disks. </li>
</ol>
<h4>Windows 2003 Server</h4>
<p>1.) Make sure that you install the Windows Server 2003</p>
<p>2.) Run all the updates you will want on the Base server. You can do this by visiting Windows Update and applying all the updates. This will most likely take a very long time.</p>
<p>3.) Open “My Computer” and create a folder called “Support”.</p>
<p>4.) Put in CD/DVD into computer or mount an ISO of the OS. (if it isn’t still there from the install)</p>
<p>5.) Go to the “\Support\Tools” folder on the disk. Open the support.cab file by double clicking on it.</p>
<p>6.) Highlight all the files and copy them to “C:\Support”.</p>
<p>7.) Right click “My Computer” and select properties.</p>
<p>8.) Click the “Advance Tab”.</p>
<p>9.) Click “Environment Variables” button</p>
<p>10.) Go to the end of the “Variable value” box and type “;c:\support”. The “;” makes sure the OS knows to make “support” a separate value.</p>
<p>11.) Hit “OK” , “OK&#8217;” etc till you have all the windows closed.</p>
<p>12.) Restart your machine to enable the path setting you just entered.</p>
<p>13.) Log into the server after reboot.</p>
<p>14.) open command prompt by clicking “STAT – RUN” then typing “CMD”.</p>
<p>15.) Type “sysprep” at the command prompt.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/07/image36.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="How to use Sysprep image 1" border="0" alt="How to use Sysprep image 1" src="http://jaredheinrichs.com/wp-content/uploads/2009/07/image_thumb29.png" width="477" height="104" /></a> </p>
<p>16.) A new window will open called “System Preparation Tool 2.0”. Click “Ok”.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/07/image37.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="How to use Sysprep image 2" border="0" alt="How to use Sysprep image 2" src="http://jaredheinrichs.com/wp-content/uploads/2009/07/image_thumb30.png" width="404" height="125" /></a> </p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/07/image38.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="How to use Sysprep image 3" border="0" alt="How to use Sysprep image 3" src="http://jaredheinrichs.com/wp-content/uploads/2009/07/image_thumb31.png" width="226" height="244" /></a> </p>
<p>17.) Click “Reseal”</p>
<p>Machine will turn off.</p>
<p>18.)This file can now be used on several machines. I’d make a folder where you store you’re VMS and create a folder called one called “Sysprep Image”.</p>
<p>19.) Turn on your machine. You will see something similar to a default install without waiting for files to be copied!</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/07/image39.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="How to use Sysprep image 4" border="0" alt="How to use Sysprep image 4" src="http://jaredheinrichs.com/wp-content/uploads/2009/07/image_thumb32.png" width="244" height="184" /></a>&#160;<a href="http://jaredheinrichs.com/wp-content/uploads/2009/07/image40.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="How to use Sysprep image 5" border="0" alt="How to use Sysprep image 5" src="http://jaredheinrichs.com/wp-content/uploads/2009/07/image_thumb33.png" width="244" height="185" /></a> </p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/07/image41.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="How to use Sysprep image 6" border="0" alt="How to use Sysprep image 6" src="http://jaredheinrichs.com/wp-content/uploads/2009/07/image_thumb34.png" width="244" height="184" /></a>&#160;<a href="http://jaredheinrichs.com/wp-content/uploads/2009/07/image42.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="How to use Sysprep image 7" border="0" alt="How to use Sysprep image 7" src="http://jaredheinrichs.com/wp-content/uploads/2009/07/image_thumb35.png" width="244" height="188" /></a> </p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/07/image43.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="How to use Sysprep image 8" border="0" alt="How to use Sysprep image 8" src="http://jaredheinrichs.com/wp-content/uploads/2009/07/image_thumb36.png" width="244" height="188" /></a>&#160;<a href="http://jaredheinrichs.com/wp-content/uploads/2009/07/image44.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="How to use Sysprep image 9" border="0" alt="How to use Sysprep image 9" src="http://jaredheinrichs.com/wp-content/uploads/2009/07/image_thumb37.png" width="244" height="187" /></a> </p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/07/image45.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="How to use Sysprep image 10" border="0" alt="How to use Sysprep image 10" src="http://jaredheinrichs.com/wp-content/uploads/2009/07/image_thumb38.png" width="244" height="188" /></a>&#160;<a href="http://jaredheinrichs.com/wp-content/uploads/2009/07/image46.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="How to use Sysprep image 11" border="0" alt="How to use Sysprep image 11" src="http://jaredheinrichs.com/wp-content/uploads/2009/07/image_thumb39.png" width="244" height="188" /></a> </p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/07/image47.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="How to use Sysprep image 12" border="0" alt="How to use Sysprep image 12" src="http://jaredheinrichs.com/wp-content/uploads/2009/07/image_thumb40.png" width="244" height="187" /></a>&#160;<a href="http://jaredheinrichs.com/wp-content/uploads/2009/07/image48.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="How to use Sysprep image 13" border="0" alt="How to use Sysprep image 13" src="http://jaredheinrichs.com/wp-content/uploads/2009/07/image_thumb41.png" width="244" height="187" /></a> </p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/07/image49.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="How to use Sysprep image 14" border="0" alt="How to use Sysprep image 14" src="http://jaredheinrichs.com/wp-content/uploads/2009/07/image_thumb42.png" width="244" height="188" /></a>&#160;<a href="http://jaredheinrichs.com/wp-content/uploads/2009/07/image50.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="How to use Sysprep image 15" border="0" alt="How to use Sysprep image 15" src="http://jaredheinrichs.com/wp-content/uploads/2009/07/image_thumb43.png" width="244" height="188" /></a> </p>
<p>Once you click finish your machine is production ready. Best of all this machine is supported by Microsoft. If you use a program to just change the SID of the machine Microsoft will NOT support it.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/how-to-use-sysprep-with-virtual-servers.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Vista SP2 &amp; Windows Server 2008 SP2 cleanup tool</title>
		<link>http://jaredheinrichs.com/windows-vista-sp2-windows-server-2008-sp2-cleanup-tool.html</link>
		<comments>http://jaredheinrichs.com/windows-vista-sp2-windows-server-2008-sp2-cleanup-tool.html#comments</comments>
		<pubDate>Wed, 27 May 2009 12:54:15 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/windows-vista-sp2-windows-server-2008-sp2-cleanup-tool.html</guid>
		<description><![CDATA[Part of the SP2 package Service Pack Cleanup Tool In Vista SP2 To Clean up Old RTM &#38; SP1 Backup Files The recently released Windows Vista SP2 has shown significant enhancement and improvement in terms of compatibility, reliability, performance, and speed compared to the earlier SP1. If users had noticed, after installing the Vista SP2, [...]]]></description>
			<content:encoded><![CDATA[<h3>Part of the SP2 package</h3>
<h4>Service Pack Cleanup Tool In Vista SP2 To Clean up Old RTM &amp; SP1 Backup Files</h4>
<p>The recently released Windows Vista SP2 has shown significant enhancement and improvement in terms of compatibility, reliability, performance, and speed compared to the earlier SP1. If users had noticed, after installing the Vista SP2, the hard disk’s space had been taken up substantially. This was mainly because a lot of old Vista RTM and SP1 backup files and components were not deleted upon the installation of new SP2. </p>
<p>To housekeep your hard disk and clean up those old and unused SP1 backup files, users probably can try the new Service Pack Cleanup Tool which is also named as compcln.exe. This successor for SP1 cleanup tool, Vsp1cln.exe, can easily remove all the system files (RTM &amp; SP1) inherited from the older versions but replaced by Vista SP2. </p>
<p>Running this compeln.exe tool is pretty simple:</p>
<ol>
<li>Click Start&gt;All Programs&gt;Accessories&gt;Command Prompt or click Start&gt;Run and type cmd to open Command Prompt Windows</li>
<li>Execute the command “Compcln.exe”. The path is “c:\Windows\System32 \compcln.exe”.</li>
<li>Users will be prompted a question whether to keep Vista SP2 permanently in the system.</li>
<li>Once users type “Y” and press enter, the system will start performing the windows components clean</li>
</ol>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/05/image43.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://jaredheinrichs.com/wp-content/uploads/2009/05/image-thumb8.png" width="545" height="172" /></a> </p>
<p>After the cleansing process, users will notice the free hard disk space has increased substantially.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/windows-vista-sp2-windows-server-2008-sp2-cleanup-tool.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Malware stats on different versions of Windows</title>
		<link>http://jaredheinrichs.com/malware-stats-on-different-versions-of-windows.html</link>
		<comments>http://jaredheinrichs.com/malware-stats-on-different-versions-of-windows.html#comments</comments>
		<pubDate>Wed, 22 Apr 2009 15:31:41 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Windows 2003 Server]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/malware-stats-on-different-versions-of-windows.html</guid>
		<description><![CDATA[Microsoft is making their OS’s more secure Depending on your background, you may find different sections of the newly published Microsoft Security Intelligence Report (SIR) to be of more interest.&#160; In today’s post, we would like to highlight the section on infection rates based on the operating system (OS) version and the service pack level.&#160; [...]]]></description>
			<content:encoded><![CDATA[<h3>Microsoft is making their OS’s more secure</h3>
<p>Depending on your background, you may find different sections of the newly published <a href="http://www.microsoft.com/sir">Microsoft Security Intelligence Report</a> (SIR) to be of more interest.&#160; In today’s post, we would like to highlight the section on infection rates based on the operating system (OS) version and the service pack level.&#160; Microsoft has consistently observed that machines with newer OS and with more recent service packs are less likely to be infected by malware.&#160; The graph below shows the number of computers having malware removed per 1,000 executions of the MSRT on that OS/SP during the second half of 2008 (2H08).</p>
<p><img alt="" src="http://blogs.technet.com/photos/mmpcblog/images/3229054/original.aspx" width="464" height="293" /></p>
<p>In the SIR, you will find the the following conclusions based on this data:</p>
<ul>
<li>The infection rate for Windows Vista is significantly lower than that of its predecessor, Windows XP, in all configurations.</li>
<li>Comparing the latest service packs for each version, the infection rate of Windows Vista SP1 is 60.6 percent less than that of Windows XP SP3.</li>
<li>Comparing the RTM versions of these operating systems, the infection rate of the RTM version of Windows Vista is 89.1 percent less than that of the RTM version of Windows XP.</li>
<li>The infection rate of Windows Server 2008 RTM is 52.6 percent less than that of its predecessor, Windows Server 2003 SP2.</li>
<li>The higher the service pack level, the lower the rate of infection. This trend can be observed consistently across client and server operating systems.</li>
</ul>
<p>There are two reasons for this:</p>
<ol>
<li>Service packs include all previously released security updates. They can also include additional security features, mitigations, or changes to default settings to protect users.</li>
<li>Users who install service packs generally maintain their computers better than users who do not install service packs and may also be more cautious in the way they browse the Internet, open attachments, and engage in other activities that can open computers to attack.</li>
</ol>
<p>Server versions of Windows typically display a lower infection rate on average than client versions. Servers tend to have a lower effective attack surface than computers running client operating systems as they are more likely to be used under controlled conditions by trained administrators and to be protected by one or more layers of security. In particular, Windows Server 2003 its successors are hardened against attack in a number of ways, reflecting this difference in usage.</p>
<p>Continue <a href="http://blogs.technet.com/mmpc/archive/2009/04/21/malware-distribution-across-operating-systems.aspx">http://blogs.technet.com/mmpc/archive/2009/04/21/malware-distribution-across-operating-systems.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/malware-stats-on-different-versions-of-windows.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install Key and activate Microsoft Server Core</title>
		<link>http://jaredheinrichs.com/how-to-install-key-and-activate-microsoft-server-core.html</link>
		<comments>http://jaredheinrichs.com/how-to-install-key-and-activate-microsoft-server-core.html#comments</comments>
		<pubDate>Thu, 09 Apr 2009 15:32:08 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Windows 2008]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/?p=387</guid>
		<description><![CDATA[You have to run two commands. The first command installs the Server Key start /w slmgr.vbs -ipk ABCDE-FGHIJ-KLMNO-PQRST-UVWXY .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } [...]]]></description>
			<content:encoded><![CDATA[<h3>You have to run two commands.</h3>
<p>The first command installs the Server Key</p>
<pre class="csharpcode">start /w slmgr.vbs -ipk ABCDE-FGHIJ-KLMNO-PQRST-UVWXY</pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>The second command activates</p>
<pre class="csharpcode">start /w slmgr.vbs -ato</pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/how-to-install-key-and-activate-microsoft-server-core.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to schedule a Windows Powershell script</title>
		<link>http://jaredheinrichs.com/how-to-schedule-a-windows-powershell-script.html</link>
		<comments>http://jaredheinrichs.com/how-to-schedule-a-windows-powershell-script.html#comments</comments>
		<pubDate>Thu, 26 Mar 2009 19:12:06 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Windows 2003 Server]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/?p=371</guid>
		<description><![CDATA[Couple of things to know There are two main things that you have to do to schedual Powershell scripts. Allow Interactive Commands using set-executionpolicy command. Put Powershell script in a &#34;.ps1&#34; file. You can use any text editor to make this. The first thing you need to do is make sure that Powershell is set [...]]]></description>
			<content:encoded><![CDATA[<h3>Couple of things to know</h3>
<p>There are two main things that you have to do to schedual Powershell scripts.</p>
<ol>
<li>Allow Interactive Commands using set-executionpolicy command. </li>
<li>Put Powershell script in a &quot;.ps1&quot; file. You can use any text editor to make this. </li>
</ol>
<p>The first thing you need to do is make sure that Powershell is set to execute Powershell scripts, instead of only allowing interactive commands to be run in the Powershell environment.</p>
<p>Type the following at the Powershell command prompt:</p>
<blockquote><pre class="csharpcode">set-executionpolicy RemoteSigned</pre>
</blockquote>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>This will allow the system to run Powershell scripts that are created locally (Remote Powershell scripts that may be downloaded must be signed).</p>
<p>Once this is done, you can create your Powershell script using notepad. Just make sure you name the file with an extension of .ps1 . Now to run the script outside of its Powershell environment you type a command similar to the following:</p>
<blockquote>
<pre class="csharpcode">powershell -command <span class="str">&quot;&amp; 'MyScript.ps1' &quot;</span></pre>
</blockquote>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>Just put the above command into a .bat or .cmd file and schedule it like you would normally schedule a script to be run with Windows task scheduler.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/how-to-schedule-a-windows-powershell-script.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Step By Step &#8211; How to Enable Remote Desktop Connections on Server Core 2008</title>
		<link>http://jaredheinrichs.com/how-to-enable-remote-desktop-connections-on-server-core-2008.html</link>
		<comments>http://jaredheinrichs.com/how-to-enable-remote-desktop-connections-on-server-core-2008.html#comments</comments>
		<pubDate>Thu, 26 Mar 2009 15:06:01 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Windows 2008]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/?p=368</guid>
		<description><![CDATA[How to Enable Remote Desktop Connections on Server Core 2008 At the command prompt type: CD\Windows\System32 cscript scregedit.wsf /ar 0 .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: [...]]]></description>
			<content:encoded><![CDATA[<h3>How to Enable Remote Desktop Connections on Server Core 2008</h3>
<p>At the command prompt type:</p>
<blockquote><pre class="csharpcode">CD\Windows\System32
cscript scregedit.wsf /ar 0</pre>
</blockquote>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>If you typed it correctly it will display:</p>
<blockquote>
<pre class="csharpcode">Microsoft Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.

Registry has been updated..</pre>
</blockquote>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>Next type:</p>
<blockquote>
<pre class="csharpcode">cscript scregedit.wsf /ar /v</pre>
</blockquote>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>If you did things correctly the server will output:<br />
  </p>
<blockquote>
<pre class="csharpcode">Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.

System\CurrentControlSet\Control\Terminal Server fDenyTSConnections
View registry setting.
0</pre>
</blockquote>
<p>Next you will have to make sure that the firewall on the server has the propper ports opened to allow remote connections through. You do this by running another command.</p>
<blockquote>
<pre class="csharpcode">C:\Windows\System32&gt;netsh firewall set service type=remotedesktop mode=enable</pre>
</blockquote>
<p>If done correct it will output: ok</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/how-to-enable-remote-desktop-connections-on-server-core-2008.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hyper-V Virtualization Server version Upgrade available</title>
		<link>http://jaredheinrichs.com/hyper-v-virtualization-server-version-upgrade-available.html</link>
		<comments>http://jaredheinrichs.com/hyper-v-virtualization-server-version-upgrade-available.html#comments</comments>
		<pubDate>Mon, 23 Mar 2009 19:18:01 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Virtual Machine Manager]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/?p=366</guid>
		<description><![CDATA[Warning on Hyper-V hosts under SCVMM I have seen this documented in a couple of places now &#8211; but I also see a number of people still wondering why this is happening and how to stop it, so I thought I would post it here too.&#160; When you first add a Hyper-V host to SCVMM [...]]]></description>
			<content:encoded><![CDATA[<h3>Warning on Hyper-V hosts under SCVMM</h3>
<p>I have seen this documented in a couple of places now &#8211; but I also see a number of people still wondering why this is happening and how to stop it, so I thought I would post it here too.&#160; When you first add a Hyper-V host to SCVMM 2008 you may see a warning icon displayed with the message &quot;Needs Attention&quot; and &quot;Virtualization service version status is not up-to-date&quot;.&#160; To get rid of this alert there are three updates that need to be applied to the Hyper-V server:</p>
<ul>
<li><strong><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=F3AB3D4B-63C8-4424-A738-BADED34D24ED" target="_blank">KB950050</a>: </strong>This is the RTM update for Hyper-V</li>
<li><strong><a href=" http://www.microsoft.com/downloads/details.aspx?FamilyID=fd44b4e3-2dcc-4299-b345-bc09a9a37b60" target="_blank">KB956589</a>:</strong>&#160; This is an update to Hyper-V specifically for SCVMM compatibility</li>
<li><strong><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=9EC9DBB9-82AD-4D34-9267-76A0126A8F18" target="_blank">KB956774</a>: </strong>This is an update to the Background Intelligent Transfer Service (BITS) client in Windows Server 2008</li>
</ul>
<p>Once you have these three updates installed everything should come up green.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/hyper-v-virtualization-server-version-upgrade-available.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netsh commands in Windows 2008</title>
		<link>http://jaredheinrichs.com/355.html</link>
		<comments>http://jaredheinrichs.com/355.html#comments</comments>
		<pubDate>Thu, 19 Mar 2009 13:53:28 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Windows 2008]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/?p=355</guid>
		<description><![CDATA[IP and DNS Netsh can accomplish many tasks, and one of those is to set a system’s IP address and DNS servers. Like the IPv4 Properties GUI that you’ll find in the full Server 2008 installation, Netsh lets you choose to either assign a static IP address or get IP information from a DHCP server. [...]]]></description>
			<content:encoded><![CDATA[<h3>IP and DNS</h3>
<p>Netsh can accomplish many tasks, and one of those is to set a system’s IP address and DNS servers. Like the IPv4 Properties GUI that you’ll find in the full Server 2008 installation, Netsh lets you choose to either assign a static IP address or get IP information from a DHCP server. Using DHCP makes for a simpler command, so let’s start with that:</p>
<blockquote><pre class="csharpcode">netsh <span class="kwrd">interface</span> ipv4 set address name=<span class="str">&quot;Local Area Connection&quot;</span> source=DHCP</pre>
</blockquote>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>DHCP is the default setting, so it’s more likely that you’ll want to set a static IP address. To do so, assemble a Netsh command on one line as follows:<br />
  </p>
<blockquote>
<pre class="csharpcode">netsh <span class="kwrd">interface</span> ipv4 set address name=<span class="str">&quot;Local Area Connection&quot;</span>
source=<span class="kwrd">static</span> address=X.x.x.x mask=255.255.255.0 gateway=X.x.x.x</pre>
</blockquote>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>Notice that the gateway is now optional. Some older versions of Netsh complained if you left the default gateway’s IP address off a Netsh command.<br />
  <br />For example, to assign a static IP address of 192.168.2.2 on a /24 network with a default gateway address of 192.168.2.1, you’d type:</p>
<blockquote>
<pre class="csharpcode">netsh <span class="kwrd">int</span> ip set address “local area connection” <span class="kwrd">static</span> 192.168.2.2 255.255.255.0 192.168.2.1</pre>
</blockquote>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>Finally, you’ll want to specify one or more DNS servers’ IP addresses that your Server Core system can use for resolving names. Netsh can do that, but the syntax is a bit unexpected: You use <em>netsh int ip set dns</em> to set the preferred DNS server and <em>netsh int ip add dns</em> to specify your additional choices. The syntax for setting the first DNS server is easier than for setting the IP address:</p>
<blockquote>
<pre class="csharpcode">netsh <span class="kwrd">int</span> ip set dns “local area connection” <span class="kwrd">static</span> 10.50.50.4</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/355.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Usefull Windows 2008 Sever Core Commands</title>
		<link>http://jaredheinrichs.com/usefull-windows-2008-sever-core-commands.html</link>
		<comments>http://jaredheinrichs.com/usefull-windows-2008-sever-core-commands.html#comments</comments>
		<pubDate>Thu, 19 Mar 2009 13:29:54 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Windows 2008]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/?p=351</guid>
		<description><![CDATA[The most usefull Windows 2008 Server Core Commands Set static IP address netsh int ip set address “local area connection” static 192.168.2.2 255.255.255.0 192.168.2.1 Set NIC back to DHCP netsh int ip set address “local area connection” dhcp ** Note &#8211; do a ipconfig to find out what your nic is named. If you have [...]]]></description>
			<content:encoded><![CDATA[<h3>The most usefull Windows 2008 Server Core Commands</h3>
<h4>Set static IP address</h4>
<p>netsh int ip set address “local area connection” static 192.168.2.2 255.255.255.0 192.168.2.1</p>
<h4>Set NIC back to DHCP</h4>
<p>netsh int ip set address “local area connection” dhcp</p>
<p>** Note &#8211; do a ipconfig to find out what your nic is named. If you have multiple nics the nic might be named &quot;local area connection 2&quot; etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/usefull-windows-2008-sever-core-commands.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
