Hi yin_jun,
你两次安装的都是SSMS 17吗?你检查一下你的机子上是不是安装了Microsoft Visual C++ 2017 Redistributable,如果有的话,先把它卸载掉,然后重新安装Microsoft Visual Studio 2015 Shell (Isolated),然后再把Microsoft Visual C++ 2017 Redistributable安装回去。
另外,一般卸载SQL Server和SSMS的时候不要去修改注册表。直接在控制面板里的卸载和修改程序里面卸载就可以了。
Best Regards,
Teige
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.