since a while ST-LINK Utility (STSW-LINK004) is not recommended for new design (NRND) anymore and also not tested under Windows 11. We strongly recommend to use STM32CubeProgr instead, which also runs an all important platforms.
Does it answer your question?
Regards
/Peter
In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
It's not clear what the "can't do it" part describes.
With older software there is often a need to marshal all the correct Microsoft Redistributable packages, usually seen via pop-ups or 0xC0000135 (STATUS_DLL_NOT_FOUND) type errors.
In trouble-shooting issues over at the uBlox forum I found this collection, and this saved fishing specific ones off the Microsoft site, and multiple attempts to find the right one in cascading dependency failure cases.
Just install a single universal package, which combines all versions since Visual Studio 2015. ST-LINK Utility is 32-bit application, therefore it needs x86 version.