81 lines
2.4 KiB
Markdown
81 lines
2.4 KiB
Markdown
|
# Windows 10
|
||
|
|
||
|
## Virtual Machine
|
||
|
|
||
|
- virtio drivers are required during the installation process. They can be found here: https://github.com/virtio-win/virtio-win-pkg-scripts/blob/master/README.md
|
||
|
- Enable remote desktop
|
||
|
- Hide all the random crap in the start menu and taskbar (weather, news, giant grid of apps)
|
||
|
|
||
|
### To do
|
||
|
- [ ] Fix shutdown command from PVE
|
||
|
|
||
|
## Guest agent
|
||
|
https://pve.proxmox.com/wiki/Qemu-guest-agent
|
||
|
|
||
|
> First you have to download the virtio-win driver iso (see Windows VirtIO Drivers).
|
||
|
>
|
||
|
> Then install the virtio-serial driver:
|
||
|
> - Attach the ISO to your windows VM (virtio-*.iso)
|
||
|
> - Go to the windows Device Manager
|
||
|
> - Look for "PCI Simple Communications Controller"
|
||
|
> - Right Click -> Update Driver and select on the mounted iso in DRIVE:\vioserial\<OSVERSION>\ where <OSVERSION> is your Windows Version (e.g. 2k12R2 for Windows 2012 R2)
|
||
|
>
|
||
|
> After that, you have to install the qemu-guest-agent:
|
||
|
> - Go to the mounted ISO in explorer
|
||
|
> - The guest agent installer is in the directory guest-agent
|
||
|
> - Execute the installer with double click (either qemu-ga-x86_64.msi (64-bit) or qemu-ga-i386.msi (32-bit)
|
||
|
|
||
|
## Basic software
|
||
|
|
||
|
### Terminal
|
||
|
|
||
|
You can try doing it through the windows store but that was giving me issues if I didn't log into a microsoft account.
|
||
|
Instead just use this command from powershell
|
||
|
|
||
|
```powershell
|
||
|
winget install --id Microsoft.WindowsTerminal -e
|
||
|
```
|
||
|
|
||
|
### Downloads
|
||
|
|
||
|
- [Chrome](https://www.google.com/chrome/index.html)
|
||
|
- [Firefox](https://www.mozilla.org/en-US/firefox/download/thanks/)
|
||
|
- [7-zip](https://www.7-zip.org/)
|
||
|
- [git](https://git-scm.com/download/win)
|
||
|
- [Tortoise Git](https://tortoisegit.org/download/)
|
||
|
- [WinDirStat](https://windirstat.net/download.html)
|
||
|
- [Greenshot](https://getgreenshot.org/downloads/)
|
||
|
- [Python](https://www.python.org/downloads/)
|
||
|
|
||
|
### Resize Boot Disk
|
||
|
|
||
|
The boot disk includes a recovery partion after the `C:` partition so increasing the partition size after resizing the virtual disk is problematic.
|
||
|
|
||
|
From admin powershell:
|
||
|
|
||
|
```powershell
|
||
|
reagentc /info
|
||
|
reagentc /disable
|
||
|
reagentc /info
|
||
|
```
|
||
|
|
||
|
This should now report `Disabled`
|
||
|
|
||
|
Now it's time to remove the recovery partition
|
||
|
|
||
|
```powershell
|
||
|
diskpart
|
||
|
```
|
||
|
|
||
|
From within `diskpart` run the following (changing the disk and partition numbers of course)
|
||
|
|
||
|
```
|
||
|
list disk
|
||
|
select disk 0
|
||
|
list partition
|
||
|
select partition 3
|
||
|
delete partition override
|
||
|
exit
|
||
|
```
|
||
|
|
||
|
Then from the disk management GUI, extend the `C:` partition to fill the disk.
|