MT5 Opens then shuts down immediately on Windows 11

 
Hey guys, My MT5 opens then shuts down immediately. I have tried uninstalling it and installing it but its not working. What could be the issue?. 
 
Look into MT5 logs and system logs for errors. Did MT5 run normally before? If yes, what has been changed since then? Provide this info, MT5 build number and other relevant info for troubleshooting. Try to clean up or temporary rename /config folder before starting MT5, and see if it helps.
 
Stanislav Korotky #:
Look into MT5 logs and system logs for errors. Did MT5 run normally before? If yes, what has been changed since then? Provide this info, MT5 build number and other relevant info for troubleshooting. Try to clean up or temporary rename /config folder before starting MT5, and see if it helps.
Thank you so much. I renamed the config folder and it now works perfectly fine. you are definately heaven sent, I was panicking