2026-01-21 3:52 AM
Hi,
after updating STM32CubeMX, I was no longer able to start the program without admin rights.
In the past, I always used STM32CubeMX integrated with STM32CubeIDE and was able to update everything without any admin rights. Starting with version 2.0.0 of STM32CubeIDE, STM32CubeMX was removed, so I installed it separately (STM32CubeMX 6.16.0). For the installation, my company's IT department selected the installation for all users, and until now I have been able to use the program without any problems.
I needed to update STM32CubeMX to the new version 6.16.1, and that's where I ran into my first problem: I couldn't update to the new version without admin rights, so I had to contact the IT department to do the update. The big problem is that after the update, I was no longer able to start the program without admin rights, and the quickest solution was to uninstall STM32CubeMX and then install version 6.16.1 directly. Now I can use the application again without any problems, but I would like to avoid uninstalling and then reinstalling for every update in the future.
Is there a way to avoid this problem?
Although I have never had this problem with STM32CubeIDE despite it being installed for “all users,” if I install STM32CubeMX only for my user (e.g., C:\Users\<name>\STM32CubeMX), would that solve the problem without causing other complications? (e.g., would STM32CubeIDE or the VS Code extension be able to open STM32CubeMX with the changed path?)
Unfortunately, without IT department and not having admin rights, I am unable to try anything in this regard.
2026-01-21 4:22 AM
Hello @marbit
Actually, it is recommended to install STM32CubeMX with “Install for me only" mode, this avoids permissions and version conflicts.
BR, Souhaib
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.