Windows Server 2019 plex doesn’t use full CPU power for transcoding

You can use this PMS as a service
or you can use nssm.exe
Either will work. The latter requires you to install updates manually.

In general, video decoding in hardware won’t work. Windows is preventing services direct access to the hardware drivers which are required for hardware transcoding.