Delete Long File Paths when all else fails

Easy enough, right?  You used Robocopy to get the files there..... use Robocopy to make 'em go away :)

Create a blank folder somewhere, for example:


Now lets say all of the junk you want to delete is located here:

D:\Keep\Keep\DESTROY\****\***.... etc .etc ..etc...

You're going to use robocopy to Copy that blank folder over top of the DESTROY folder... with /E for subfolders and files... with the /MIR switch which will purge anything that is not in the source (there is nothing... its a blank source)

robocopy c:\Blank_Folder\ D:\Keep\Keep\DESTROY\ /E /MIR

(Brian Busse):

Registry - Change/Query Default Internet Browser

Set objShell = CreateObject("WScript.Shell")










Registry Is a terminal server? RDS?

HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\TSAppCompat

0 is Remote Administration, 1 is Application Server mode

MSDOS hide drives (but can still be accessed)

If you wanted to hide all your directories from users, you could use:
The above command prevents anyone from seeing the directories; however, they can still be accessed. To allow the directories to be visible again, type the command below.

How To Perform Windows P2V using Disk2Vhd for VirtualBox

As with a previous article on creating a P2v for use by VirtualBox using VMware’s vCenter Converter for Windows, we will continue and describe how to complete the task using  Microsoft’s Disk2Vhd (SysInternal Suite).

What is Disk2Vhd?

Disk2vhd is a utility that creates VHD (Virtual Hard Disk – Microsoft’s Virtual Machine disk format) versions of physical disks for use in Microsoft Virtual PC or Microsoft Hyper-V virtual machines (VMs). The difference between Disk2vhd and other physical-to-virtual tools is that you can run Disk2vhd on a system that’s online. Disk2vhd uses Windows’ Volume Snapshot capability, introduced in Windows XP, to create consistent point-in-time snapshots of the volumes you want to include in a conversion. You can even have Disk2vhd create the VHDs on local volumes, even ones being converted (though performance is better when the VHD is on a disk different than ones being converted).

Download Disk2Vhd from

Create VHD

Run Disk2Vhd tool on a physical machine , you wish to convert to virtual . This tool list the all available drives on a system and the required disk space for storing virtual disk (VHD).

After selecting the required options , select Create

Now that the VHD file is created , we will copy the result VHD and copy it to the machine where VirtualBox is running.

Create new VM in VirtualBox ( Machine->New ). In the “Create New Virtual Machine” dialog, enter name and select OS. In this case my build system was in Windows 7 , I selected the same.

Select Next and provide memory for new VM.

Select Next. In this dialog un-check “Start-up Disk” option. This allows us to attach existing VHD to VM instance.

Select Next , Following warning message is show, click “Continue”

Select Next,

This will complete the creation of new Virtual machine. But still we have not configured it to use VHD file got from the P2V conversion.
From the VirtualBox Manager select the newly created VM ( win7) from the pane and select “Settings” options , as shown below.

In “Settings” dialog select “Storage” option on the left pane and click “+” button on IDE controller to add existing VHD . Once this option is select VirtualBox brings up dialog to choose existing disk.

Once VHD is selected, you can modify other settings such as memory, processors and video memory from this dialog.

Now Virtual machine creation is complete , you can stat the VM, you have replica of your physical setup inside VM.