RdvSetupVMPermissions WMI method - what exactly does it do?

Kirill Nikolaev 1 Reputation point
2020-10-23T20:23:01.607+00:00

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.

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,536 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,234 questions
Windows Server Management
Windows Server Management
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Management: The act or process of organizing, handling, directing or controlling something.
421 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Eleven Yu (Shanghai Wicresoft Co,.Ltd.) 10,676 Reputation points Microsoft Vendor
    2020-10-26T06:07:49.457+00:00

    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,

    Eleven

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  2. Kirill Nikolaev 1 Reputation point
    2020-10-26T06:30:51.077+00:00

    @Eleven Yu (Shanghai Wicresoft Co,.Ltd.) Hi!

    1. Issues at GitHub usually are for reporting bugs, not to ask questions.
    2. Even if it would be appropriate to ask questions in the "win32" repo, they do not have the issues section there:
      34894-image.png