User:Madz/Draft/How To Make A File Uploads VM

From Computernewb Wiki
Revision as of 17:08, 13 August 2024 by Madz (talk | contribs)
Jump to navigation Jump to search


File Uploads is a part of CollabVM Agent Extension (Please note that CollabVM Agent is unstable and may end up dying a few times when running) setting this up will allow people to upload files to your virtual machine when taking a turn. This guide will also setup hcapcha so we don't have bots automatically uploading files.

Prerequisites

Qemu

You will need to install Qemu using whatever package manager your distro uses

Windows ISO

The versions that have been reported working are

  • Windows XP SP2/SP3
  • Windows Server 2003 R2
  • Windows XP x64
  • Windows Longhorn (Certain Builds)
  • Windows Vista x86/x64
  • Windows Server 2008
  • Windows 7 Beta
  • Windows 7 x86/x64
  • Windows Server 2008 R2
  • Windows 8 x86/x64
  • Windows Server 2012
  • Windows 8.1 (Blue)
  • Windows 8.1 x86/x64
  • Windows Server 2012 R2
  • Windows 10 x86/x64
  • Windows Server 2022
  • Windows 11 x86/x64
  • Windows Server 2025

For this tutorial I will be using a modified version of Windows XP called Darklord Edition but It should also work with normal SP3.

Setting Up

Make the image

qemu-img create -o preallocation=off -f qcow2 vm.qcow2 60G

If your doing Windows XP you can follow this guide

qemu-system-i386 -m 512M -hda vm.qcow2 -device VGA,vgamem_mb=64 -cpu host -accel kvm - M pc -netdev user,id=lan -device rtl8139,netdev=lan -usb -device usb-tablet -rtc base=localtime -monitor stdio -vnc :1 -cdrom image.iso -boot d

Replace image.iso with your image file name. This command will start qemu and run a vnc server on port 5901.