I intsalled MongoDB on my windows 11 computer, but when i run mongosh in my cmd it returns access denied
>mongosh access Denied
this is what appears when i run the command
i tried uninstalling and reinstalling and adding it to the environment variables.
C:\Program Files\MongoDB\Server\7.0\bin
You can run this by enabling Compatibility mode of mongosh exe file. Check this post for detailed answer: https://answers.microsoft.com/en-us/windows/forum/all/this-app-cant-run-on-your-pc/f94db755-9416-470a-9532-de9dc6ec53d2