# 安裝 Windows10 VM

{% embed url="<https://pve.proxmox.com/wiki/Windows_10_guest_best_practices>" %}

![](/files/-Lt8ZsbGryzyl25MeeN0)

### 啟動前設定

![](/files/-Lt8eqUqAhVW7O-6maQz)

啟動後，啟用ｓｐｉｃｅ

<div align="left"><img src="/files/-Lt8fbW6FMG06iUBQ_4r" alt=""></div>

### 加入音效卡

{% embed url="<https://pve.proxmox.com/wiki/SPICE#Using_Audio>" %}

nano /etc/pve/nodes/pve/qemu-server/105.conf

```
args: -device intel-hda,id=sound5,bus=pci.0,addr=0x18 -device hda-micro,id=sound5-codec0,bus=sound5.0,cad=0 -device hda-duplex,id=sound5-codec1,bus=sound5.0,cad=1
```

```
agent: 1
bootdisk: ide0
cores: 2
hotplug: disk,network,usb
ide0: local-zfs:vm-105-disk-0,size=32G
ide2: local:iso/virtio-win-0.1.173.iso,media=cdrom,size=385062K
memory: 4096
name: win10
net0: virtio=E2:55:1D:AD:D7:C0,bridge=vmbr1,firewall=1
numa: 0
ostype: win10
scsihw: virtio-scsi-pci
smbios1: uuid=2b93c596-64a1-4ed0-99e2-ccd7c91afb3f
sockets: 1
vga: qxl
vmgenid: d885699f-39d1-4019-9219-958cceb2bd25
args: -device intel-hda,id=sound5,bus=pci.0,addr=0x18 -device hda-micro,id=sound5-codec0,bus=sound5.0,cad=0 -device hda-duplex,id=sound5-codec1,bus=sound5.0,cad=1

```

### 啟用音效

![](/files/-Lt8nqwE6c_h8EUoZIGz)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kawsing.gitbook.io/opensystem/andoid-shou-ji/pomoxve/an-zhuang-windows10-vm.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
