UWF _ 筛选器。 ResetSettingsUWF_Filter.ResetSettings

将 UWF 设置还原为原始配置设置。Restores UWF settings to the original configuration settings.

语法Syntax

UInt32 ResetSettings();

参数Parameters

无。None.

返回值Return Value

返回一个 HRESULT 值,该值指示 wmi 状态wmi 错误Returns an HRESULT value that indicates WMI status or a WMI error.

备注Remarks

你必须使用管理员帐户来重置 UWF 设置。You must use an administrator account to reset UWF settings.

使用 " 打开或关闭 Windows 功能 " 将 uwf 添加到设备后,首次启用 uwf 时会捕获原始配置设置。The original configuration settings are captured the first time that you enable UWF after you add UWF to your device by using Turn Windows features on or off. 你可以使用 "打开或关闭 Windows 功能 " 来更改原始配置设置,以删除并添加 UWF,然后在启用 uwf 之前将配置修改为所需状态。You can change the original configuration settings by using Turn Windows features on or off to remove and then add UWF, and then modifying the configuration to the desired state before you enable UWF.

如果在 unattend.xml 文件中使用 SMI-S 设置将 UWF 添加到设备中,则在设备上安装 Windows 10 Enterpriseis 时会捕获原始配置设置。If you added UWF to your device by using SMI settings in an unattend.xml file, the original configuration settings are captured when Windows 10 Enterpriseis installed on your device.

要求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

UWF _ 筛选器UWF_Filter

统一写入筛选器Unified Write Filter