Home » xenapp » Page 2

Tag: xenapp

Recreate or Publish the Windows Printers Folder (Win7 or 2008)

The following commands will recreate or open a ‘Printers’ folder

rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL PrintersFolder

%windir%explorer.exe /e,::{2227A280-3AEA-1069-A2DE-08002B30309D}

control.exe printers

This can be used to publish a printers folder via Citrix XenApp

%windir%explorer.exe /e,::{2227A280-3AEA-1069-A2DE-08002B30309D

Appsense Hiving for users Printers but default not saving?

Situation:

we had migrated our desktop from Xenapp 5.0 on w2008 sp2 (non r2) to XenApp6.5 2008 R2. This included an upgrade to Appsense 8.3 and introduction of Appsense personalisation.

Older applications still left on the old desktop needed the printer settings from the new desktop.

We had to set our new Appsense EM to hive the printer settings to the users home drive. (which was the old way)

Then on the old desktop (which was already hiving) the printers would be imported.

Hiving HKCUPrinters

Printing directly from the old desktop to the printers in question already worked, so it was not driver or server related.

 

Problem:

The old desktop and applications were getting the printers, but some apps would not get any printers and the default printer was not being set correctly.

Solution:

You also need to hive out

HKCUSoftwareMicrosoftWindows NTCurrentVersionWindows

KeyName: Device

Type: REG_SZ

Data: \serverprinter,winspool,Ne00:

Older applications that ccould only see the default printer then worked, as did the default setting of the printer

(Thats assuming that the provided default printer was of course installed, its drivers available etc)

 

Path Examples:

Home Drive

“\servershare\usernameHIVEPATHRegistryPrinters.%domain%__%username%”

“\servershare\usernameHIVEPATHRegistrySoftware{;bks}Microsoft{;bks}Windows NT{;bks}CurrentVersion{;bks}Windows.%domain%_%username%”

 

 

 

PDF Converter Script

Screipt provided will change the password associated with the PDF Printer AMYUNI Documet Converter 400.

This had to be automated as our PVS environment couldnt be updated everytime we wanted to change the devices password company wide.

START SCRIPT—————————————————–

Option Explicit

‘ This VB script can be used to configure the installed printer

Dim PRINTER_NAME

PRINTER_NAME = “PDFPRNxx”

Dim PDF

‘for version 4

Set PDF = CreateObject(“cdintfex.cdintfex”)

‘for version 4.5

‘Set PDF = CreateObject(“cdintfex.cdintfex.4.5”)

PDF.DriverInit (PRINTER_NAME)

‘/*////////////////////////////////////////////////////////////

‘Permission Permission value

‘Enable Printing – 64 + 4

‘Enable document modification – 64 + 8

‘Enable copying text and graphics – 64 + 16

‘Enable adding and changing notes – 64 + 32

‘To combine multiple options,

‘use -64 plus the values 4, 8, 16 or 32. E.g. to enable

‘*/

‘//1 = 40-bit encryption

‘//2 = 128-bit encryption

PDF.Encryption = 2

‘PDF.OwnerPassword = “owner”

PDF.UserPassword = “password”

‘MsgBox “pwd set”

‘PDF.Permissions = (-64 + 32)

‘//Apply changes

PDF.SetDefaultConfig

Set PDF = Nothing

‘MsgBox “done”

Edgesight 5 not working on Xenapp 6.5 in Private mode with Provisioning Services 5.0

Scenario: Edgesight 5.6 not working on Xenapp 6.5 in Private mode with Provisioning Services 5.0

The edgesight agent would run locally without issue – but little to no data would be uploaded for each the server for users logons when running reports etc etc

The edgesight server would report a duplicate entry for registered servers after every reboot of any of the PVS servers.

Steps:

the following steps have to be taken to install the Edgesight Agent properly on a privatte PVS Image solution

  1. The registry key must be set to ignore PVS Private mode (so the agent will actually run)
  2. the edgesight database must have a consistent disk to write its database too

FIX 1) (if its a x64 bit server remember to use syswow64)

