Category Archives: Windows

So, you can’t delete a folder in Windows because of “Path too long” errors?

If you have got yourself into a situation where you can’t delete a directory in Windows because the folder structure is too deep for Windows, you can use robocopy to save the day. Here’s a little snippet for wiping out … Continue reading

Posted in Batch Files, Windows | Leave a comment

Assign a Drive Letter from the Command Line Using DiskPart

Here’s how you can assign a drive letter to a volume using the command line tool DiskPart. For more information, see this TechNet article. diskpart list volume select volume n assign letter F Hope this helps!

Posted in Batch Files, Windows, Windows 7, Windows Server 2008 R2, Windows Server 2012 | Leave a comment

Configure IIS 7 to Listen on Specific IP Addresses with Netsh

If you are trying to run multiple types of web servers on a single Windows server, you may have noticed that IIS locks onto all of the available IP addresses on the system by default.  You can easily remedy this … Continue reading

Posted in Apache, IIS, Microsoft TechNet, Windows, Windows 7, Windows Server 2008 R2, Windows Server 2012 | Leave a comment

Physical to Virtual Disk with Disk2vhd – Online

Have you ever wanted to convert a physical HDD to a VHD?  One cool utility from Sysinternals / Microsoft is Disk2vhd. Disk2vhd lets you keep your machine online and take a snapshot of a physical disk as a Microsoft VHD.  You can … Continue reading

Posted in Virtualization, Windows, Windows 7, Windows Server 2008 R2, Windows Server 2012 | Leave a comment

HowTo: Change Remote Desktop Port

Have you ever wanted to change the port on which the Remote Desktop Service listens?  Here’s how you do it: Open the registry editor (regedit.exe) Navigate to the following registry key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber From the Edit menu, click Modify, and then … Continue reading

Posted in Windows, Windows 7, Windows Server 2008 R2 | Leave a comment