<?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 Winnipeg &#34;How to&#34; Blog on Software and Technology</description>
	<lastBuildDate>Sat, 19 May 2012 22:43:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Windows 2008 DNS issue resolving top level domains</title>
		<link>http://jaredheinrichs.com/windows-2008-dns-issue-resolving-top-level-domains.html</link>
		<comments>http://jaredheinrichs.com/windows-2008-dns-issue-resolving-top-level-domains.html#comments</comments>
		<pubDate>Sun, 31 Oct 2010 02:23:54 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/windows-2008-dns-issue-resolving-top-level-domains.html</guid>
		<description><![CDATA[I normally get servers to use Root DNS servers as I have never trusted Shaw’s or (especially) MTS’s DNS servers here in Winnipeg. We’ve been seeing more and more issue regarding DNS with Server 2008. It seemed like if you &#8230; <a href="http://jaredheinrichs.com/windows-2008-dns-issue-resolving-top-level-domains.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I normally get servers to use Root DNS servers as I have never trusted Shaw’s or (especially) MTS’s DNS servers here in Winnipeg.</p>
<p>We’ve been seeing more and more issue regarding DNS with Server 2008. It seemed like if you restarted the cache/ or restarted the DNS service everything would start working right away. I later found that if you pinged the domain you were having trouble with on the client machines directly from the DNS server, that too would correct the connection issues for that one domain.</p>
<p>I later figured I would use forwarders for all external DNS requests as the company wasn’t having any issue before I setup their SBS. I hadn’t heard back from them.</p>
<p>After some investigation I found the cause of the problem to be a bug in the DNS cache information, where the Time To Live (TTL) on certain top level domains is incompatible with the minimum TTL allowed by Windows Server 2008 DNS, the information would expire but not be removed from the cache, making the information unusable by the DNS server, but not make it fetch new information, because it was still in the cache.</p>
<p>Basically there is two fixes. Either use DNS forwarders or edit a registry setting.</p>
<ol>
<li>Start Registry Editor (regedit.exe).</li>
<li>Locate the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Parameters</li>
<li>On the Edit menu, click New, click DWORD (32-bit) Value, and then add the following value:</li>
<li>value: MaxCacheTTL</li>
<li>Data Type: DWORD</li>
<li>Data value: 0x2A300 (172800 seconds in decimal, or 2 days)</li>
<li>Click OK.</li>
<li>Quit Registry Editor.</li>
<li>Restart the DNS Server service.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/windows-2008-dns-issue-resolving-top-level-domains.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MMC error 18ea3f92-d6aa&#8211;41d9-a205-2023400c8fbb</title>
		<link>http://jaredheinrichs.com/mmc-error-18ea3f92-d6aa-41d9-a205-2023400c8fbb.html</link>
		<comments>http://jaredheinrichs.com/mmc-error-18ea3f92-d6aa-41d9-a205-2023400c8fbb.html#comments</comments>
		<pubDate>Sun, 31 Oct 2010 02:02:05 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/mmc-error-18ea3f92-d6aa-41d9-a205-2023400c8fbb.html</guid>
		<description><![CDATA[The other day about 1/2 way into the day I get a call from a client saying “we haven’t received any emails all day”. I automatically go to the exchange server to look at the services. I noticed most of &#8230; <a href="http://jaredheinrichs.com/mmc-error-18ea3f92-d6aa-41d9-a205-2023400c8fbb.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The other day about 1/2 way into the day I get a call from a client saying “we haven’t received any emails all day”. I automatically go to the exchange server to look at the services. I noticed most of the exchange services were running. IIS and two Exchange services weren’t running however. What made this a bit tricky was all the client computers said that exchange was up and running. They just couldn’t send or receive emails.</p>
<p>The next thing I did was to go look in the Error Event Log on the server. When I went to open the MMC for the server manager it came back with the error: 18ea3f92-d6aa&#8211;41d9-a205-2023400c8fbb. I tried a few other things that used MMC’s and almost all of them came back with that same error: 18ea3f92-d6aa&#8211;41d9-a205-2023400c8fbb.</p>
<p>After doing some searches most people gave up and redid their servers if they got this error. Some of the things they had suggested I tried. Still nothing.</p>
<p>I thought, I wonder if I remotely opened up the event viewer. I entered the server name.Voila! I could see all the errors.</p>
<p>After further inspections I found what seemed to be the error that started them all. It was Event 5173 – WAS. The error read:</p>
<ul>
<li><em>The Windows Process Activation Service encountered an error trying to read configuration data for config section &#8216;system.applicationHost/webLimits&#8217; from file &#8216;\\?\C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG\machine.config&#8217;, line number &#8217;146&#8242;.  The error message is: &#8216;The configuration section &#8216;system.serviceModel&#8217; cannot be read because it is missing a section declaration<br />
&#8216;.  The data field contains the error number.</em></li>
</ul>
<p>I went to that folder and opened the machine.config file. It’s an XML file that contains a bunch of configuration information about the machine for .net. When I saw that file I figured that there was going to be some crazy ASCII characters in it. Everything seemed to be fine.</p>
<p>According to this <a href="http://technet.microsoft.com/en-us/library/cc735135(WS.10).aspx" target="_blank">Microsoft KB</a> the server supposedly backs up files in another location. Don’t even bother. No dice.</p>
<p>I did notice in the C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG folder that there was a machine.config.default file. It was from several years ago and it was 2kb smaller then the current file which was 22kb. I renamed the current machine.config file  and called it machine.config.old and made a copy of the “default” file. I renamed it to machine.config.</p>
<p>I went into services and started World Wide Web service. It took a few seconds but it started! I then proceeded to go and start the rest of the services that should have auto started with the machine. They all started! I went and checked my Outlook client. The emails in the outbox had already left. Within about 20 minutes the mail was flowing again like it should have been.</p>
<p>Hopefully this helps anyone who had the same issues I had.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/mmc-error-18ea3f92-d6aa-41d9-a205-2023400c8fbb.html/feed</wfw:commentRss>
		<slash:comments>52</slash:comments>
		</item>
		<item>
		<title>How to Install Remote Web Workplace on Windows Server 2008</title>
		<link>http://jaredheinrichs.com/how-to-install-remote-web-workplace-on-windows-server-2008.html</link>
		<comments>http://jaredheinrichs.com/how-to-install-remote-web-workplace-on-windows-server-2008.html#comments</comments>
		<pubDate>Fri, 22 Oct 2010 13:53:40 +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-remote-web-workplace-on-windows-server-2008.html</guid>
		<description><![CDATA[I plan on trying this out later and make more notes if need be. Following the successful installation of System Center Essentials 2007 SP1 on Windows Server 2008 Standard x86, we typically install Remote Web Workplace on the server as &#8230; <a href="http://jaredheinrichs.com/how-to-install-remote-web-workplace-on-windows-server-2008.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I plan on trying this out later and make more notes if need be.</p>
<p>Following the successful installation of System Center Essentials 2007 SP1 on Windows Server 2008 Standard x86, we typically install Remote Web Workplace on the server as part of our System Center Remote Operations Manager deployment.</p>
<p>Just as with installing SCE on Windows Server 2008, there are a few tricks to installing RWW.</p>
<p><strong>Conventions</strong></p>
<p>In this post I use the terms &lt;server&gt; to indicate the NETBIOS name of the server on which we are installing RWW and &lt;domain&gt; to indicate the FQDN of the domain that the server belongs to.</p>
<p><strong>Install Remote Web Workplace</strong></p>
<ol>
<li>Log on to your server as an administrator&#160; </li>
<li>Run remoteww.msi from the Remote Operations Manager CD </li>
<li>Click Next at the welcome screen </li>
<li>Click Next after accepting the license agreement </li>
<li>Click Install </li>
<li>Click Finish after installation succeeds </li>
</ol>
<p><strong>Create an Application Pool to Support Remote Web Workplace</strong></p>
<ol>
<li>Start &gt; Run &gt; Inetmgr </li>
<li>Expand &lt;server&gt; and select Application Pools </li>
<li>Click Add Application Pool… in the right pane </li>
<li>Click OK after specifying the following settings:
<ol>
<li>Name: Remote AppPool </li>
<li>.NET Framework Version: .NET Framework v2.0.50727 </li>
<li>Managed pipeline mode: Classic </li>
<li>Start application pool immediately: Checked </li>
</ol>
</li>
<li>Click Advanced Settings… in the right pane </li>
<li>Change Idle Time-out (minutes) to 480 and click OK </li>
</ol>
<blockquote><p>It took me about a month to figure out why my Remote Web Workplace sessions were being dropped after 20 minutes.&#160; Setting the idle timeout for the application pool is critical when using Remote Web Workplace with IIS7 on Windows Server 2008.&#160; This value determines the maximum duration of a remote session.&#160; If left at the default of 20 minutes, your connection will be dropped after 20 minutes and you will receive an error <strong>VBScript: an internal error has occurred</strong>.</p>
</blockquote>
<p><strong>Secure Remote Web Workplace&#160; </strong></p>
<ol>
<li>Expand Sites &gt; Default Web Site in the left pane </li>
<li>Select Remote and click Basic Settings… in the right pane </li>
<li>Click the Select… button </li>
<li>Select Remote AppPool in the Application pool dropdown and click OK </li>
<li>Click OK </li>
<li>Double click Authentication in the middle pane </li>
<li>Select Anonymous Authentication and click Enable in the right pane </li>
<li>Highlight Default Web Site in the left pane and click Bindings… in the right pane </li>
<li>Click Add… </li>
<li>Select https… in the Type dropdown </li>
<li>Select &lt;server&gt;.&lt;domain&gt; in the SSL certification dropdown </li>
<li>Click OK </li>
<li>Click Close </li>
</ol>
<p><strong>Test Remote Web Workplace</strong></p>
<ol>
<li>Open https://&lt;server&gt;/remote in a web browser </li>
<li>Accept any certificate warnings that may be issued by your browser </li>
<li>Log on to Remote Web Workplace using your network logon </li>
<li>Verify that you can connect to a server or desktop on your network </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/how-to-install-remote-web-workplace-on-windows-server-2008.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<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 &#8230; <a href="http://jaredheinrichs.com/how-to-install-php-in-windows-2008-server-and-iis.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></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>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 &#8230; <a href="http://jaredheinrichs.com/windows-vista-sp2-windows-server-2008-sp2-cleanup-tool.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></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 &#8230; <a href="http://jaredheinrichs.com/malware-stats-on-different-versions-of-windows.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></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 The second command activates start /w slmgr.vbs -ato]]></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 &#8230; <a href="http://jaredheinrichs.com/how-to-schedule-a-windows-powershell-script.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></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 If you typed it correctly it will display: Microsoft Windows Script Host Version 5.7 Copyright (C) Microsoft Corporation. All rights &#8230; <a href="http://jaredheinrichs.com/how-to-enable-remote-desktop-connections-on-server-core-2008.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></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>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 &#8230; <a href="http://jaredheinrichs.com/355.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></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>
	</channel>
</rss>

