Win+R => regedit => 可以去HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Session Manager\Environment下,右边找到path,把数值复制到HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment的右边path
通过查找发现不论你整么改path,在ControlSet002下的path都不会变。
![](http://upload-images.jianshu.io/upload_images/11115828-f942883a66c8e5dd.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/494/format/webp)
而在ControlSet001下的path会是你改变后的值
![](http://upload-images.jianshu.io/upload_images/11115828-9dbd6af1739a13de.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/523/format/webp)