HKEY_LOCAL_MACHINESOFTWARECitrixSystem MonitoringAgentCore4.00 “IgnorePVSMode”=dword:00000001

(allow the edgesight agent to run even in private PVS mode)

FIX 2)

IF AGENT IS NOT INSTALLED ALREADY

msiexec.exe /i EdgeSightXAAgent.msi /l logfile.log /q SERVER_NAME=EDGESIGHTSERVER COMPANY=Mycompany DATA_DIR=”d:CitrixSystem MonitoringMydata”

IF AGENT IS INSTALLED ALREADY

  1. Within the registry, navigate to the key HKLMSoftwareCitrixSystem MonitoringAgentCore4.00 and change the DataPath to the appropriate location on the physical disk of the target devices.
  2. Within the file system, navigate to %ProgramFiles%CitrixSystem MonitoringAgentCoreFirebird and locate aliases.conf.
  3. Open aliases.conf in a text editor and change the RSDatr entry to match the location of the data folder on the physical disk of the target devices. For example: RSDatr = D:CitrixSystem MonitoringDataRSDatr.fdb

References:

http://support.citrix.com/proddocs/topic/edgesight54/es-agent-install-streamed.html http://support.citrix.com/article/CTX127327

Filter Citrix applications by description for PNAGENT and Citrix Web Interface 5.3 and 5.4

OK – there is heaps of stuff out there but i just wanted to attach a damn file in the right WORKING format for NEXT time I have to waste an hour trying to get this working. I cannot take any credit for any of this – im just a cut and paste monkey – see below for references and credits.

REMEMBER DO NOT LEAVE ANY COPIES OR RENAMED VERSIONS OF THE SAME FILE IN THE APP DIRECTORY – THIS WILL BREAK PNAGENT

PNAGENT SERVICES 5.3 SINGLE FILTER
Default Location: c:inetpubwwwrootCitrixPNAgentapp_codePagesJavacomcitrixwipna
Filter File: FILTERED_single_Enumeration.jav

This file will filter all apps that have a descripiton that STARTs with #  – be SURE to rename to ‘enumeration.java’

PNAGENT SERVICES 5.4 DUAL FILTER
Default Location: c:inetpubwwwrootCitrixPNAgentapp_codePagesJavacomcitrixwipna
Filter File: FILTERED_dual_Enumeration.java
This file will filter all apps that have a description that STARTs with # or START with * – be SURE to rename to ‘enumeration.

No need to run IISRESET.

References:

http://blogs.citrix.com/2011/07/06/hiding-applications-on-web-interface-xenapp-and-services-sites/

http://www.raido.be/frontend/files/whitepapers/31_s6vaxlpf.pdf

 

James's Super Amazing Hotfix Post

Windows 2008 x64 SP1 – (NON R2)

http://support.microsoft.com/kb/2379016 – A computer that is running Windows Vista or Windows Server 2008 stops responding and hangs at the “Applying User Settings” stage of the logon process (Fix Stuck at Welcome screen)

http://support.microsoft.com/kb/974878 – PhysicalDisk counters contain invalid and duplicate entries when you use Microsoft Multipath I/O (MPIO) to control one or more storage devices (Fix for Oracle EM to graph disk access)

Windows 2008 x64 R2 SP1 (Terminal Services, Remote Desktop Services)

