Are you developing projects for TwinCAT 4024.x and running them on Windows 11 (bare metal or VMs)? DON’T install the new Windows 24H2 update from Microsoft. This will crash your runtime and potentially give you a BSOD. Core isolation in VMs will not help. Even though the EOL for Windows 10 is coming closer and closer (October 14, this year) Beckhoff Automation are (as of yet, maybe never?) not officially supporting Windows 11 for the TwinCAT 4024 XAR.
As Microsoft now are pushing for the new 24H2 update to more and more systems, time is running out if you’re running your automated tests & software locally.
If your machine/VMs are on Windows 11 and you’re developing for 4024.x, there are a couple of things you can do:
- Disable windows update (only possible for up to 5 weeks)
- Set your VMs network adapter to be on a metered connection. Connections on a metered connection will not do windows update. See here
- Disable internet access from your VMs (if you use Git, you can mirror the repos so you can still sync up/down)
- Use the beta of the user mode runtime (check this video for how this is accomplished) instead of using the realtime scheduler
- Consider upgrading to TwinCAT 4026 (check our YouTube channel for this)
For our clients that still use TwinCAT 4024.x we’ve done a mix of the above.
Do you have any other tricks for getting TwinCAT 4024 software to run on a 24H2 machine? Write a comment below!
Is this a problem even if the VM environment is Win10 but the host runs Win11?