On Windows, I have an executable that depends on some third-party libraries.
If I try to run it under cmd, an error windows appear saying "program can't start because some_third_party_library.dll is missing"
However if I try to run it under a cmd with administrative privileges, the libraries are loaded correctly and the program starts.
Looking on my system variables, these libraries path are placed inside the %Path% variables and even inside the user %Path% variable. I've check it with echo %Path%
At first, I though that it was related to some permission reason so I bring Full Control to all users, but it didn't works.
So, ¿why I need to execute that program from console with administrative privileges?