xendesktop 向现有桌面组中的单独桌面分配用户时报错
错误提示:操作与现有的桌面分配不兼容
原因是使用sdk将该桌面分配给了特定的ip地址 使用get-brokerprivatedesktop test\win7-03 可以查看该计算机的分配情况:
PS C:\Program Files\Citrix\Desktop Studio> get-brokerprivatedesktop 2k8\win7-03
AgentVersion :
AssignedClientName :
AssignedIPAddress : 192.168.101.200
ColorDepth :
ControllerDNSName :
DNSName : WIN7-03.2k8.com
Description :
DesktopGroupUid : 2
HostedMachineId :
HostedMachineName :
HostingServerName :
HypervisorConnectionUid :
使用 PS C:\Program Files\Citrix\Desktop Studio> set-brokerprivatedesktop 2k8\win7-03 -AssignedIPAddress $null
可以取消ip地址分配设置
-AssignedIPAddress <String>
Changes the IP address assignment of the desktop. Set this to $null to
remove the assignment. Desktops can be assigned to multiple users, a si
ngle IP address, or a single client name, but only to one of these cate
gories at one time.