Hyper-v

Custom Windows Server Image on Digital Ocean (2022 Update)



Install Custom Windows OS on Digital Ocean – From 2012 to 2022 Windows Server

Chapters
0:00 Why Create a Custom Image
0:40 Droplet Creation + Installation
3:05 Getting Drivers and Windows
4:58 Emulation with VNC
9:03 Windows Best Settings
11:01 Hosting File on Droplet

This description will be posted in pastebin, here’s the link :

Why create your own image?

– Extremely Safe (No Keylogger software that you might get from downloading random windows image online)
– You can choose which OS you want (fully customize it)

Get Digital Ocean Special $100 Credit :

You need 3 things on your pc
1. Browser
2. Putty :
3. VNC Viewer :

Commands (It’ll be in description) :

Step 1 : Necessary stuff :

copy then paste on putty by right clicking.

apt-get update && apt-get install qemu -y
apt install qemu-utils -y
apt install qemu-system-x86-xen -y
apt install qemu-system-x86 -y
apt install qemu-kvm -y

Step 2 : Creating the empty image file (Edit name with your OS Version):

qemu-img create -f raw windows2019.img 16G

Step 3 : Drivers and Windows Download (Input your own link for custom windows server)

Download Drivers :
Download Windows :

Custom Updated DRIVER LINK : INPUT YOUR LINK HERE
Custom Windows LINK : INPUT YOUR LINK HERE

wget -O virtio-win.iso ‘INPUT YOUR LINK HERE’
wget -O windows2019.iso ‘INPUT YOUR LINK HERE’

Check if you have all the files with the command : ls

Step 4 : Virtualize the image:

qemu-system-x86_64
-m 3G
-cpu host
-enable-kvm
-boot order=d
-drive file=windows2019.iso,media=cdrom
-drive file=windows2019.img,format=raw,if=virtio
-drive file=virtio-win.iso,media=cdrom
-device usb-ehci,id=usb,bus=pci.0,addr=0x4
-device usb-tablet
-vnc :0
(PRESS ENTER TWICE AFTER PASTING)

Once finished, click ctrl+c to exit in putty.

Step 5 : Compress The Image File :

dd if=windows2019.img | gzip -c(ANGLED BRACKET) windows2019.gz

heck if you have all the files with the command : ls

Step 6 : Hosting the image on droplet :

apt install apache2
sudo ufw allow ‘Apache’
cp windows2019.gz /var/www/html/

Check if it works with typing :

You can also download it on your own computer and host it in Google Drive to store it.

Get Digital Ocean Special $100 Credit :

Install Windows on Digital Ocean
Windows on Digital Ocean Droplet
Create Custom Image for Digital Ocean
Create Windows Server 2012 Image
Create Windows Server 2016 Image
Install Windows Server 2019 Image
Install Windows Server 2022 Image

source

 

To see the full content, share this page by clicking one of the buttons below

Related Articles

Leave a Reply