安装MongoDB报错Verify that you have sufficient privileges to start system services

安装MongoDB报错Verify that you have sufficient privileges to start system services

在安装安装MongoDB4.1.6版本时候,报错如上图:请确认你有足够的权限来启动系统服务

解决办法:

方法一:安装MongoDB4.0.0以下版本,例如3.6.9版本。(但我并不想用低版本)

方法二:我浏览了很多关于解决这个报错的博客,有的说将安装路径改成英文即可,我试了一下并没有解决,于是我果断放在根目录下
安装MongoDB报错Verify that you have sufficient privileges to start system services

居然意外的成功了!