本文介绍了UWF WMI API OverlayConfig.SetMaximumSize不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们公司,我们正在开发基于Windows 10 LTSC的嵌入式设备,并启用了UWF写过滤器。我们正在制作我们自己的后台服务,可以为我们处理各种UWF功能。


目前我们无法设置最大叠加尺寸(https://docs.microsoft.com/en-us/windows-hardware/customize/enterprise/uwf- overlayconfigsetmaximumsize),错误消息是未经授权。每个其他命令都工作
罚款,这是唯一一个造成麻烦的人。我们尝试以编程方式使用提升的权限运行命令,但由于某种原因,无法在localhost上执行AFAIK。


来自Annabooks的UWF实用程序可以设置最大叠加大小,因此我们不知道这是如何实现的。我试着看看网站上提供的UWF实用程序的源代码,但是对于版本1.0.0.0而不是2.0.0.0,可以在网站上单独下载




所以我想问,是否有可能获得UWF Utility 2.0.0.0的源代码?如果没有,只是关于设置最大覆盖大小的一块将是巨大的帮助。

解决方案


In our company we are working on an embedded device based on Windows 10 LTSC with UWF write filter enabled. We are making our own background service that can handle various UWF features for us.

Currently we are having trouble setting the maximum overlay size ( https://docs.microsoft.com/en-us/windows-hardware/customize/enterprise/uwf-overlayconfigsetmaximumsize ), with the error message being it is not authorized. Every other command is working fine, this is the only one causing trouble. We tried to programmatically run the command with elevated privileges, but that AFAIK it is not possible on localhost for some reason.
The UWF utility from Annabooks can set the maximum overlay size, so we are left wondering how this was possible. I tried taking a look at the source code for the UWF Utility supplied on the website, but that is for version 1.0.0.0 and not 2.0.0.0 that is offered as a separate download on the website.

So I am asking, is it possible to obtain the source code for UWF Utility 2.0.0.0? If not, a just a piece concerning setting maximum overlay size would be immense help.

解决方案


这篇关于UWF WMI API OverlayConfig.SetMaximumSize不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-16 01:52