Skip to content

Windows VM setup

Guide to create a Windows VM.

Images

  • Download the Windows ISO
  • Download the Windows VirtIO drivers
  • Upload ISOs to Proxmox on "local"

Configure VM

src, vid - Turn on - For driver ISO, if IDE1 doesn't work use SATA0 - If boot fails - exit UEFI shell - Set UEFI Boot Entry - Install VirtIO drivers (virtscsi, netkvm, balloon) - Login with a@a.com for local acct - Install rest of drivers - ISO drive > virtio-win-gt-x64, double click, install - Setup RDP - In Start menu search for remote desktop settings, enable - On mac, install Microsoft Remote Desktop, verify connection - username = gaming\jdoe, login password - Disable login, ref - Install apps - Launch shell (win R, PowerShell, ctrl shift enter)

winget install -e -h --accept-source-agreements --accept-package-agreements --id 7zip.7zip
winget install -e -h --accept-source-agreements --accept-package-agreements --id Adobe.Acrobat.Reader.64-bit
winget install -e -h --accept-source-agreements --accept-package-agreements --id Google.Chrome
winget install -e -h --accept-source-agreements --accept-package-agreements --id JanDeDobbeleer.OhMyPosh
winget install -e -h --accept-source-agreements --accept-package-agreements --id Microsoft.PowerToys
winget install -e -h --accept-source-agreements --accept-package-agreements --id Notepad++.Notepad++
winget install -e -h --accept-source-agreements --accept-package-agreements --id PuTTY.PuTTY
winget install -e -h --accept-source-agreements --accept-package-agreements --id Valve.Steam
  • Install SSH (src)
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
Start-Service sshd
Set-Service -Name sshd -StartupType 'Automatic'
  • Shutdown VM

GPU Passthrough

src, vid - Follow the steps in Proxmox > PCI passthrough - Create VM, add PCI Device - Install Geforce Experience - Open NVIDIA Control Panel, test 3D acceleration

SSH

  • vi ~/.ssh/config
  • Example commands
    • ssh -l "jdoe" gaming.janedoe.com
# TODO: add more cmds
shutdown /r
- `scp file.txt gaming.janedoe.com:'"/c:/Users/jdoe/Documents/file.txt"'`