DD Windows OS to Cloud Linux VM (Oracle/GCP/Azure)
This post is to record the process to change my Ubuntu Linux VM to Windows 7 VM in Oracle cloud.
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 imaging process, system rebooting process 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.
Default RDP account for this Windows 7 64B image at https://api.moeclub.org/GoogleDrive/1NHKdm3xfQ3HySNCGvrzgdz7RMVCI1qGy :
After log in, please change password asap. It is best also change 3389 port to others.
The system 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%.
# Change X.X.X.X to your Ubuntu's configuration # --ip-addr :IP Address # --ip-mask :Netmask # --ip-gate :Gateway 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 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.
Internet won't work, until changed DNS as following:
There are many reasons you might want to have a Windows system machine in the cloud for your lab. The steps are based on some other people's posts and contribution. I am just practicing it in one of mycloud VMs.
Ubuntu Environment Preparation:
DD Oracle Cloud VM
Notes: Only Ubuntu works in Oracle Cloud.Ubuntu Environment Preparation:
#Debian/Ubuntu:
apt-get update
apt-get install -y xz-utils openssl gawk file
Download script and install image from one of moeclub.org's sharing post:
Sudo -i
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://api.moeclub.org/GoogleDrive/1NHKdm3xfQ3HySNCGvrzgdz7RMVCI1qGy'
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 imaging process, system rebooting process 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.
Default RDP account for this Windows 7 64B image at https://api.moeclub.org/GoogleDrive/1NHKdm3xfQ3HySNCGvrzgdz7RMVCI1qGy :
username : administrator
password : www.nat.ee
After log in, please change password asap. It is best also change 3389 port to others.
The system 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%.
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 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 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
Simplified DD Image
Full DD Image
Backup storage is at
Simplified DD Image:
Dropbox:
Simplified 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
Troubleshooting
8.8.8.8
1.1.1.1
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
Enable Ping:
Right click to run CMD as administrator
Enable Ping:
netsh firewall set icmpsetting 8
Stop Ping:
netsh firewall set icmpsetting 8 disable
Resize Hard Drive:
计算机右键-管理-存储-磁盘管理, 扩展卷 到最大,就能用所有的10G Hard Drive.
References
- DD Windows 一键脚本(包含GCP谷歌云Oracle甲骨文) - https://sunpma.com/137.html/comment-page-2
No comments