AFAIK, running as a scheduled task does not run PMS as a system service.
You just need to make sure to run it under your regular user account and not under the “Administrator” or “SYSTEM” Windows user account.
If you are using Remote Desktop, you might want to read Windows Remote Desktop breaks HW Transcoding (QSV) - Here's the fix!