Monthly Archives: June 2011

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

Limit SQL Server maximum memory SQL instance

  • Start SQL Server Management Studio
  • Connect to you SQL server instance
  • Start a “New Query”
  • And then put this into you SQLQuery1.sql window

sp_configure ‘show advanced options’,1
reconfigure with override
go
sp_configure ‘max server memory’, 4096
reconfigure with override
go

  • Then push the execute buttom, this will limit you SQL instance to 4096MB or 4GB. Please beware of, if you have multiple instance each instance you wan’t to limit

Limit SQL Server maximum memory SQL of WSUS

  • Start SQL Server Management Studio
  • Connect to \\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query
  • Start a “New Query”
  • And then put this into you SQLQuery1.sql window

sp_configure ‘show advanced options’,1
reconfigure with override
go
sp_configure ‘max server memory’, 256
reconfigure with override
go

  • Then push the execute buttom, this will limit you SQL of WSUS to 256MB, whitch should be enough.