在计算机目录添加新的桌面时出现 Error :ADAccountName

这个原因是因为计算机目录里面有已经被AD域删除的账号。
解决办法:
一.Powershell解决办法
Run these power-shell commands to remove your orphaned AD accounts.
- Open Citrix Studio from a Controller.
- Launch powershell.
- Type “Get-AcctADAccount -State Available” (without the quotes) to see your orphaned AD accounts.
- Determine the Identity Pool Name your orphaned accounts are in.
- Determine the AD Account SID Name of your orphaned accounts (you’ll have to use the SID name, because the AD Account Name will be blank).
- Type the following to remove the orphaned accounts:
“Remove-AcctADAccount -IdentityPoolName General -ADAccountSid S-1-5-21-2931136610-426972087-2848873238-65689”
“General” is my pool name, and “S-1-5-21-2931136610-426972087-2848873238-65689” is the SID of my orphaned account. - Type “Get-AcctADAccount -State Available” again to verify the orphaned account was deleted.
二.DDC界面解决办法
1.选中出现错误的计算机目录

2.删除红框里面的S-1开头的无效账户,然后关闭。

3.重新在计算机目录里面添加新计算机。
No Comments