Category Archives: Windows Server 2012

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

PowerShell: Allow File and Printer Sharing Through Windows Firewall

To allow file and printer sharing, you may need to open the Windows Firewall. Here’s a one line PowerShell script that allows file and printer sharing through the Windows Firewall by enabling the firewall rule group: Enable-NetFirewallRule -Group "@FirewallAPI.dll,-28502" -Direction … Continue reading

Posted in PowerShell, 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