http://support.microsoft.com/kb/2617858 – Unexpectedly slow startup or logon process in Windows Server 2008 R2 or in Windows 7*
http://support.microsoft.com/kb/2620656 – Invalid redirected printers may be available in a Remote Desktop Services session that connects to a RD Session Host server that is running Windows Server 2008 or Windows Server 2008 R2*
http://support.microsoft.com/kb/2578159 – The logon process stops responding in Windows Server 2008 R2 or in Windows 7
http://support.microsoft.com/kb/2551503 – A mapped drive that has the non-persistent flag set is displayed as a disconnected drive in Windows 7 or in Windows Server 2008 R2
http://support.microsoft.com/kb/2444328 – You cannot access shared files or shared printers in Windows 7 or in Windows Server 2008 R2
http://support.microsoft.com/kb/917607 – I cannot open Help that was created in the Windows Help format (WinHlp32.exe)
http://support.microsoft.com/kb/2465772 – An application or service that uses Winsock API or Winsock Kernel API may randomly stop responding in Windows Server 2008 R2 or in Windows 7
http://support.microsoft.com/kb/2661001 – “Please wait for Local Session Manager” message remains for several minutes when you disconnect from a computer that is running Windows Server 2008 R2 during the logon process
http://support.microsoft.com/kb/2590550 – The desktop does not load and only displays a black or blue background after you log on to a computer that is running Windows 7 or Windows Server 2008 R2

Windows 2008 x64 R2 POST SP1 (Terminal Services, Remote Desktop Services)

http://support.microsoft.com/kb/941158 – In an Active Directory service domain environment, you configure the Internet Explorer Maintenance Group Policy settings. A user logs on to the domain from a Windows XP-based, a Windows Server 2003-based, or Windows Vista-based client computer that has Internet Explorer 7 or Internet Explorer 8 installed. ever, the user experiences a 20-second logon delay compared with a client computer that has Internet Explorer 6 installed.
http://support.microsoft.com/kb/2571388 – You install the Remote Desktop Session Host role service on a computer that is running Windows Server 2008 or Windows Server 2008 R2. You try to log off a Remote Desktop Services session on the computer. In this scenario, the Remote Desktop Services session stops responding. After some time, the computer stops accepting incoming Remote Desktop Protocol (RDP) or Independent Computing Architecture (ICA) connections. You must turn off and then restart the computer to recover from this issue.
http://support.microsoft.com/kb/2661001 – On Servers running Windows 2008 R2, the following error messages are displayed during the logon process: “Please wait for Local Session Manager”, “The task you are trying to do cannot be completed because remote desktop services is currently busy”.
http://support.microsoft.com/kb/2465772 – An application or service that uses Winsock API or Winsock Kernel API might randomly stop responding in Windows Server 2008 R2.
http://support.microsoft.com/kb/2444328 – You cannot access shared files or shared printers in Windows 7 or in Windows Server 2008 R2.
http://support.microsoft.com/kb/2551503 – A mapped drive that has the non-persistent flag set is displayed as a disconnected drive in Windows 7 or in Windows Server 2008 R2.
http://support.microsoft.com/kb/2578159 – The logon process stops responding in Windows Server 2008 R2 or in Windows 7.
http://support.microsoft.com/kb/2620656 – Invalid redirected printers may be available in a Remote Desktop Services session that connects to a RD Session Host server that is running Windows Server 2008 R2.
http://support.microsoft.com/kb/2617858 – Unexpectedly slow start-up or logon process in Windows Server 2008 R2 or in Windows 7.
http://support.microsoft.com/kb/917607 – When you try to use Help in some programs on a computer that is running Windows 7 or Windows Server 2008 R2, you may receive an error.
http://support.microsoft.com/kb/977346 – The Welcome screen may be displayed for 30 seconds during the logon process after you set a solid colour as the desktop background in Windows 7 or in Windows Server 2008 R2.
http://support.microsoft.com/kb/2551503 – A mapped drive that has the non-persistent flag set is displayed as a disconnected drive in Windows 7 or in Windows Server 2008 R2.
http://support.microsoft.com/kb/2775511 – An enterprise hotfix rollup is available for Windows 7 SP1 and Windows Server 2008 R2 SP1.
http://support.microsoft.com/kb/2647753 – Update rollup: Fix printing problems in Windows 7 and Windows Server 2008 R2.
http://support.microsoft.com/kb/2661332 – You cannot re-establish a Remote Desktop Services session to a Windows Server 2008 R2-based server.

