Machsupport Forum

Third party software and hardware support forums. => PoKeys => Topic started by: JesseB on September 15, 2023, 04:41:47 AM

Title: Issues communicating PoKeys57CNC and Mach4 running on Windows 11 Home PC
Post by: JesseB on September 15, 2023, 04:41:47 AM
Some background Information

I am using a Windows 11 Home PC to control a plasma cutting machine. The windows 11 machine uses Mach4 as the interface for controlling the plasma cutter and a PoKeys57CNC as the control board for the CNC.

The PC stuff

I am trying to create a sort of single app mode for the PC so that when I sign in to a specific user account, only Mach4 will run, and no other app. I have succesfully managed to create this Kiosk Mode by modifying registry entries, such as:


This has resulted in a working Kiosk mode, but produces issues with the Mach4 connection to PoKeys. In the Shell entry I have a custom powershell script that loads on every sign in and which dictates what gets runs while the user is signed in.
In this case, my script basically creates the virtual Z drive (using `subst`), and starts the Mach4 application. Lastly, when Mach4 closes it signs out of the user account.

I have tried to figure out what the issue could be and have found a few interesting things that might be able to allow someone more knowledgeable than me to figure it out as I haven't managed it yet.