Questions tagged [uwfmgr]

11 questions
3
votes
1 answer

Enable UWF via WMI

I am writing a program that needs to enable UWF. Unfortunately, I have no experience with the WMI interface and the UWF documentation has no C# or .NET examples. When I enable UWF, I get an exception: 'Invalid method Parameters(s)'. But, according…
Zavulon
  • 121
  • 8
3
votes
4 answers

UWF_Volumes has no entries with CurrentSession=False

since some time now I try to figure out how to correctly setup this new UWF (Unified Write Filter). Unfortunately it seems there is only documentation for Win 8.1 industry (here), not for Win 10. I hope there were no relevant changes since. I also…
casiosmu
  • 797
  • 1
  • 8
  • 22
3
votes
2 answers

How to get registry and file exclusions from UWF using WMI query in C#

I want to get all registry exclusion and file exclusion from UWF, using the WMI. I've already tried to invoke GetExclusions methods from UWF_RegistryFilter class but of no luck. I am looking forward to a working sample code, thanks in advance for…
1
vote
1 answer

UWF: get CurrentEnabled value via VBS

I'm trying to create a simple vbs script to get UWF status: Set objWMIService = GetObject("winmgmts:\\.\root\StandardCimv2\embedded:UWF_Filter") WScript.Echo objWMIService.CurrentEnabled The output is null even if I run it as administrator.
Tognolo
  • 456
  • 3
  • 15
1
vote
1 answer

How to control the UWF Unified Write Filter Access from a C# Application?

I have a PC with Windows IOT Enterprise and would like to control (turn on or off and set exclusions) the UWF from my C# application. I tried to access the uwfmgr.exe with System.Diagnostics.Process. I tried two approaches and they differ in the…
Nelf
  • 19
  • 5
1
vote
2 answers

UWF uwfmgr.exe doesn't do anything

Bear with me please, since I don't know that much about Windows – I'm trying to set up UWF (Unified Writing Filter) here on my mac through a Parallels installation of Windows 10. I found out how to enable UWF through the Control Pane, which I did. I…
overdub60
  • 718
  • 1
  • 6
  • 11
0
votes
0 answers

UWF Shutdown/Restart - different behaviour in Windows LTSC 2019 and 2021

I use a powershell script to configure Windows Unified Write Filter (UWF) and restart afterwards like this: $NAMESPACE = "root\standardcimv2\embedded" $objUWFFilter = Get-WMIObject -namespace $NAMESPACE -class UWF_Filter # some…
ooLi
  • 63
  • 6
0
votes
0 answers

How to get OverlayFlags and OverlayCommit of Unified Write Filter with WMI-to-CSP Bridge?

OS is Windows 10 IoT Enterprise 21H2 with all necessary updates. Accorting this article i can get values of OverlayFlags and OverlayCommit from CSP. Scheme of CSP is here. According this capter i can use WMI-to-CSP Bridge to cponfigure settings with…
Vovsla
  • 1
0
votes
2 answers

Self-extracting executable do not recognize an existing command in System32

I'm developing a stack of Windows Batch scripts (.bat) which are subsequently converted to self-extracting executabled. Currently I'm facing a really strange problem. I create this self-extracting executable, which, after extracting all the files,…
0
votes
1 answer

WMI: Querying a specific instance of a class

I want to make changes to the config of Microsoft Windows UWF Filter (uwfmgr.exe) via WMI in C#. Now certain changes can only be done to a specific instance of the WMI class due to their nature. For example: var scope = new…
clamp
  • 33,000
  • 75
  • 203
  • 299
0
votes
1 answer

How to know if UWF is enabled or disabled

How do I know if the UWF is enabled or disabled? I'm making an application with C # so I need to know for that language. Thank you
fede186
  • 89
  • 8