统一写过滤器(UWF)

关闭uwf

uwfmgr filter disable

开启uwf

uwfmgr filter enable

设定硬盘缓存模式,之前默认是RAM内存缓存模式

uwfmgr overlay set-type Disk

设置覆盖大小

# 最大大小
uwfmgr overlay set-size xMB
# 严重阈值:
uwfmgr overlay set-criticalthreshold
# 警告阈值
uwfmgr overlay set-warningthreshold

要将特定文件或文件夹添加到排除项,请运行以下命令:

uwfmgr file add-exclusion c:\labs
uwfmgr file add-exclusion c:\labs\report.docx

# 移除
uwfmgr file remove-exclusion c:\Users

设置保护的盘,如果你要保护c盘

uwfmgr volume protect c:

:一定要有

获取配置

uwfmgr.exe get-config