From 0666d5e8ec46ba12b2ce7b35581f59a2da9ce0f6 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Mon, 17 Feb 2025 21:12:55 -0500 Subject: [PATCH] pre-rewrite changes --- docker.yml | 3 +++ oem/powershell-stuff.ps1 | 12 ++++++++++++ 2 files changed, 15 insertions(+) diff --git a/docker.yml b/docker.yml index bd23e63..459266a 100644 --- a/docker.yml +++ b/docker.yml @@ -7,6 +7,8 @@ services: environment: VERSION: "11" DISK_SIZE: "64G" + RAM_SIZE: "8G" + CPU_CORES: "4" devices: - /dev/kvm - /dev/net/tun @@ -18,6 +20,7 @@ services: - 3389:3389/udp volumes: - /home/primary/Downloads/tiny11.iso:/custom.iso + # - /home/primary/Downloads/26100.1.240331-1435.ge_release_CLIENT_IOT_LTSC_EVAL_x64FRE_en-us.iso:/custom.iso - /home/primary/school/spring-2025/CSE3120/vm/oem:/oem # shared samba dir - /home/primary/school/spring-2025/CSE3120/vm/shared:/data diff --git a/oem/powershell-stuff.ps1 b/oem/powershell-stuff.ps1 index 9eb7d58..fb87767 100644 --- a/oem/powershell-stuff.ps1 +++ b/oem/powershell-stuff.ps1 @@ -45,3 +45,15 @@ rm -Force -Recurse C:\Users\Docker\project64\Project64_VS2022 # maybe this'll work -- no # Set-ExecutionPolicy -ExecutionPolicy Bypass -Force + +# Mount shared directory as a drive +New-PSDrive -Name "Z" -PSProvider "FileSystem" -Root "\\host.lan\Data" -Persist + +# remove Widgets stuff +Get-AppxPackage *WebExperience* | Remove-AppxPackage + +# remove animations -- https://superuser.com/a/1811743 +Set-ItemProperty -Path "HKCU:Control Panel\Desktop" -Name UserPreferencesMask -Value ([byte[]](0x90,0x12,0x03,0x80,0x10,0x00,0x00,0x00)) + +# restart explorer +stop-process -name explorer -force