Citrix, XenDeskTop

Citrix DDC Error :ADAccountName

2021年3月3日

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

这个原因是因为计算机目录里面有已经被AD域删除的账号。

解决办法:

一.Powershell解决办法

Run these power-shell commands to remove your orphaned AD accounts. 

  1. Open Citrix Studio from a Controller. 
  2. Launch powershell. 
  3. Type “Get-AcctADAccount -State Available” (without the quotes) to see your orphaned AD accounts. 
  4. Determine the Identity Pool Name your orphaned accounts are in. 
  5. 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). 
  6. 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. 
  7. Type “Get-AcctADAccount -State Available” again to verify the orphaned account was deleted.

二.DDC界面解决办法

1.选中出现错误的计算机目录

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

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

You Might Also Like

No Comments

Leave a Reply

%d 博主赞过: