VDI- RDP Protocol permission on Client VM- using WMIC
-
Thursday, April 08, 2010 2:18 AM
Hi,
On the each of the client VM (Win7) , i need to execute below command
wmic /node:localhost RDPERMISSIONS where TerminalName="RDP-Tcp" CALL AddAccount "ms4u\RDSVH$",1
wmic /node:localhost RDACCOUNT where "(TerminalName='RDP-Tcp' or TerminalName='Console') and AccountName='ms4u\\RDSVH$'" CALL ModifyPermissions 0,1
wmic /node:localhost RDACCOUNT where "(TerminalName='RDP-Tcp' or TerminalName='Console') and AccountName='ms4u\\RDSVH$'" CALL ModifyPermissions 2,1
wmic /node:localhost RDACCOUNT where "(TerminalName='RDP-Tcp' or TerminalName='Console') and AccountName='ms4u\\RDSVH$'" CALL ModifyPermissions 9,1
Net stop termservice
Net start termserviceBased on my understanding, RDSVH$ is refer to RD Virtualization Host. No problem on stand alone Hyper V host. Now the doubt is on HA Clustering for Hyper V.
If i'm putting all these VM as HA VM (in the cluster). What should i put for RDSVH$? Example, i got 4 Node name : Node1, Node2, Node3 and Node 4. Hyper V Cluster name is HVCluster.
Should i execute the command once using HVCluster or Execute 4 times with each Node name?
will it addon with all node name without overwrite the previous execution?
By the way, how to view the result of WMIC command that you have entered above. Pls advise
laiys

