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?
beckhoff will not support TwinCAT 4024.x on Windows 11
I’m glad I saw this! I recently began following the YouTube series on TwinCAT dev and was tempted to install directly to my Windows 11 machine. However, for the sake of parity with the videos I decided to go down the VBox route instead.
If I’m not mistaken Beckhoff will be releasing something like 4027 to support Windows 11?
I got it confirmed yesterday at the “Automation Update” by Dr.-Ing. Josef Papenfort product manager of TwinCat that the XAR 4024 will never come for Windows 11 24H2.
“Hi, is it possible that I have installed TwinCAT 4024.47 on my PC without a VM, even though I’m running Windows 11 24H2, and it still works normally?”
Hi, for runtimes I would not suggest using windows 11 and 24h2. My employer forced my personal developement laptop to windows 11 recently and I encountered the scale of this problem. Before we have had multible other engineering laptops with windows 11 and they are not in internet. I could just disable HyperV and virtualisation based security etc. but in this 24h2 update they made it almost impossible. I can do it yes but I need to run powershell scripts (dgreadines tool) every time if I want it to be disabled for next reboot. It took me a while to figure this out and its very anoying. There is no problems after it’s disabled and you can do everything you want with your cores etc…But I am also trying now 4026 build even that I have encountered several problems with it. I think everything will be solved with beckhoff support eventually.