UWF _ 卷。取消保护UWF_Volume.Unprotect
在下一次系统重新启动后禁用卷的 UWF 保护。Disables UWF protection of the volume after the next system restart.
语法Syntax
UInt32 Unprotect();
参数Parameters
无。None.
返回值Return Value
返回一个 HRESULT 值,该值指示 wmi 状态 或 wmi 错误常数。Returns an HRESULT value that indicates WMI status or a WMI error constant.
备注Remarks
取消保护卷不会从 UWF 配置注册表中删除 uwf _ 卷 条目或任何配置设置。Unprotecting the volume does not remove the UWF_Volume entry or any configuration settings from the UWF configuration registry. 这意味着你可以取消对某个卷的保护,以后再对其进行保护,同时保留你定义的任何文件排除项或卷配置。This means that you can unprotect a volume, and then protect it again later, while keeping any file exclusions or volume configurations that you have defined.
要求Requirements
Windows 版本Windows Edition | 支持Supported |
---|---|
Windows 10 家庭版Windows 10 Home | 否No |
Windows 10 专业版Windows 10 Pro | 否No |
Windows 10 企业版Windows 10 Enterprise | 是Yes |
Windows 10 教育版Windows 10 Education | 是Yes |