This post is to record the process to change my Ubuntu Linux VM to Windows VM in Oracle cloud and other public cloud providers.

There are many reasons you might want to have a Windows system machine in the cloud for your lab. The steps are completely based on some other genius people’s contribution. 

DD Windows to  Oracle Cloud Platform Ubuntu VM


Notes: 

1. Only Ubuntu works in Oracle Cloud Platform (OCP).
2. Not all images works for OCP. The image works for Oracle Cloud will need to support UEFI. 
Steps:
1. Create your own Ubuntu compute instance as usual:
2. Prepare Your Ubuntu VM’s Environment (Optional)
If you are using latest Ubuntu version 20.04, you do not have to run following commands. For older version, you might need to run following commands to get some dependencies installed.
sudo -i
apt-get update
apt-get install -y xz-utils openssl gawk file
3. One command to download script and install DD image from one of moeclub.org’s sharing post:.
For example, DD a Chinese Win7 image:
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://api.moeclub.org/GoogleDrive/1NHKdm3xfQ3HySNCGvrzgdz7RMVCI1qGy'
username : administrator
password : www.nat.ee
Above one is Chinese Win7 DD image.  Here is one for English Win7:

d.nat.ee site is down, please change to a different image url
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'http://d.nat.ee/win/lite/us/win7-sp1-ent-x64-us/win7-sp1-ent-x64-us-efi.vhd.gz'
Account: Administrator
password: nat.ee
I have replaced nat.ee’s image file url to the one from VPS0.NET which backed up most of NAT.EE packages.
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://vps0.net/natee/win/lite/win7-sp1-ent-x64-us/win7-sp1-ent-x64-us-efi.vhd.gz'
[Updated Jan 10, 2022] Found https://vps0.net/?natee which has most of NAT.EE site’s backup. Not test yet. But will do testing once having some time. You can get URL from vps0.net and replace the one in the command accordingly. 

For other Windows versions:

  • Win7 English – Lite
https://vps0.net/natee/win/lite/win7-sp1-ent-x64-us/win7-sp1-ent-x64-us-efi.vhd.gz

  • 2012 R2 English – Lite
https://vps0.net/natee/win/lite/winsrv2012r2-data-x64-us/winsrv2012r2-data-x64-us-efi.vhd.gz

wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'http://d.nat.ee/win/lite/us/winsrv2012r2-data-x64-us/winsrv2012r2-data-x64-us-efi.vhd.gz'
Account: Administrator
password: nat.ee


  • 2016 English – Lite
https://vps0.net/natee/win/lite/winsrv2016-data-x64-us/winsrv2016-data-x64-us-efi.vhd.gz
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'http://d.nat.ee/win/lite/us/winsrv2016-data-x64-us/winsrv2016-data-x64-us-efi.vhd.gz'
Account: Administrator
password: nat.ee

  • 2019 English – Full
https://vps0.net/natee/win/full/winsrv2019-data-x64-us/winsrv2019-data-x64-us-efi.vhd.gz

  • 2022 English – Lite
https://vps0.net/natee/win/lite/winsrv2022-data-x64-us/winsrv2022-data-x64-us-efi.vhd.gz
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'http://d.nat.ee/win/lite/us/winsrv2022-data-x64-us/winsrv2022-data-x64-us-efi.vhd.gz'
Account: Administrator
password: nat.ee
You will see lots of texts are scrolling up in your terminal sessions. After one or two minutes, you will lose your SSH connection. Please give the machine 5-10 minutes, before you manual reboot your Ubuntu VM. During reboot, the VM status will become stopping.

The VM will maintain this stopping status for 20-25 minutes, then it will become Running status.

At that time, all DD imaging processes and  system rebooting processes will be completed. You will be able to RDP to this VM’s public ip with port 3389. Please make sure you have add RDP port 3389 into your Network Security Groups.

Different DD images might have different log in credentials. Those are pre-set by those image maker. All risks are yours since no guarantee those images are clean and safe. I have run some of images for years and no issues found. Strongly suggested to change 3389 port to something else. 

After log in, please change password asap. It is best also change 3389 port to others.

