Create VirtualBox VM for Windows 10x64 - Zacorich/omegacoin GitHub Wiki

  1. Get Official image from Microsoft[link]. Used download link for virtual box from official page
  2. Extracted zip
  3. Started *.OVA file and imported vmdk and vbox with 2+ GB RAM and 2+ CPUs (About 10Min on SSDs)
  4. Created snapshot
  5. Started VM (10min) and 90 day trial will start as well
  6. Username: IEUser ; Password: Passw0rd!

Clean Windows 10 RAM and CPU

  1. Stop Microsoft from collecting personal information, you can go to the Settings / Privacy / Diagnostics & Feedback page and disable Sending data to Microsoft
  2. Type the word “performance” in the search bar and select the option “Adjust Appearance vs. Performance in Windows.” Set paging file to same amount of RAM used for VM.
  3. Apply all tweaks - here

Shrink VDI/VMDK image

  1. Install “7zip”, “FreeCommander XE”,“NTFS Permissions Tools 1.3” , “treesize” apps and set owner of c:\windows to everyone and apply security settings to all subfiles
  2. With “NTFS Permissions Tools 1.3” set Advanced Permissions on C:\windows folder to Allow - Everyone for all sub-folders and sub-files
  3. With “FreeCommander XE” running as Administrator, delete the following folders(search folders with filter feature) - C:\windows\winsxs\Backup, chrecognizer, fax, mediaplayer, naturallanguage, sample, speech, winocr , games
  4. Set ntfs compression on c:\windows folder
  5. Turn off hibernate from cmd as admin: powercfg.exe /hibernate off
  6. link Perform a disk cleanup using the Disk Cleanup tool ; Download the SDelete V2.0 from Windows Sysinternals. Extract the downloaded SDelete.zip file. You will see 2 executables sdelete.exe and sdelete64.exe ;
  7. Defragment C:\ drive
  8. Execute the command “sdelete64 -z c:” to zero out the free space in the windows virtual machine. Wait till the cleaning free space process reach 100%. (NOTE: I’ve used the 64-bit version of SDelete and my Windows 10 is 64-bit)
  9. Now, shut down windows 10
  10. Create clone of snapshot with Fat Sheep
  11. Execute the virtualbox manage command “VBoxManage modifyhd ? --compact”. Instead of ? use the full path of the location of VDI file of the cloned snapshot