Tag Archives: citrix

Citrix Xendesktop enable logging on VDI machines

1.     Create a new directory called e:\vdilogging\.
The Network and Local service accounts need to have write access to this folder. If you using vdisk in standard mode, remember to save it on locally harddrive.

2.     Go to c:\Program Files\Citrix\Virtual Desktop Agent\

3.     Open WorkstationAgent.exe.config with notepad

4.     Goto <appSettings>.

5.     Within the <appSettings> tag, insert the following lines:

<add key="LogToCDF" value ="1"/>
<add key="LogFileName" value ="C:\ctxlogging\vda.log"/>

6.     Then you need to restart you desktop machine

Windows cannot print due to a problem with the current printer setup

I have this error on my Citrix servers, where one user cannot print to one printers, while others user could.
“Windows cannot print due to a problem with the current printer setup”

The Danish error:
windows kan ikke udskrive pga. problemer med den nuværende printerindstilling

The fix was:

  1. Log on as the user have the problems
  2. Delete all printers in: devices and printers.
  3. Start regedit
  4. Navigate to: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices
  5. And delete all entry here, beware of not delete any entry that there still exist in devices and printers

The problems was that some printers are created with:

“\\\\server.domain\printname”=”winspool,Ne-01:”

will others are created with:

“\\\server.domain\printname”=”winspool,Ne35:” without the hyphen, and that seam to be the problems.