When you create new machines in machine catalog, only some of the computer accounts would be created, and some other ad accounts would be created from citrix end, but in AD, it doesnt create those accounts.
you can check them by powershell:
1 2 Add-pssnapin citrix\* Get-AcctADAccount -IdentityPoolName machinecatalogname | ? {$\_.State -eq "Available" -and !($\_.ADAccountName)} Get the ADAccountSid value from above command, and use below command to remove those orphan AD accounts from citrix.
First view existing resources using below process:
Open powershell console and run below commands:
1 2 Add-pssnapin citrix\* Get-ProvScheme -ProvisioningSchemeName MachineCatalogName To update master image, follow steps given here:
https://www.knowcitrix.com/posts/find-master-image-used-by-machine-catalog-and-update-master-image-steps/
To increase cpu and hard disk size, you need to open master image, create new snapshot and update that snapshot as given in above link.
To change network resources, follow any one of the below steps as per your requirement:
Issue:
In one of the citrix sites that we had, all the user assignments to their existing static VDIs were removed automatically. This issue occurred every two weeks. None of the VDIs are deleted but when users login, they would get a new machine.
Solution:
In xendesktop logging tab, when I search with word “remove user” it shows me a lot of entries but only one user id is doing it.
Issue:
Not able to provision any new VDIs to existing machine catalog. All the existing machines work fine.
Solution:
As per https://support.citrix.com/article/CTX213019, enabled enableHttpDataStoreAccess value on vcenter but it didnt help. Thought to create new cluster in vcenter and move some hosts to it and add it to xendesktop, and publish new VDIs to it. As a part of this process, created new cluster, moved some hosts to it. One of the hosts in earlier old cluster was moved to maintenance mode because it was not moving all the VMs from it.
Till xa 6.5, we had direct option to remove services site shortcuts for citrix apps. From xd 7.X, we have to use command line to do the same. So, use a script like this:
if “%PROCESSOR_ARCHITECTURE%"==“AMD64” goto 64BIT
echo 32-bit OS
start "” /wait “C:\Program Files\Citrix\ICA Client\SelfServicePlugin\SelfService.exe” -logoff
goto END
:64BIT
echo 64-bit OS
start "" /wait “C:\Program Files (x86)\Citrix\ICA Client\SelfServicePlugin\SelfService.exe” -logoff
:END
Create a logoff policy via gpo or copy above script bat file to logoff folder in user’s machine.
Scenario:
In your current organization, you have different xendesktop sites, one for prod, one for dev, one for testing or one for win7, one for win10 etc. You have to add all the xendesktop controller servers in your director to populate them in your director website.
Here is how to do it:
login to your director server and open inetmgr Click on your server name, site, default web site, director as shown below: To the right, In ASP.
In XenDesktop we have the facility to enable audit logs on our site so that we can find who is doing what on our citrix site. But unfortunately in studio, under logging option,we can only see limited logs(only till last 6 months). We need to use powershell to see more logs. Use below commands to see logs on 24/Jan/2018 from 11:00 AM till 4:00 PM.
Add-pssnapin citrix*
Get-LogHighLevelOperation -Filter{ StartTime -ge “2018-01-24 11:00:00” -and EndTime -le “2018-01-24 16:00:00”}
Find Master image: We don’t have the option to view the master image used by machine catalog in citrix studio directly. We need to go through powershell to view the master image details. Here is the command:
**Add-PSSnapin citrix* ** - to load citrix commands
Get-ProvScheme - to see the provisioning scheme for all the machine catalogs
Get-ProvScheme -ProvisioningSchemeName “Machine catalog name” - to see provisioning scheme for one particular machine catalog.
User is already part of the group which is published for citrix application. But still when user tries to login, they recieve access denied error.
When you check on citrix application properties, we have a AD group, and user is already part of this AD group. Interesting point is, only one user might have this issue and all existing other users in that group, and any new users added to this AD group will not have any errors.
For any user profile issues, you’d try to delete the user profile folder from Citrix app server. When user tries to login again, it creates a new profile on the server. Every profile has a folder in C:\users folder and a registry key associated with it. When deleting the profile, if you delete the folder with username in C:\users folder, it will not delete the registry key for that user. For this, goto beloow path in My computer properties given here.