The system is either English or Chinese version, and following is Chinese Windows 7 64B Ultimate version. You will need to activate it by yourself. 

The default system after installed,  memory usage will be around 366MB, and CPU usage will be less than 1%. 

YouTube :

Win2016
Win7 :

DD Windows to GCP / Azure Ubuntu Cloud VM

For GCP or Azure cloud environment, all steps are similar. Only different is that you will need to manual pass network parameters into the Windows VM during DD process.

# Change X.X.X.X to your Ubuntu’s configuration
# –ip-addr :IP Address
# –ip-mask :Netmask
# –ip-gate :Gateway
wgetno-check-certificate -qO InstallNET.sh ‘https://moeclub.org/attachment/LinuxShell/InstallNET.sh’ && bash InstallNET.sh –ip-addr X.X.X.X –ip-mask X.X.X.X –ip-gate X.X.X.X -dd ‘DD Image’

Wait about 30 minutes then use RDP to connect. Make sure RDP port has been opened from your security group firewall rule.

username : administrator
password : www.nat.ee

    Command Example 1 for Windows 2008 64B R2: 
    wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh --ip-addr X.X.X.X --ip-mask 255.255.255.0 --ip-gate 10.x.0.1 -dd 'https://api.moeclub.org/GoogleDrive/1DTps9WwC6RZ8szflais8YazpkCVdqdI7'
    Command Example 2 for Win7 64B SP1 with IIS:
    wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh --ip-addr X.X.X.X --ip-mask 255.255.255.0 --ip-gate 10.x.0.1 -dd 'https://api.moeclub.org/GoogleDrive/1KA9PDH4T2ODbxS97T6MtTk5TwifQQoIp'

    You will need to replace x.x.x.x with your own Linux VM’s ip. You will need to change the gateway as well.

    DD Image List and Commands

    Lite DD Image


    Those DD package only works for Oracle cloud;(note:not suitable for ARM machines)

    [username: Administrator, password:nat.ee] All are Chinese version

    # DD Windows7 sp1 64bit Enterprise Lite Version
    wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win7_sp1_64_Administrator_nat.ee.gz'
    
    # DD Windows8.1 64bit Enterprise Lite Version
    wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win8.1_64_Administrator_nat.ee.gz'
    
    # DD Windows10 2016LTSB 64bit Enterprise Deep Lite Version
    wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win10_2016LTSB_64_Administrator_nat.ee.gz'
    
    # DD Windows10 2019LTSC 64bit Enterprise Deep Lite Version
    wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win10_2019LTSC_64_Administrator_nat.ee.gz'
    
    # DD Windows10 2021LTSC 64bit Enterprise Deep Lite Version
    wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win10_2021LTSC_64_Administrator_nat.ee.gz'
    
    # DD Windows Server 2008 R2 64bit Lite Version
    wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win_Server2008R2_sp1_64_Administrator_nat.ee.gz'
    
    # DD Windows Server 2012 R2 64bit Lite Version
    wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win_Server2012R2_64_Administrator_nat.ee.gz'
    
    # DD Windows Server 2016 64bit Lite Version
    wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win_Server2016_64_Administrator_nat.ee.gz'
    
    # DD Windows Server 2022 64bit Enterprise Deep Lite Version
    wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win_Server2022_64_Administrator_nat.ee.gz'


    #DD Windows Server 2003 32位 精简版 [账户Administrator密码cxthhhhh.com]
    wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://api.moeclub.org/GoogleDrive/1j9ow8dsIA7DucsGpDI-kzJwiNW9kMceT'
    
    #DD Windows Server 2008 R2 64位 精简版 [账户Administrator密码WinSrv2008x64-Chinese]
    wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://api.moeclub.org/GoogleDrive/1DTps9WwC6RZ8szflais8YazpkCVdqdI7'
    
    #DD Windows Server 2012 R2 64位 精简版 [账户Administrator密码WinSrv2012r2x64-Chinese]
    wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://api.moeclub.org/GoogleDrive/1KTzROA2eWTHC8qWUG2Vr-onuRTwaIOSe'
    
    #DD Windows Server 2019 Datacenter 64位 精简版 [账户Administrator密码WinSrv2019dc-Chinese]
    wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://api.moeclub.org/GoogleDrive/1NbOzolHsDGbp3gJ3TeQ9_4qkmSLIuO07'
    
    #DD Windows7 32位 精简版 [账户Administrator密码Windows7x86-Chinese]
    wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://api.moeclub.org/GoogleDrive/15NkZxVdkcx2P9cFez9gxkqVEQksKMrx1'
    
    #DD Windows7 sp1 64位 旗舰精简版 自带IIS [账户Administrator密码www.nat.ee]
    wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://api.moeclub.org/GoogleDrive/1KA9PDH4T2ODbxS97T6MtTk5TwifQQoIp'
    
    #DD Windows7 64位 旗舰精简版 [账户Administrator密码www.nat.ee]
    wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://api.moeclub.org/GoogleDrive/1C9Y0Iu1pGX4-blb_3G49jOqv13Zeka6-'
    
    #DD Windows10 64位 企业精简版 2019LTSC [账户Administrator密码www.nat.ee]
    wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://api.moeclub.org/GoogleDrive/1pUNKV0nQvFXDZYJnfq2FzEfQNCZ3_5g7'

    Full DD Image

    #DD Windows Server 2012 R2 Datacenter 64位 完整版 [账户administrator密码Password147]
    wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://api.moeclub.org/GoogleDrive/1bfXS59h0y8Ibz5o84DvcBMfqhP0d12Ib'
    
    #DD Windows Server 2016 Datacenter 64位 完整版 [账户administrator密码Password147]
    wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://api.moeclub.org/GoogleDrive/1CElbDjEXrjPIX4GpdRBwRXBWTtSHOwzi'
    
    #DD Windows Server 2019 Datacenter 64位 完整版 [账户administrator密码Password147]
    wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://api.moeclub.org/GoogleDrive/1gRIT702MrVzLr8Bmk8OF-_Ckp02_tOxE'

    English DD Image with EFI

    • http://d.nat.ee/?win/lite/us – Not working anymore since Jan 9 2022
    • https://vps0.net/?natee/win/
    • http://a.iplc.best/natee/


    Other Images

    Lite DD Image: 

    #DD Windows Server 2003 32位 精简版 [账户Administrator密码cxthhhhh.com]
    https://dl-web.dropbox.com/s/ajqa1vwxfqulazd/Win-Server-2003-X32%5BAdministrator-cxthhhhh.com%5D.gz
    
    #DD Windows Server 2008 R2 64位 精简版 [账户Administrator密码WinSrv2008x64-Chinese]
    https://dl-web.dropbox.com/s/jhxp38eeu9quu12/Win-Server-2008R2-X64%5BAdministrator-WinSrv2008x64-Chinese%5D.gz
    
    #DD Windows Server 2012 R2 64位 精简版 [账户Administrator密码WinSrv2012r2x64-Chinese]
    https://dl-web.dropbox.com/s/9r7v27hmmbytur1/Win-Server-2012R2-X64%5BAdministrator-WinSrv2012r2x64-Chinese%5D.gz
    
    #DD Windows Server 2019 Datacenter 64位 精简版 [账户Administrator密码WinSrv2019dc-Chinese]
    https://dl-web.dropbox.com/s/y675vyr04egz2xs/Win-Server2019-Datacenter-X64%5BAdministrator-WinSrv2019dc-Chinese%5D.gz
    
    #DD Windows7 sp1 64位 旗舰精简版 自带IIS [账户Administrator密码www.nat.ee]
    https://dl-web.dropbox.com/s/4ouiqrddtajk1c8/Win7%20X64%20sp1%20IIS%5BAdministrator-www.nat.ee%5D.gz
    
    #DD Windows7 64位 旗舰精简版 [账户Administrator密码www.nat.ee]
    https://dl-web.dropbox.com/s/fzoaonaj9fbxatg/Win7-X64%5BAdministrator-www.nat.ee%5D.gz
    
    #DD Windows10 64位 企业精简版 2019LTSC [账户Administrator密码www.nat.ee]
    https://dl-web.dropbox.com/s/ra7m1zm0fevjuby/Win10-2019LTSC-X64%5BAdministrator-www.nat.ee%5D.gz
    
    #Oracle专用 DD Windows7 64位 精简版 [账户Administrator密码www.nat.ee]
    https://dl-web.dropbox.com/s/x5f23j6qhp1dneq/Oracle-Win7-X64%5BAdministrator-www.nat.ee%5D.gz
    
    #OVH专用 DD Windows7 64位 精简版 [账户administrator密码www.80host.com]
    https://dl-web.dropbox.com/s/knhw80grm9o3b35/OVH-Win7-X64%5Badministrator-www.80host.com%5D.gz
    Full:
    #DD Windows Server 2012 R2 Datacenter 64位 完整版 [账户administrator密码Password147]
    https://dl-web.dropbox.com/s/3y3mvht0u6fm34g/cn_windows2012r2%5Badministrator-Password147%5D.gz
    
    #DD Windows Server 2016 Datacenter 64位 完整版 [账户administrator密码Password147]
    https://dl-web.dropbox.com/s/wk3zltm9kepfg99/cn_windows2016%5Badministrator-Password147%5D.gz
    
    #DD Windows Server 2019 Datacenter 64位 完整版 [账户administrator密码Password147]
    https://dl-web.dropbox.com/s/bp92z37ae4hlnd0/cn_windows2019%5Badministrator-Password147%5D.gz


    用户名: administrator 密码: Teddysun.com

    中文版 Windows 10 Pro for Workstations(Windows build 版本号:19042.630)

    https://fr1.teddyvps.com/iso/cn_windows10_20h2.gz

    英文版 Windows 10 Pro for Workstations(Windows build 版本号:19042.630)

    https://fr1.teddyvps.com/iso/en_windows10_20h2.gz

    中文版 Windows Server 2019 Datacenter(Windows build 版本号:17763.1613)

    https://fr1.teddyvps.com/iso/cn_windows2019_v2.gz

    英文版 Windows Server 2019 Datacenter(Windows build 版本号:17763.1613)

    https://fr1.teddyvps.com/iso/en_windows2019_v2.gz

    用户名: administrator 密码: Password147

    中文版 Windows Server 2019 Datacenter(Windows 版本号:17763.1)

    https://fr1.teddyvps.com/iso/cn_windows2019.gz

    英文版 Windows Server 2019 Datacenter(Windows 版本号:17763.1)

    https://fr1.teddyvps.com/iso/en_windows2019.gz

    中文版 Windows Server 2016 Datacenter(Windows 版本号:14393.1884)

    https://fr1.teddyvps.com/iso/cn_windows2016.gz

    英文版 Windows Server 2016 Datacenter(Windows 版本号:14393.1884)

    https://fr1.teddyvps.com/iso/en_windows2016.gz

    中文版 Windows Server 2012 R2 Datacenter

    https://fr1.teddyvps.com/iso/cn_windows2012r2.gz

    英文版 Windows Server 2012 R2 Datacenter

    https://fr1.teddyvps.com/iso/en_windows2012r2.gz


    YouTube

    YouTube video – DD Windows to VM in Google Cloud Platform:

    DD Win2016
    DD Win7

    DD Win2012

    DD Win2022

    Troubleshooting


    1. Internet won’t work, until changed DNS as following:

    8.8.8.8
    1.1.1.1

    2. Activate Windows

    Right click to run CMD as administrator
    slmgr.vbs -upk
    slmgr.vbs -ipk RHTBY-VWY6D-QJRJ9-JGQ3X-Q2289
    slmgr.vbs -ato
    slmgr.vbs -dlv
    
    

    3. Enable Ping:

    Right click to run CMD as administrator
    Enable Ping:
    netsh firewall set icmpsetting 8
    Stop Ping:
    netsh firewall set icmpsetting 8 disable

    4. Resize Hard Drive:

    计算机右键-管理-存储-磁盘管理, 扩展卷 到最大,就能用所有的10G Hard Drive. 

    References

    By Jonny

    3 thoughts on “DD a Windows OS into Cloud Linux VM (Oracle/GCP/AWS)”

    Leave a Reply

    %d bloggers like this: