Having grey screen issues with CVAD 2203+ and higher on Windows Server 2022 Terminal server? I had this issue occurring on Citrix 2212. Try running this script. It might help you out. Do a VM backup or snapshot before running the script, just to be sure.
If you need to renew the Always On VPN IKEv2 server certificate, here are three lines that will help you. Assuming you have the right certificate and the thumbprint, execute the following commands on the VPN server:
Migrating the Citrix Site database to a new database server is pretty straight forward but needs to be planned since there is a downtime when making the switch.
First of all, take a backup of the database with SQL Server Management Studio and restore the database on the new server:
Select the file that has just been backed up.
Run a new query with CTRL + N and add the DDC’s (Delivery Controller) computer account:
create login [domain\ctx1$] from windows
Make sure the computer account has proper roles under Security > Logins > domain\ctx1$ > right click > properties (the computer account needs to have all permission ending with _ROLE in all three databases).
Step 1 is to remove the old database connection string:
Step 2 is to check whether you are able to connect to the new database server. If that does not work, the SQL Server Ports (UDP 1434 for SQL Server Browser and a high port for the SQL server instance) need to be enabled in Windows Firewall. You might also need to enable TCP/IP in SQL Server configuration manager if you are using SQL Server Express.
On the first day of a new year (for me it was the second day) Microsoft gave us a present to work on that affects Exchange servers. Affected systems could not send or receive mails, messages would get stuck in message queue with the error “Message deferred by categorizer agent”. Here are the two relevant event viewer entries:
The issue here is that the malware filter could not scan the message because of this error (it has to do with date time not fitting into 32 bit integers anymore) and the message would not get sent to the recipient. To temporarily resolve the issue, you can disable antimalware.
If you need to change a synced AD account with an Exchange Online mailbox into a cloud-only user, these are the steps you need to take:
Move the user to an OU that is not synced by AD Connect and run a delta sync on the AD Connect server (or wait for 30 minutes):
Start-ADSyncSyncCycle -PolicyType Delta
The mailbox is now in the “Soft deleted” state, which means that it is deleted but can be restored within 30 days. To view the soft deleted mailbox run this command:
Now link the deleted mailbox with the cloud-only user. The cloud-only user has already been created in my case. You will need to insert the user’s password in order to proceed.