<?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>Sys Admin Tales &#187; Windows</title>
	<atom:link href="http://www.meltivore.com/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.meltivore.com</link>
	<description>The endless search for the Any key</description>
	<lastBuildDate>Sat, 04 Feb 2012 00:32:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Adding Windows XP Media Center to a Domain</title>
		<link>http://www.meltivore.com/2012/adding-windows-xp-media-center-to-a-domain/</link>
		<comments>http://www.meltivore.com/2012/adding-windows-xp-media-center-to-a-domain/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 19:53:26 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=859</guid>
		<description><![CDATA[During another domain migration yesterday, I came across a Windows XP Media Center PC in the workplace. This is certainly common with small companies, especially when they&#8217;re bootstrapping. You buy what you can afford and that usually means Home and Media editions of Windows. Those work great for a small network, but of course can&#8217;t be added to [...]]]></description>
			<content:encoded><![CDATA[<p>During another domain migration yesterday, I came across a <a title="Windows XP Media Center Edition" href="http://en.wikipedia.org/wiki/Windows_XP_Media_Center_Edition" target="_blank">Windows XP Media Center</a> PC in the workplace. This is certainly common with small companies, especially when they&#8217;re <a title="Bootstrapping Your Startup" href="http://www.entrepreneur.com/article/55776" target="_blank">bootstrapping</a>. You buy what you can afford and that usually means Home and Media editions of Windows. Those work great for a small network, but of course can&#8217;t be added to a domain, at least Home can&#8217;t. Luckily Windows XP Media Center can be hacked into joining a domain, because unlike XP Home Edition, <a title="Windows XP MCE - No Upgrades" href="http://support.microsoft.com/kb/292607" target="_blank">it won&#8217;t upgrade to XP Professional</a>.</p>
<p>So here&#8217;s the hack:</p>
<ol>
<li>If you haven&#8217;t already, <a title="How to install the Recovery Console " href="http://support.microsoft.com/kb/307654" target="_blank">install the Windows Recovery Console</a> (you&#8217;ll need your Windows XP disk for this)</li>
<li>Boot into the <strong>Microsoft Windows Recovery Console</strong> when prompted
<ol>
<li>Select the proper OS (usually <strong>1</strong>) and enter the <strong>Administrator</strong> password (if prompted)</li>
</ol>
</li>
<li>Copy the SYSTEM registry hive to C:\ <strong><span style="color: #800000;">copy c:\windows\system32\config\SYSTEM c:\</span></strong></li>
<li>Type <strong><span style="color: #800000;">exit</span></strong> and boot into your Windows XP Media Center system as an administrator</li>
<li>Open Registry Editor (<strong>Start</strong> &gt; <strong>Run&#8230;</strong> type <strong>regedit</strong>, click <strong>OK</strong>
<ol>
<li>Highlight <strong>HKEY_LOCAL_MACHINE</strong></li>
<li>Click <strong>File</strong> &gt; <strong>Load Hive&#8230;</strong></li>
<li>Browse and select <span style="color: #800000;">C:\SYSTEM</span></li>
<li>Enter your <strong><em>PC-name</em></strong> or anything really</li>
<li>Drill down to <strong>HKEY_LOCAL_MACHINE\<span style="color: #800000;"><em><span style="color: #000000;">PC-name</span></em></span>\WPA\MedCtrUpg</strong></li>
<li>Change the <strong>IsLegacyMCE</strong> key in the right pane to the number <strong>1</strong> (default is 0)</li>
<li>Highlight the <strong><em>PC-name</em></strong> under <strong>HKEY_LOCAL_MACHINE</strong> and click <strong>File</strong> &gt; <strong>Unload Hive&#8230;</strong>, click <strong>Yes</strong></li>
</ol>
</li>
<li>Reboot into the <strong>Microsoft Windows Recovery Console</strong> as in step 2
<ol>
<li>Copy the SYSTEM registry hive back <strong><span style="color: #800000;">copy c:\SYSTEM c:\winsows\system32\config\system</span></strong> enter <span style="color: #000000;"><strong>Y </strong></span>to overwrite</li>
<li>Rename the old SYSTEM hive on C:\ <span style="color: #800000;"><strong>ren c:\SYSTEM SYSTEM_old</strong></span></li>
<li>Type <strong><span style="color: #800000;">exit</span></strong> and reboot back into your Windows XP Media Center system as an administrator</li>
</ol>
</li>
<li>Now you should be able to add the system to the domain</li>
<li><em>Optional: delete c:\SYSTEM_old and </em><a title="Changing time for display of boot choices" href="http://vlaurie.com/computers2/Articles/bootini.htm" target="_blank"><em>change the boot selection time</em></a><em> from 30 seconds to 2 or 3 (now that the Recovery Console has been added)</em></li>
</ol>
<p>Thanks to Aaron Tiensivu, who&#8217;s <a title="Aaron Tiensivu's Blog Archive" href="http://blog.tiensivu.com/aaron/archives/29-Join-a-domain-with-Windows-Media-Center-Edition.html" target="_blank">article</a> helped me yesterday. I decided to make an abridged post here since I&#8217;m getting annoyed at having to find this hack every time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2012/adding-windows-xp-media-center-to-a-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Optimize Windows Settings for SSD</title>
		<link>http://www.meltivore.com/2012/optimize-windows-settings-for-ssd/</link>
		<comments>http://www.meltivore.com/2012/optimize-windows-settings-for-ssd/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 21:03:26 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=745</guid>
		<description><![CDATA[So you got a shiny new SSD for your Windows system. As you may or may not know, there is only a finite number of writes to each sector before it becomes unusable, eventually causing the disk to be unusable. So what can you go to make sure it lasts as long as it can? I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>So you got a shiny new SSD for your Windows system. As you may or may not know, there is only a <a title="SSD Endurance (and more)" href="http://www.storagesearch.com/ssd-jargon.html" target="_blank">finite number of writes</a> to each sector before it becomes unusable, eventually causing the disk to be unusable.</p>
<p>So what can you go to make sure it lasts as long as it can? I&#8217;ve gathered a few tips from around the web to help.</p>
<ul>
<li><a title="Stop paging!" href="http://techgage.com/article/disabling_windows_pagefile_hibernation_to_reclaim_ssd_space/" target="_blank">Go without a pagefile</a> (if you have at least 2GB of RAM)</li>
<li><a title="Turn off auto-defrag" href="http://malektips.com/vista-disable-automatic-defragmenter.html" target="_blank">Disable automatic disk defragmentation</a> (only Vista and Win 7)</li>
<li><a title="Same page as Going w/o a Pagefile" href="http://techgage.com/article/disabling_windows_pagefile_hibernation_to_reclaim_ssd_space/" target="_blank">Turn off hibernation</a></li>
<li><a title="Turning off prefetching (all Win versions)" href="http://www.tomshardware.com/forum/19542-45-turn-prefetch" target="_blank">Put a halt to prefetching</a></li>
<li>If this is a system with two drives move the location of your <a title="Move your Temp directory (all Windows versions)" href="http://www.ghacks.net/2007/07/11/speed-up-windows-by-moving-the-temp-folder/" target="_blank">Temp directory path</a> (and<a title="Move the Pagefile (all Windows versions)" href="http://windowsdevcenter.com/pub/a/windows/2004/04/27/pagefile.html" target="_blank"> move the pagefile</a> rather than disabling it as above).</li>
</ul>
<p>Versions after Windows XP actually do make some changes to optimize, but it doesn&#8217;t hurt to check. And have fun with your new found (or bought) speed!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2012/optimize-windows-settings-for-ssd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Activate Windows and Office at the Command Line</title>
		<link>http://www.meltivore.com/2012/activate-windows-and-office-at-the-command-line/</link>
		<comments>http://www.meltivore.com/2012/activate-windows-and-office-at-the-command-line/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 01:31:15 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Office]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=815</guid>
		<description><![CDATA[I was recently looking for a way to activate Windows 7 and Office 2010 at a command prompt; this is what I found&#8230; Since the release of Vista, you can use the command line utility slmgr for Windows activation when using a MAK (or Multiple Activation Key). Windows Activation Open a command window (as administrator) And run&#8230; slmgr -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx slmgr [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently looking for a way to activate Windows 7 and Office 2010 at a command prompt; this is what I found&#8230;</p>
<p>Since the release of Vista, you can use the command line utility <strong>slmgr</strong> for Windows activation when using a MAK (or <a title="MAK" href="http://en.wikipedia.org/wiki/Multiple_activation_key" target="_blank">Multiple Activation Key</a>).</p>
<p><span style="color: #800000;"><strong>Windows Activation</strong></span></p>
<ol>
<li>Open a command window (<a title="Run As Administrator" href="http://en.wikipedia.org/wiki/Run_as_administrator" target="_blank">as administrator</a>)</li>
<li>And run&#8230;</li>
</ol>
<p><span style="font-weight: bold;">slmgr -ipk </span><span style="color: #800000;"><strong>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</strong></span><br />
<span style="font-weight: bold;">slmgr -ato</span></p>
<p><span style="color: #800000;"><strong>Office Activation</strong></span></p>
<ol>
<li><span style="color: #000000;">Open a command window (<a title="Run As Administrator" href="http://en.wikipedia.org/wiki/Run_as_administrator" target="_blank">as administrator</a>)</span></li>
<li><span style="color: #000000;">From </span><strong><em>C:\Program Files\Microsoft Office\Office14</em> </strong>run&#8230;</li>
</ol>
<p><strong>cscript ospp.vbs /inpkey:<span style="color: #800000;">xxxxx-xxxxx-xxxxx-xxxxx-xxxxx<br />
</span></strong><span style="font-weight: bold;">cscript ospp.vbs /act</span></p>
<p>Who needs all that pointing and clicking anyway?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2012/activate-windows-and-office-at-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(Not so) New Folder Locations</title>
		<link>http://www.meltivore.com/2012/new-folder-locations/</link>
		<comments>http://www.meltivore.com/2012/new-folder-locations/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 22:01:31 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Outlook]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=795</guid>
		<description><![CDATA[Since the advent of Windows Vista, the usual folder locations don&#8217;t always apply. Take the Quick Launch or All Users Desktop, where did they go? Here&#8217;s a short list of what&#8217;s been moved around (and yes, I&#8217;m writing this as much for me as anyone else)&#8230; All Users: All Users Desktop, Favorites, Documents, Downloads, Music, [...]]]></description>
			<content:encoded><![CDATA[<p>Since the advent of Windows Vista, the usual folder locations don&#8217;t always apply. Take the Quick Launch or All Users Desktop, where did they go?</p>
<p>Here&#8217;s a short list of what&#8217;s been moved around (and yes, I&#8217;m writing this as much for me as anyone else)&#8230;</p>
<p><strong>All Users:</strong></p>
<ul>
<li><strong>All Users</strong> <em>Desktop, Favorites, Documents, Downloads, Music, Pictures &amp; Videos</em> &#8211; C:\Users\Public</li>
<li><strong>All Users Start Menu</strong> &#8211; C:\ProgramData\Microsoft\Windows\Start Menu</li>
<li><strong>Documents and Settings</strong> (just for completeness sake): C:\Users</li>
<li><strong>Templates</strong> &#8211; C:\ProgramData\Microsoft\Windows\Templates</li>
</ul>
<p><strong>User Specific:</strong></p>
<ul>
<li><strong>Cookies</strong> &#8211; C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Cookies</li>
<li><strong>Default Outlook OST/PST folder</strong> &#8211; C:\Users\%username%\AppData\Local\Microsoft\Outlook</li>
<li><strong>Quick Launch</strong> &#8211; C:\Users\%username%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch</li>
<li><strong>Send To</strong> &#8211; C:\Users\%username%\AppData\Roaming\Microsoft\Windows\SendTo</li>
<li><strong>Start Menu </strong>- C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu</li>
<li><strong>Temp</strong> &#8211; C:\Users\%username%\AppData\Local\Temp</li>
<li><strong>Temporary Internet Files</strong> &#8211; C:\Users\%username%\AppData\Local\Microsoft\Windows\Temporary Internet Files</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2012/new-folder-locations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Symantec AntiVirus Runtime Error!</title>
		<link>http://www.meltivore.com/2011/symantec-antivirus-runtime-error/</link>
		<comments>http://www.meltivore.com/2011/symantec-antivirus-runtime-error/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 06:34:16 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=650</guid>
		<description><![CDATA[Earlier this year, a customer kept getting this error when rebooting: Microsoft Visual C++ Runtime Library Runtime Error! Program: C\Program Files\Symantec AntiVirus\Rtvscan.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application&#8217;s support team for more information. Luckily the fix isn&#8217;t too painful&#8230; Go to a command prompt and run wbemtest [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">Earlier this year, a customer kept getting this error when rebooting:</div>
<div><em><span style="color: #ff0000;">Microsoft Visual C++ Runtime Library Runtime Error!</span></em></div>
<div id="_mcePaste"><em><span style="color: #ff0000;">Program: C\Program Files\Symantec AntiVirus\Rtvscan.exe</span></em></div>
<div id="_mcePaste"><em><span style="color: #ff0000;">This application has requested the Runtime to terminate it in an unusual way.</span></em></div>
<div id="_mcePaste"><em><span style="color: #ff0000;">Please contact the application&#8217;s support team for more information.</span></em></p>
<p>Luckily the fix isn&#8217;t too painful&#8230;</p>
</div>
<p>Go to a command prompt and run <strong>wbemtest<br />
</strong>• Click <strong>Connect</strong> (upper-right)<br />
• Replace <strong>root\default </strong>(or <em>root\cimv2</em>) with <strong>root\securitycenter</strong> and click <strong>Connect</strong>.<br />
• You will be returned to the original screen, now click the <strong>Enum Classes&#8230;</strong> button, leave the <em>Superclass Info</em> box empty and click <strong>OK</strong>.<br />
• In the <strong>Query Results</strong> screen, click <strong>AntivirusProduct</strong> and select <strong>Delete</strong>.<br />
• <strong>Close</strong> the Query windows and <strong>Exit</strong> wbemtest.<br />
• Now either <em>repair </em>or  <em>re-install </em>Symantec Antivirus Corporate Edition.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2011/symantec-antivirus-runtime-error/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Time Skew and Exchange Services</title>
		<link>http://www.meltivore.com/2011/time-skew-and-exchange-services/</link>
		<comments>http://www.meltivore.com/2011/time-skew-and-exchange-services/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 22:51:04 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=631</guid>
		<description><![CDATA[On a recent Sunday night, I was home watching The Walking Dead, a colleague called to say that our core switch was down in our colo. As he was on vacation, I raced over there, preformed some troubleshooting, finally rebooting our huge Cisco 4510 to bring everything back online, that is except Exchange. The Exchange cluster [...]]]></description>
			<content:encoded><![CDATA[<p>On a recent Sunday night, I was home watching <a title="The Walking Dead" href="http://www.amctv.com/shows/the-walking-dead" target="_blank">The Walking Dead</a>, a colleague called to say that our core switch was down in our colo. As he was on vacation, I raced over there, preformed some troubleshooting, finally rebooting our huge Cisco 4510 to bring everything back online, that is except Exchange.</p>
<p>The Exchange cluster was using <a title="iSCSI" href="http://en.wikipedia.org/wiki/ISCSI" target="_blank">iSCSI</a>, thus was offline during the outage and now would not mount the databases; both the <a title="Exchange Services Explained" href="http://www.msexchange.org/articles-tutorials/exchange-server-2007/planning-architecture/how-exchange-server-2007-core-services-work-together.html" target="_blank">System Attendant and Information Store services</a> would not start. After trying a reboot and examining the <a title="Failover Clustering" href="http://www.microsoft.com/en-us/server-cloud/windows-server/failover-clustering-network-load-balancing.aspx" target="_blank">Failover Clustering</a>, these error messages were found in the Event Log:</p>
<p><em><span style="color: #993300;">System attendant &#8211; EventID: 1005 Unexpected error The clocks on the client and server machines are skewed. ID no: 80090324 Microsoft Exchange System Attendant occurred.</span></em></p>
<p><em><span style="color: #993300;">MSExchangeIS &#8211; EventID: 5003 Unable to initialize the Microsoft Exchange Information Store service because the clocks on the client and on the server machine are skewed. This may be caused by a time change either in the client or the server machine, and may require a reboot of that machine. Other than that, verify that your domain is properly configured and is currently online.</span></em></p>
<p>I didn&#8217;t even consider the fact that the Exchange server&#8217;s system time didn&#8217;t match the domain controllers&#8217;. Both nodes were a full six minutes behind! Once the clocks were synced with the DCs, both services started, databases mounted and we were back in business.</p>
<p>Due to the fact we&#8217;re running a hybrid UNIX/Windows DNS network, oddities like this seem to creep up. Once I have this sorted, there will likely be a blog post about that as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2011/time-skew-and-exchange-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 3-Tier Certificate Authority</title>
		<link>http://www.meltivore.com/2011/windows-3-tier-certificate-authority/</link>
		<comments>http://www.meltivore.com/2011/windows-3-tier-certificate-authority/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 22:35:59 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Templates]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=617</guid>
		<description><![CDATA[Many months ago I was tasked with implementing a 3-tier Certificate Authority for a large Windows domain environment. Unfortunately there is surprisingly little information for the nitty-gritty questions one may have. The Microsoft Press book Windows Server® 2008 PKI and Certificate Security (this book seems to have been discontinued, thus outrageous pricing) proved quite useful, but [...]]]></description>
			<content:encoded><![CDATA[<p>Many months ago I was tasked with implementing a 3-tier <a title="What's a CA?" href="http://security.fnal.gov/pki/what_is_cert.html" target="_blank">Certificate Authority</a> for a large Windows domain environment. Unfortunately there is surprisingly little information for the nitty-gritty questions one may have. The Microsoft Press book <a title="Windows Server 2008 PKI and CA" href="http://www.bestwebbuys.com/Windows-Server-2008-PKI-and-Certificate-Security-ISBN-9780735625167" target="_blank">Windows Server® 2008 PKI and Certificate Security</a> (this book seems to have been discontinued, thus outrageous pricing) proved quite useful, but at times lacking. The <a title="Windows 2008 PKI / Certificate Authority (AD CS) basics" href="http://www.corelan.be/index.php/2008/07/14/windows-2008-pki-certificate-authority-ad-cs-basics/" target="_blank">Corelan Team site</a> added more insight and was quite useful as well.</p>
<p>Here is the <a title="Windows Server 2008 CA Setup and Config" href="http://www.meltivore.com/wp-content/uploads/2011/11/3-Teir_CA_Setup.pdf" target="_blank">document</a> I created detailing our setup and configuration process (using generic server names and <a title="The mighty Contoso Corporation" href="http://en.wikipedia.org/wiki/Contoso" target="_blank">Contoso</a> as the company). Please review the entire document first, should use it for reference. <em><span style="color: #ff0000;">Please note: this document is unsupported and is meant only as a guide.</span></em></p>
<p><em>Should you post questions here, I will do my best to answer them or help point you in the correct direction. This project took place almost a year ago and I&#8217;m no longer on site to examine the configuration, so please understand if I may not be able to shed light into the darkest corners of CA voodoo.</em></p>
<p>Ps. Thanks to SL @ TM for his time and trust with this project.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2011/windows-3-tier-certificate-authority/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PowerShell: Execution of scripts is disabled</title>
		<link>http://www.meltivore.com/2011/powershell-execution-of-scripts-is-disabled/</link>
		<comments>http://www.meltivore.com/2011/powershell-execution-of-scripts-is-disabled/#comments</comments>
		<pubDate>Sat, 12 Nov 2011 22:53:20 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=606</guid>
		<description><![CDATA[This information is available on many sites, but I&#8217;m tired of searching for it every few months when I switch laptops/tablets. Whenever you try to run an unsigned PowerShell script, you get the following message: &#8220;File C:\Custom\Test.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see &#8220;get-help about_signing&#8221; for [...]]]></description>
			<content:encoded><![CDATA[<p>This information is available on many sites, but I&#8217;m tired of searching for it every few months when I switch laptops/tablets.</p>
<p>Whenever you try to run an unsigned PowerShell script, you get the following message: <em><span style="color: #993300;">&#8220;File <span style="color: #000000;">C:\Custom\Test.ps1</span> cannot be loaded because the execution of scripts is disabled on this system. Please see &#8220;get-help about_signing&#8221; for more details.&#8221;</span></em></p>
<p><span style="color: #000000;">I certainly believe Microsoft is doing the right thing with keeping PowerShell script execution secure with the proliferation of malware and 99%+ of Windows users don&#8217;t even know about PowerShell.</span></p>
<p><span style="color: #000000;">Changing the PowerShell security setting is a simple affair. Open PowerShell as an <em>Administrator</em> and run the following: </span><span style="color: #000000;"><strong>Set-ExecutionPolicy</strong></span></p>
<p><span style="color: #000000;">Your choices are:<br />
<strong>Restricted</strong> (default) &#8211; Which stops all unsigned scripts from running.<br />
<strong>AllSigned</strong> &#8211; This allows only signed scripts to run.<br />
<strong>RemoteSigned</strong> (<em>my recommendation</em>) &#8211; Allows local scripts to run, but all downloaded or remotely executed must be signed.<br />
<strong>Unrestricted</strong> (not recommended) &#8211; This allows all scripts to execute, whether from an e-mail, website or instant message.</span></p>
<p><span style="color: #000000;">Syntax: <strong><span style="color: #ff0000;">Set-ExecutionPolicy RemoteSigned</span></strong></span><span style="color: #000000;"><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2011/powershell-execution-of-scripts-is-disabled/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AD Recycle Bin Tool</title>
		<link>http://www.meltivore.com/2011/ad-recycle-bin-tool/</link>
		<comments>http://www.meltivore.com/2011/ad-recycle-bin-tool/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 22:53:20 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=569</guid>
		<description><![CDATA[Last year Windows IT Pro magazine highlighted ADRecycleBin from Overall Solutions. It&#8217;s an excellent free utility to bring back deleted items (or reanimate for earlier Active Directory installations than 2008 R2). It&#8217;s a very nice alternative to the built-in feature in Windows Server 2008 R2 and is a drastic improvement over item recovery in earlier versions of [...]]]></description>
			<content:encoded><![CDATA[<p>Last year <a title="Windows IT Pro Magazine" href="http://www.windowsitpro.com/" target="_blank">Windows IT Pro</a> magazine highlighted <a title="AD Recycle Bin" href="http://www.overall.ca/index.php?option=com_content&amp;view=article&amp;id=40&amp;Itemid=66" target="_blank">ADRecycleBin</a> from <a title="Overall Solutions" href="http://www.overall.ca" target="_blank">Overall Solutions</a>. It&#8217;s an excellent <em style="font-weight: bold;">free </em>utility to bring back deleted items (or reanimate for earlier Active Directory installations than 2008 R2).</p>
<p>It&#8217;s a very nice alternative to the built-in feature in <a title="Windows Server 2008 R2 AD Recycle Bin" href="http://technet.microsoft.com/en-us/library/dd392261(WS.10).aspx" target="_blank">Windows Server 2008 R2</a> and is a drastic improvement over <a title="How to restore deleted user accounts" href="http://support.microsoft.com/?kbid=840001" target="_blank">item recovery</a> in earlier versions of Active Directory with a great GUI interface.</p>
<p>They have a couple of other<a title="More Cool Stuff!" href="http://www.overall.ca/index.php?option=com_content&amp;view=article&amp;id=33&amp;Itemid=15" target="_blank"> interesting products</a> in <a title="Maven" href="http://www.overall.ca/index.php?option=com_content&amp;view=article&amp;id=13&amp;Itemid=15" target="_blank">Maven</a>, <a title="ResetPass" href="http://www.overall.ca/index.php?option=com_content&amp;view=article&amp;id=26&amp;Itemid=64" target="_blank">ResetPass</a> and <a title="Action Engine" href="http://www.overall.ca/index.php?option=com_content&amp;view=article&amp;id=32&amp;Itemid=64" target="_blank">Action Engine</a>, not everything is free, but it&#8217;s close.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2011/ad-recycle-bin-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sysinternals</title>
		<link>http://www.meltivore.com/2011/sysinternals/</link>
		<comments>http://www.meltivore.com/2011/sysinternals/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 23:24:42 +0000</pubDate>
		<dc:creator>Tom Thrush</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.meltivore.com/?p=564</guid>
		<description><![CDATA[If you&#8217;re in IT working with Windows and haven&#8217;t heard of Sysinternals, you may want to check to see if you&#8217;ve been living under a rock. Sysinternals started as the community or free arm of Winternals, the money making portion of the company. Microsoft purchased Winternals back in 2006 for its IP and brain-trust. Mark [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re in IT working with Windows and haven&#8217;t heard of <a title="Windows Sysinternals" href="http://technet.microsoft.com/en-us/sysinternals/default.aspx" target="_blank">Sysinternals</a>, you may want to check to see if you&#8217;ve been living under a rock.</p>
<p>Sysinternals started as the community or free arm of <a title="Winternals" href="http://en.wikipedia.org/wiki/Winternals" target="_blank">Winternals</a>, the money making portion of the company. Microsoft purchased Winternals back in 2006 for its IP and brain-trust. <a title="Mark's Bio" href="http://blogs.technet.com/b/markrussinovich/about.aspx" target="_blank">Mark Russinovich</a> has been the most active of the original staff, appearing at numerous conferences, blogging and evangelising the Microsoft operating systems.</p>
<p>The Sysinternals site has numerous, extremely useful troubleshooting and informational utilities; so much so I could devote this blog to their tools for the next year or three. Since access to the site is free, as are the downloads, help files and instructions, I&#8217;ll just highlight a few things here&#8230;</p>
<p><strong><a title="Utilities Index" href="http://technet.microsoft.com/en-us/sysinternals/bb545027" target="_blank">Utilities</a>:<br />
</strong><em><span style="color: #b22222;">Autoruns</span></em> &#8211; Displays list of applications, drivers loaded and much more, that start at boot time. Includes locations of registry and file locations. Great for hunting malware.<br />
<em><span style="color: #b22222;"> Process Explorer</span></em> &#8211; Displays all running processes and subprocesses, plus open handles, threads, paths, a veritable cornucopia of information. Task manager wishes it was this great.<br />
<em><span style="color: #b22222;"> Process Monitor</span></em> &#8211; Allows you to monitor file system, registry, process, thread and DLL activity in real-time.<br />
<em><span style="color: #b22222;">TCPView</span></em> &#8211; Get detailed listings of all TCP and UDP endpoints on your system, including source and destination.</p>
<p>The <a title="Learning Resources" href="http://technet.microsoft.com/en-us/sysinternals/bb469930" target="_blank">Learning Resources</a> are also impressive, with great videos and articles .</p>
<p>And as I mentioned, this is all <strong><em>free</em></strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.meltivore.com/2011/sysinternals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

