@Eleven Yu (Shanghai Wicresoft Co,.Ltd.) Hi!
- Issues at GitHub usually are for reporting bugs, not to ask questions.
- Even if it would be appropriate to ask questions in the "win32" repo, they do not have the issues section there:
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The Win32_RDVHManagement WMI class, located in root\cimv2\TerminalServices, has a method called RdvSetupVMPermissions. Does anybody know what this method does? Which permissions does it set and how exacly?
I found this method through the Open-RDVMFirewall function (part of the RemoteDesktop PowerShell module). All what the function does is a call to RdvSetupVMPermissions. Given the function's name, I suppose that the WMI method can also somehow configure Windows Firewall?
If yes, then it should be possible to configure VM firewall from the hypervisor side even w/o having an RDVH role installed and I am very much interested in it.
Unfortunately, the official documentation is useless.
@Eleven Yu (Shanghai Wicresoft Co,.Ltd.) Hi!
Hi,
We suggest that you could post your question to GitHub.
https://github.com/MicrosoftDocs/win32/blob/docs/desktop-src/TermServ/rdvsetupvmpermissions-win32-rdvhmanagement.md
Thanks,
If the Answer is helpful, please click "Accept Answer" and upvote it.