After creating a Server 2019 virtual machine in Hyper-V and loading apps, I ran Syspre.exe /generalize /oobe /shutdown /mode:vm and everything appeared to work just fine.
After creating a new virtual machine and configuring it to use that hard drive it booted and again, everyting appeared to be ok.
Then after some looking at things, I noticed that the computer name, WIM-H12FDIOSJHE
was different from the name showing as the device name in Printers and Devices, WIM-HDIUEWIHRRT
I can change the computer name, but it does not change the device name.
If I don't use the mode:vm option with sysprep I don't have this problem. Is this a bug in Sysprep, Server 2019, or Hyper-V?