Citrix XenAPp 6.5 on Windows 2008 R2 x64

http://support.citrix.com/article/CTX132912 – XA650W2K8R2X64025*

http://support.citrix.com/article/CTX132392 – XA650W2K8R2X64019*

http://support.citrix.com/article/CTX130794 – XA650W2K8R2X64001*

http://support.citrix.com/article/CTX131486 – XA650W2K8R2X64011*

http://support.citrix.com/article/CTX132789 – XA650W2K8R2X64023
http://support.citrix.com/article/CTX130989 – XA650W2K8R2X64004
http://support.citrix.com/article/CTX131221 – HDXWMIPROV620W2K8R2X64001
http://support.citrix.com/article/CTX130971 – Hotfix XA650W2K8R2X64002
http://support.citrix.com/article/CTX131837 – Hotfix XA650W2K8R2X64014
http://support.citrix.com/article/CTX131456 – Hotfix GPMx150WX64002

Microsoft Updates on Citrix XenApp 6.5 on Windows 2008 R2 x64 Post RO4
KB2647753

KB2775511

KB917607

KB2620656

KB2465772

KB2661332

Citrix Webinterface 5.4

http://support.citrix.com/article/CTX130660 – Hotfix WI540MSI002 – For Citrix Web Interface 5.4 for Windows – Issues with WI load balancing

http://support.citrix.com/article/CTX117273 – KB Article to Fix ASP.net Slow Web Interface Initial Load times

Citrix Edgesight 5.4

http://support.citrix.com/article/CTX131261 – ES540XA6AgentWX64001

http://support.citrix.com/article/CTX131172 – ES540ServerWX64001

http://support.citrix.com/article/CTX131171 – ES540ServerWX86001

Windows 2003

Terminal Services http://support.microsoft.com/kb/977629

RDBSS http://support.microsoft.com/kb/983169

WMI Stability http://support.microsoft.com/kb/2257980

TCP/IP http://support.microsoft.com/kb/2909312

SMB http://support.microsoft.com/kb/961799

NTFS http://support.microsoft.com/kb/981166

RDP Client http://support.microsoft.com/KB/925876 http://support.microsoft.com/KB/2481109

Web Interface 5.4 – SLOW

Our webinterface 5.4 on Windows server 2008 R2 was slow as hell for the first time load for any user or just after a reboot. Be sure to check your ASPNET version and path first.

Edit the ASPNET.config file Path: “c:WindowsMicrosoft.NETFrameworkv2.0.50727Aspnet.config between the

<generatePublisherEvidence enabled=”false”/>

 Example

<?xml version=”1.0″ encoding=”UTF-8″ ?>
<configuration>
    <runtime>
        <legacyUnhandledExceptionPolicy enabled=”false” />
        <legacyImpersonationPolicy enabled=”true”/>
        <alwaysFlowImpersonationPolicy enabled=”false”/>
        <SymbolReadingPolicy enabled=”1″ />
 <generatePublisherEvidence enabled=”false”/>
    </runtime>
</configuration>

REFERENCES: http://support.citrix.com/article/CTX117273

Citrix ICA SSL Error on MAC OSX

Author: James Scanlon

Updated: 07/02/2012 

CITRIX SSL Error On Mac OSX

  1. When logging into Citrix on MAC OSX using Firefox, some users may get the following error’You have not chosen to trust “Verisign Class 3 Extended Validation SSL SGC CA”, the issuer of the server’s security certificate (SSL error 183)’
  2. Open Firefox preferences + Advanced Tab
  3. View Certificates button
  4. In the Certificates dialog, switch to the Authorities tab and find the “Verisign Class 3 Extended Validation SSL SGC CA” entry 
  5. Click on the Export button and give the file an extension of .crt – save to the desktop
  6. Double click the .crt file on the desktop + click Add
  7. Right Click the newly imported certificate + Get Info + Change the Trust option to + Always Trust
  8. Try to relaunch the Citrix Access