I have successfully migrated a test Windows server 2022 to Proxmox. Yay! 
The server boots and appears to be working perfectly. . Double Yay!

However, when I issued the command to import the disk:
qm importdisk 101 /var/lib/vz/template/qcow/WIN-4GSGQMJ1U8A.qcow2 local-lvm
The progress showed
….. of 476.94 GB
And the final machine has disk size 488388M (476.9GB)
The original C: on the Physical server was 96.52 GB but only using 18.77GB.
The WIN-4GSGQMJ1U8A.qcow2 file is only 19GB (give or take)
When I boot the migrated server on Proxmox C: is 96.5GB
How / where has the extra 380GB come from?
How can I reduce the size of the disk to the correct size?

The server boots and appears to be working perfectly. . Double Yay!


However, when I issued the command to import the disk:
qm importdisk 101 /var/lib/vz/template/qcow/WIN-4GSGQMJ1U8A.qcow2 local-lvm
The progress showed
….. of 476.94 GB
And the final machine has disk size 488388M (476.9GB)
Code:
root@pve001:/var/lib/vz/template/qcow# qm config 101
bios: ovmf
boot: order=sata0
cores: 4
cpu: x86-64-v2-AES
efidisk0: local-lvm:vm-101-disk-2,efitype=4m,pre-enrolled-keys=1,size=4M
ide2: none,media=cdrom
machine: pc-i440fx-10.0+pve1
memory: 8000
meta: creation-qemu=10.0.2,ctime=1760955315
name: Winserver2022
net0: virtio=BC:24:11:0F:7B:22,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
sata0: local-lvm:vm-101-disk-1,size=488388M
scsihw: virtio-scsi-pci
smbios1: uuid=73090d36-0f52-4c5c-ac4e-5f9ef9cfdfe9
sockets: 1
usb0: host=1-11
vmgenid: 4091f29f-6545-49fd-a70f-28acb19b47a7
The original C: on the Physical server was 96.52 GB but only using 18.77GB.
The WIN-4GSGQMJ1U8A.qcow2 file is only 19GB (give or take)
Code:
-rwxr-xr-x 1 root root 19385352192 Oct 20 15:59 WIN-4GSGQMJ1U8A.qcow2
When I boot the migrated server on Proxmox C: is 96.5GB
How / where has the extra 380GB come from?
How can I reduce the size of the disk to the correct size?