本方法适用Windows service全系

代码:

diskperf -y

用管理员权限打开cmd权限