<?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>Blog &#124; jim80.net &#187; Windows</title>
	<atom:link href="http://blog.jim80.net/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jim80.net</link>
	<description>Security, Systems, and Storage</description>
	<lastBuildDate>Fri, 30 Apr 2010 19:46:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Setting up Hyper-V with NAT</title>
		<link>http://blog.jim80.net/2010/01/19/setting-up-hyper-v-with-nat/</link>
		<comments>http://blog.jim80.net/2010/01/19/setting-up-hyper-v-with-nat/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 05:59:22 +0000</pubDate>
		<dc:creator>jim</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[NAT]]></category>
		<category><![CDATA[RRAS]]></category>
		<category><![CDATA[Windows 2008]]></category>

		<guid isPermaLink="false">http://blog.jim80.net/?p=344</guid>
		<description><![CDATA[This post was originally posted by me at http://forums.serverbeach.com/showthread.php?t=6411. I&#8217;ve edited out the ServerBeach specific stuff and will post pictures&#8230;. soonish. The following link has some great pictures not included here. http://sqlblog.com/blogs/john_paul_c&#8230;h-hyper-v.aspx I&#8217;ll add some nice little pictures here once I get some screenshots together. CONFIGURE HYPERV 1. Configure an &#8220;Internal&#8221; HyperV network 2. Set each [...]]]></description>
			<content:encoded><![CDATA[<p><em>This post was originally posted by me at </em><a href="http://forums.serverbeach.com/showthread.php?t=6411"><em>http://forums.serverbeach.com/showthread.php?t=6411</em></a><em>. </em></p>
<p><em>I&#8217;ve edited out the ServerBeach specific stuff and will post pictures&#8230;. soonish.</em></p>
<p>The following link has some great pictures not included here. <a href="http://sqlblog.com/blogs/john_paul_cook/archive/2008/03/23/using-wireless-with-hyper-v.aspx" target="_blank">http://sqlblog.com/blogs/john_paul_c&#8230;h-hyper-v.aspx</a></p>
<p>I&#8217;ll add some nice little pictures here once I get some screenshots together.</p>
<p>CONFIGURE HYPERV</p>
<p>1. Configure an &#8220;Internal&#8221; HyperV network<br />
2. Set each Virtual Machine to use the Internal network and assign them and your HyperV host on the correct subnet (in this example 10.0.0.1 for the host and 10.0.0.10 for the VM).</p>
<p>ENABLE ROUTING AND REMOTE ACCESS ON THE HOST MACHINE</p>
<p>1. Click -&gt; Start -&gt; Administrative Tools -&gt; Routing and Remote Access<br />
2. Right Click on Server#### (local) -&gt; Configure &amp; Enable Routing &amp; Remote Access<br />
3. Click -&gt; Next on Welcome Window<br />
4. Select Custom Configuration Click -&gt; Next<br />
5. Select NAT Click -&gt; Next<br />
6. Select your public interface<br />
7. Select your Internal HyperV interface<br />
8. Select &#8220;I will set up name and address services later&#8221; Click -&gt; Next<br />
9. Click -&gt; Finish</p>
<p>CONFIGURE ROUTING AND REMOTE ACCESS ON THE HOST MACHINE</p>
<p>1. Routing and Remote Access should be running on the server now<br />
2. Expand out the Server<br />
3. Expand out IP Routing<br />
4. Select NAT/Basic Firewall<br />
5. Right-click your public interface. Select properties<br />
7. Network Address Translation Properties Window will open<br />
8. Select Radio Button for &#8220;Public Interface Connected to the Internet&#8221;<br />
9. Select the check box for both &#8220;Enable NAT on this interface&#8221;<br />
10. Click on the Address Pool Tab<br />
11. Click the Add button and add your secondary IP addresses. The &#8220;Start Address&#8221; and &#8220;End Address&#8221; will be the same in most cases.</p>
<p>*NOTE* You do not want the secondary IP address configured in the TCP/IP Properties of the Host machine.</p>
<p>12. Click the Reservations button and enter your static IP mappings. That is, specify that you want traffic on your secondary IP mapped to your VM&#8217;s internal IP.<br />
13. In services.msc, make sure that RRAS is set to start automatically and Windows ICS is disabled.</p>
<p>NOTES #1</p>
<p>When configuring and experimenting with the RRAS firewall, create a batch file to stop the service in case you forget to allow RDC or otherwise render the system inaccessible.</p>
<p>Code:</p>
<p>net stop &#8220;remoteaccess&#8221;</p>
<p>Then add the batch file to the scheduler and have it run some time after you apply your changes.</p>
<p>NOTE #2</p>
<p>RRAS is really finicky about the interfaces installed on the server. If an interface is changed in any significant way, it&#8217;ll have to be disabled and reconfigured.</p>
<p>Hyper-V is also similarly finicky about its virtual networks. I can&#8217;t count the number of times I had to remove and recreate networks. Thankfully, this was rather painless with only one VM to propagate changes to.</p>
<p>If you should encounter any difficulties with adding your additional VMs to the server, try resetting HyperV networking, individual VM network binding (in the VM&#8217;s settings), confirming physical host interfaces, and then reconfiguring RRAS in this order.</p>
<p>NOTE #3</p>
<p>Those who have had HyperV configuration problems solved it by disabling <strong>TCP/Offload Engine</strong>. Symptoms include, RRAS just not working, or working sporadically. If in doubt, disable TCP/Offload Engine</p>
<p><a href="http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/1c9be3b4-fa47-4d11-8458-d22aca6154ee" target="_blank">http://social.technet.microsoft.com/&#8230;8-d22aca6154ee</a><br />
<a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;904946" target="_blank">http://support.microsoft.com/default&#8230;b;EN-US;904946</a></p>
<p>So if this applies to you, run on the host and on any 2008 VMs:</p>
<p>$ netsh int ip set global taskoffload=disabled</p>
<p>and add the following registry key to any 2003 VMs:</p>
<p>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters\DisableTaskOffload</p>
<p>This is a DWORD entry that should have a value of 1.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jim80.net/2010/01/19/setting-up-hyper-v-with-nat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Preview: Handy Sysinternals Utilities</title>
		<link>http://blog.jim80.net/2009/08/04/handy-sysinternals-utilities/</link>
		<comments>http://blog.jim80.net/2009/08/04/handy-sysinternals-utilities/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 20:22:40 +0000</pubDate>
		<dc:creator>jim</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[file lock]]></category>
		<category><![CDATA[locking]]></category>
		<category><![CDATA[process explorer]]></category>
		<category><![CDATA[process monitor]]></category>
		<category><![CDATA[sysinternals]]></category>
		<category><![CDATA[Windows 2003]]></category>

		<guid isPermaLink="false">http://blog.jim80.net/?p=276</guid>
		<description><![CDATA[This article was first published as &#8220;Locked Files in Windows&#8221; on 22 Jul 2009. Note to self: Sysinternals is Microsoft&#8217;s saving grace: Process Explorer: A more advanced taskmgr, if you will. It&#8217;s most awesome feature is it&#8217;s ability to search for processes holding a certain handle, allowing you to resolve locked file issues: Home page: [...]]]></description>
			<content:encoded><![CDATA[<p>This article was first published as &#8220;Locked Files in Windows&#8221; on 22 Jul 2009. </p>
<p>Note to self: Sysinternals is Microsoft&#8217;s saving grace: </p>
<p><strong>Process Explorer</strong>: A more advanced taskmgr, if you will. It&#8217;s most awesome feature is it&#8217;s ability to search for processes holding a certain handle, allowing you to resolve locked file issues: </p>
<p>Home page: <a href="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx">http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx</a></p>
<p>Or just run it from <a href="http://live.sysinternals.com/procexp.exe">http://live.sysinternals.com/procexp.exe</a></p>
<p><strong>Process Monitor</strong>: Basically, Regmon + Filemon: </p>
<p>Home page: <a href="http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx">http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx</a></p>
<p>Or just run it from <a href="http://live.sysinternals.com/Procmon.exe">http://live.sysinternals.com/Procmon.exe</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jim80.net/2009/08/04/handy-sysinternals-utilities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make a Fat32 Partition in Linux</title>
		<link>http://blog.jim80.net/2009/07/29/make-a-fat32-partition-in-linux/</link>
		<comments>http://blog.jim80.net/2009/07/29/make-a-fat32-partition-in-linux/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 03:19:55 +0000</pubDate>
		<dc:creator>jim</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Fat32]]></category>
		<category><![CDATA[fdisk]]></category>
		<category><![CDATA[mkdosfs]]></category>
		<category><![CDATA[NTFS-3G]]></category>
		<category><![CDATA[Windows 2003]]></category>

		<guid isPermaLink="false">http://blog.jim80.net/?p=290</guid>
		<description><![CDATA[This is handy for transferring files between Windows and Linux, as many distro&#8217;s don&#8217;t have NTFS RW support built in. This is, of course if you do not have access to the NTFS-3G driver, which does allow for RW mounts. Overview: fdisk w/ a W95 partition table mkdosfs If you need the step by step, [...]]]></description>
			<content:encoded><![CDATA[<p>This is handy for transferring files between Windows and Linux, as many distro&#8217;s don&#8217;t have NTFS RW support built in. This is, of course if you do not have access to the NTFS-3G driver, which does allow for RW mounts. </p>
<p>Overview: fdisk w/ a W95 partition table<br />
mkdosfs</p>
<p>If you need the step by step, it&#8217;s below:</p>
<p><strong>fdisk /dev/sd</strong>(whatever drive you want to reparition, &#8216;b&#8217; in this case), then follow along: </p>
<p>The number of cylinders for this disk is set to 20023.<br />
There is nothing wrong with that, but this is larger than 1024,<br />
and could in certain setups cause problems with:<br />
1) software that runs at boot time (e.g., old versions of LILO)<br />
2) booting and partitioning software from other OSs<br />
   (e.g., DOS FDISK, OS/2 FDISK)</p>
<p>Command (m for help): <strong>m</strong><br />
Command action<br />
   a   toggle a bootable flag<br />
   b   edit bsd disklabel<br />
   c   toggle the dos compatibility flag<br />
   d   delete a partition<br />
   l   list known partition types<br />
   m   print this menu<br />
   n   add a new partition<br />
   o   create a new empty DOS partition table<br />
   p   print the partition table<br />
   q   quit without saving changes<br />
   s   create a new empty Sun disklabel<br />
   t   change a partition&#8217;s system id<br />
   u   change display/entry units<br />
   v   verify the partition table<br />
   w   write table to disk and exit<br />
   x   extra functionality (experts only)</p>
<p>Command (m for help): <strong>n</strong></p>
<p>Command action<br />
   e   extended<br />
   p   primary partition (1-4)<br />
<strong>p</strong><br />
Partition number (1-4): <strong>1</strong><br />
First cylinder (1-20023, default 1):<br />
Using default value 1<br />
Last cylinder or +size or +sizeM or +sizeK (1-20023, default 20023):<br />
Using default value 20023</p>
<p>Command (m for help): <strong>t</strong><br />
Selected partition 1<br />
Hex code (type L to list codes): <strong>c</strong><br />
Changed system type of partition 1 to c (W95 FAT32 (LBA))</p>
<p>Command (m for help): <strong>p</strong></p>
<p>Disk /dev/sdb: 164.6 GB, 164696555520 bytes<br />
255 heads, 63 sectors/track, 20023 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
Disk identifier: 0x000f0136</p>
<p>   Device Boot      Start         End      Blocks   Id  System<br />
/dev/sdb1               1       20023   160834716    c  W95 FAT32 (LBA)</p>
<p>Command (m for help): <strong>w</strong><br />
The partition table has been altered!</p>
<p>Calling ioctl() to re-read partition table.</p>
<p>WARNING: If you have created or modified any DOS 6.x<br />
partitions, please see the fdisk manual page for additional<br />
information.<br />
Syncing disks.</p>
<p>root@sbrescue:/# <strong>mkdosfs /dev/sdb1</strong><br />
mkdosfs 3.0.1 (23 Nov 2008)<br />
root@sbrescue:/# <strong>mount /dev/sdb1 /mnt</strong><br />
root@sbrescue:/# <strong>cd /mnt</strong><br />
root@sbrescue:/mnt# <strong>touch asdf</strong><br />
root@sbrescue:/mnt# <strong>ls</strong><br />
asdf<br />
root@sbrescue:/mnt# </p>
<p>All done! =D</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jim80.net/2009/07/29/make-a-fat32-partition-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hostnames Greater than 15 Characters Effectively Disables MSFTPSvc.</title>
		<link>http://blog.jim80.net/2009/07/22/hostnames-greater-than-15-characters-effectively-disables-msftpsvc/</link>
		<comments>http://blog.jim80.net/2009/07/22/hostnames-greater-than-15-characters-effectively-disables-msftpsvc/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 16:16:57 +0000</pubDate>
		<dc:creator>jim</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[FAIL]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[msftpsvc]]></category>
		<category><![CDATA[Windows 2003]]></category>

		<guid isPermaLink="false">http://blog.jim80.net/?p=271</guid>
		<description><![CDATA[Wait, what?! Oh yeah. It just grinds to a halt, without any helpful error messages. This is just another thing that I want to jot down so I know to check for it the next time I run across a server with FTP issues. AFAIK, it has to do with a NETBIOS limitation.]]></description>
			<content:encoded><![CDATA[<p>Wait, what?! Oh yeah. It just grinds to a halt, without any helpful error messages. This is just another thing that I want to jot down so I know to check for it the next time I run across a server with FTP issues. </p>
<p>AFAIK, it has to do with a <a href="http://support.microsoft.com/kb/909264">NETBIOS limitation</a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jim80.net/2009/07/22/hostnames-greater-than-15-characters-effectively-disables-msftpsvc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conficker Update Part 3</title>
		<link>http://blog.jim80.net/2009/06/12/conficker-update-part-3/</link>
		<comments>http://blog.jim80.net/2009/06/12/conficker-update-part-3/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 15:56:36 +0000</pubDate>
		<dc:creator>jim</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Virii]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[conficker]]></category>
		<category><![CDATA[downadup]]></category>
		<category><![CDATA[worms]]></category>

		<guid isPermaLink="false">http://blog.jim80.net/?p=231</guid>
		<description><![CDATA[According to http://forum.drweb.com/index.php?showtopic=277240 , Win32.HLLW.Shadow.based is a a variant of Conficker/downadup. Symptom: Every available port from 1024-5000 is used to connect to various servers on destination port 445. Basically, the worm opens these connections to download and wait for malicious binaries. The removal tools at http://www.bdtools.net/ does not detect this variant, and you have to [...]]]></description>
			<content:encoded><![CDATA[<p>According to <a href="http://forum.drweb.com/index.php?showtopic=277240">http://forum.drweb.com/index.php?showtopic=277240</a> , Win32.HLLW.Shadow.based is a a variant of Conficker/downadup.</p>
<p><strong>Symptom:</strong> Every available port from 1024-5000 is used to connect to various servers on destination port 445. Basically, the worm opens these connections to download and wait for malicious binaries.</p>
<p>The removal tools at <a href="http://www.bdtools.net/">http://www.bdtools.net/</a> does not detect this variant, and you have to use Dr.Web&#8217;s <a href="ftp://ftp.drweb.com/pub/drweb/cureit/cureit.exe">Cureit</a> to detect and remove it. According to them, the recommended procedure is to install the following hotfixes:<br />
* MS08-067<br />
(<a href="http://www.microsoft.com/technet/security/bulletin/ms08-067.mspx">http://www.microsoft.com/technet/security/bulletin/ms08-067.mspx</a>);</p>
<p>* MS08-068<br />
(<a href="http://www.microsoft.com/technet/security/bulletin/ms08-068.mspx">http://www.microsoft.com/technet/security/bulletin/ms08-068.mspx</a>);</p>
<p>* MS09-001<br />
(<a href="http://www.microsoft.com/technet/security/bulletin/ms09-001.mspx">http://www.microsoft.com/technet/security/bulletin/ms09-001.mspx</a>).</p>
<p>And then run <a href="ftp://ftp.drweb.com/pub/drweb/cureit/cureit.exe">Cureit</a>, a fully functional shareware app.</p>
<p>In case you&#8217;re reading this from an infected server, I&#8217;ve downloaded and included some of these files <a href="ftp://www.jim80.net/">here</a> (because if you&#8217;re infected, you won&#8217;t be able to access certain sites, drweb.com being one).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jim80.net/2009/06/12/conficker-update-part-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conficker Update Part Deuce</title>
		<link>http://blog.jim80.net/2009/04/14/conficker-update-part-deuce/</link>
		<comments>http://blog.jim80.net/2009/04/14/conficker-update-part-deuce/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 00:54:16 +0000</pubDate>
		<dc:creator>jim</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Virii]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[conficker]]></category>
		<category><![CDATA[downadup]]></category>
		<category><![CDATA[worms]]></category>

		<guid isPermaLink="false">http://blog.jim80.net/?p=188</guid>
		<description><![CDATA[UPDATE 11 Jun 2009: Locally hosted bdtools removal tools (availabe at downadup.org for single computers and network. Cheers =D Our favorite worm got an update 8 April according to Network World. Read more here&#8230; And of course, at downadup.org.]]></description>
			<content:encoded><![CDATA[<p>UPDATE 11 Jun 2009: Locally hosted bdtools removal tools (availabe at <a href="http://downadup.org">downadup.org</a> for <a href='ftp://www.jim80.net/bdtools.net/'>single computers and network</a>. Cheers =D</p>
<p>Our favorite worm got an update 8 April according to Network World. Read more <a href="http://www.networkworld.com/news/2009/041009-conficker-awakens-starts.html?ts0hb&amp;story=ts_confkr">here&#8230;</a><br />
And of course, at <a href="http://downadup.org">downadup.org</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jim80.net/2009/04/14/conficker-update-part-deuce/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conficker</title>
		<link>http://blog.jim80.net/2009/03/23/conficker/</link>
		<comments>http://blog.jim80.net/2009/03/23/conficker/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 01:10:20 +0000</pubDate>
		<dc:creator>jim</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Virii]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Auto-run]]></category>
		<category><![CDATA[downadup]]></category>
		<category><![CDATA[worms]]></category>

		<guid isPermaLink="false">http://blog.jim80.net/?p=96</guid>
		<description><![CDATA[If you haven&#8217;t heard about the growing population of Windows machines hosting this prolific worm, educate yourself, particularly if you run Windows networks. This worm has been spreading like the plague since at least November 2008, and is presently estimated as having infected about 10 million machines. That&#8217;s a big botnet. It&#8217;s an active one [...]]]></description>
			<content:encoded><![CDATA[<p>If you haven&#8217;t heard about the growing population of Windows machines hosting this prolific worm, <a href="http://www.bdtools.net/what-is-downadup.php" target="_blank">educate yourself</a>, particularly if you run Windows networks. This worm has been spreading like the plague since at least November 2008, and is presently estimated as having infected about 10 million machines. That&#8217;s a big botnet. It&#8217;s an active one too, regularly &#8220;dialing home&#8221; to <a href="http://www.theregister.co.uk/2009/03/07/conficker_upgrade/" target="_blank">now over 50,000 domains</a> to receive updates. Its variants spread through various mediums, and favor network shares and USB drives.</p>
<p>If you can stand the gripes from your users, disabling Autorun through a forced registry setting (scripts, custom built ADM) is not a bad idea in general, so what if they have to open the folder and double-click the executable that&#8217;s likely in the top-level directory anyways?. Read the <a href="http://www.cert.org/blogs/vuls/2008/04/the_dangers_of_windows_autorun.html" target="_blank">Cert/CC blog</a> for more about this work around. Of key importance is that for whatever reason, the setting in HKCU overrides the HKLM setting. It may go without saying, but your best bet is cover both fronts.</p>
<p>If your network is infected presently, the following site hosted by BitDefender has a good list of symptoms to look for. In addition, the company has recently published both a single-workstation tool and a network tool to remove the worm from your computers. You can find these resources at <a href="http://downadup.org/" target="_blank">http://downadup.org/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jim80.net/2009/03/23/conficker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
