![]() ![]() I've all the usual things like running the service as an admin and non-admin service account, as well as some odd shots like using the serial device path and doing a user impersonation on the thread that's opening the port, but nothing has worked. If I run my service as a stand-alone executable in a user context it works fine. On a physical machine, but when I redirect the USB device from either a thin client or fat PC running Citrix Receiver or MSTSC it fails in the service with access denied. Hey, I have a Windows service that is accessing a USB serial port adapter by enumerating USB devices and finding the device, isolating the COM port it shows up as, and then just uses CreateFileA() to open the path \\\\.\\COMx. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |