SuperCollider startup problem

In a recent setup, where as usual I’m using Windows 11 Pro and the latest version of SuperCollider, I’ve experienced more difficulties than usual in getting the setup to work.

Every time I launch SuperCollider, the boot fails and I get the following error message (translated below):

On some Windows-based machines, Windows Defender sometimes delays server boot by one minute. You can add scsynth.exe and/or supernova.exe *processes* to Windows Defender exclusion list to avoid this delay. It's safe.
*** ERROR: LoadLibrary 'C:\Users\mine\AppData\Local\SuperCollider\Extensions\SC3plugins\MCLDSOMUGens.scx' err 'Un criterio di controllo dell'applicazione ha bloccato il file.

I’m translating the second part into English:

*** ERROR: LoadLibrary 'C:\Users\mine\AppData\Local\SuperCollider\Extensions\SC3plugins\MCLDSOMUGens.scx' err 'An application control policy has blocked the file.'

In general, in all the setups I do, besides adding the environment variables to Windows, I also add the three processes scsynth.exe, sclang.exe, and scide.exe to the Windows Defender exceptions. Just to be safe, I also usually add the entire SuperCollider installation folder (I still haven’t figured out which method actually works best).

Well, despite all this and several restarts — in situations where, sooner or later, SuperCollider would usually manage to start — this time it doesn’t. The process stops and I get this error message.

Has anyone encountered this before? Does anyone know what might be causing it?
Thanks a lot for your help.
Best,
n

There’s the SC installation folder, and also two app support folders (one systemwide, one per user). C:\Users\mine\AppData\Local\SuperCollider (copied from your error message) is the user one.

Perhaps add the Extensions folder in this location as a defender exception?

If it’s always MCLDSOMUGens.scx and you’re not using any of this group of UGens, you could also try moving that file to another location so that it isn’t loaded at all. But I’d try to add the extensions to defender first.

hjh

Thank you so much @jamshark70
I will try it!