http://www.redmondpie.com/download-windows-8-iso-x86-x64-file-directly-from-microsoft
These instructions will give you a bootable MS Windows 8 installation ISO with the following properties (you must do this procedure from a Microsoft OS):
You can then burn the resulting ISO image to a DVD or USB drive for installation as usual (dd, etc.).
So, for some reason you can't just dd the ISO to the thumb drive; it won't create a valid partition table and it won't boot (although Linux will still see the raw UDF filesystem). So…
% sudo parted /dev/sdx ## Run parted on thumb drive parted> mklabel msdos ## Create MBR partition table parted> mkpart primary NTFS ## Create a partition marked for NTFS (must be at least 9GB) parted> set 1 boot on ## Make partition bootable
If it's an older thumb drive and you're unsure of its physical condition, etc. then you can omit ”–quick” to do a full format with zeroing and a bad block check…takes forever though.
mkfs.ntfs --quick /dev/sdx
Make sure to type this exactly; the presence/absence of trailing slashes is significant to rsync!
mount -o ro,loop file.iso /mnt ## Mount ISO image at /mnt mount /dev/sdx /mnt2 ## Mount thumb drive at /mnt2 rsync -rtvP --size-only /mnt/ /mnt2 ## Copy files without trying to preserve UNIX metadata
Source: https://www.lifewire.com/changing-the-windows-xp-product-key-2624938
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WPA Events\OOBETimer
%systemroot%\system32\oobe\msoobe.exe /a
Source: http://www.wikihow.com/Activate-Windows-XP-Without-a-Genuine-Product-Key
rundll32.exe syssetup,SetupOobeBnk
(this command resets the Windows XP trial clock to 30 days)