16 March 2012

AppSense - How to delete or add users to a group

Hi,

I want to add a group to the local administrator group on logon dependent on the existence of a specific EXE file. So as you could do this with group policies built in function.

But there is a way to do this with AppSense Environment Manager. So the first thing I am doing is to check for a specific exe-File on x86 or x64 and if this exists I am firing a custom execute to add the group "Testgroup" to the local Administrators group:

The only "problem" with this command is that you have to be connected to the network for this to function correctly.


michael.obernberger

09 March 2012

Citrix XenDesktop 5.6 is now available for download

Hello,

since today Citrix XenDesktop 5.6 is available for download from the Citrix website.

The new features are:

  • Personal vDisk - This feature is a personalization solution for virtual desktops. Two new types of catalog allow you to preserve the assignment of users to desktops even when the disk is cleaned at restart; the same user is assigned the same desktop for later sessions. The new catalogs arepooled with personal vDisk (for pooled-static virtual desktops) that you manage with Desktop Studio and streamed with personal vDisk that you manage with Provisioning Services. In addition, a dedicated storage disk is created, before logon, so users can store their data on the desktop, including any applications they install. For background information on this feature, see About Personal vDisks.
  • System Center support - XenDesktop now supports Microsoft System Center 2012 Configuration Manager and Microsoft System Center 2012 Virtual Machine Manager.
  • Virtual Desktop Agent - A new version of the Virtual Desktop Agent fixes issues in the version included with XenDesktop 5.5. These are the issues which are fixed: http://support.citrix.com/article/CTX124164
  • Citrix Licensing - Citrix Licensing 11.10 lets you assign access to the License Administration Console using Active Directory Users and Groups.
  • Desktop Director - Desktop Director 2.1 supports personal vDisks and contains fixes since the last release. For more information, see the Desktop Director documentation
.

Best Regards,
michael.obernberger

08 March 2012

Citrix - How to pass through a parameter to a published application

Hello,

I want to give you a short how-to for passing through a parameter to a published Citrix XenApp Application.
I have tested this on XenApp 5 with Feature Pack 3 and Online Plugin 12.1.

  • The first thing you have to do is changing your published application Location. Go to the command line and at the end of the executable type %** (without quotation marks) and click OK.
  • On your client you could now fire up the published application with the parameters you want to have with the command line:
    "C:\Program Files\Citrix\ICA Client\pnagent.exe" /QLaunch "FARMNAME:PUBLISHEDAPP" /param:"X:\test.txt"
    You have to change the Farmname and Published Application Name and set the parameters under quotation marks.
Thats it and with this shortcut you could fire up your application with custom parameters.


Best Regards,

michael.obernberger

14 February 2012

AppSense - How to enable/disable Proxy depending on your location / Proxy de-/aktivieren je nachdem wo man sich befindet

Hallo,

da wir unsere Proxysettings via Gruppenrichtlinie verteilen hatten wir immer wieder das Problem, dass die User mit ihren Notebooks zu Hause nicht surfen konnten, daher haben wir nun im AppSense folgende Konfiguration abgebildet.



  • Weiters habe ich nun eine Reusable Condition angelegt wo die Netzwerke abgefragt werden:

  • Nun wird dies alles in einen Resuable Node zusammengefasst und zwar wird hier zuerst abgefragt ob es sich um ein Notebook handelt und dann wird der Proxy erstmal auf 0 gesetzt und danach dann geprüft ob er in einem der vorgegeben Netze ist und danach auf 1 gesetzt.

Danach habe ich diese beim Login und beim Network Connected eingefügt!
Anbei auch nochmal die ganze Konfiguration, wobei ich für diese keine Haftung übernehme!


Grüße

michael.obernberger

P.S. I am writing my blog in german because that is my mother language but if there are english people who want to have a translated article, please leave a comment on the article

10 February 2012

AppSense - Problems with Applications which rely on the "Shell Folders" Key and the location is on a network share

Hallo,

ich hatte vor kurzem nach einem Upgrade auf die aktuellste Environment Manager Version 8.2 das Problem das gewisse Citrix Applikationen nicht mehr einwandfrei funktioniert haben. Wir setzen in unserer derzeitigen XenApp Farm noch auf Roaming Profiles/Folderredirection daher ist z.B. der Appdata Ordner auf einem Netzwerkshare.
Nach einer langen Suche und großer Hilfe vom AppSense Support wurde mir die Ursache präsentiert. Und zwar läuft hier die Funktion SHGetFolderPath in ein Timeout und daher wird der Registry Wert in dem Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders auf NULL gesetzt und die Applikation funktioniert nicht mehr.

Mit folgendem Registry Key kann das Problem gelöst werden: HKEY_LOCAL_MACHINE\SOFTWARE\AppSense\Environment Manager
REG_DWORD: CreateSpecialPaths  mit dem Wert 0 einfügen

Weitere Infos dazu auch in der AppSense KB unter dem Link: https://www.myappsense.com/Knowledgebase/TN-150617.aspx

Grüße

michael.obernberger

P.S. I am writing my blog in german because that is my mother language but if there are english people who want to have a translated article, please leave a comment on the article

AppSense - How to set a environment variable at Session Unlock/Lock

Hallo,

ich hatte heute die Herausforderung ein Environment Variable beim Session Unlock zu setzen. Dies kann zwar mit dem Environment Manager konfiguriert werden jedoch wird die Variable nicht gesetzt. Nach einem kurzen Meinungsaustausch mit dem AppSense Support wurde mir mitgeteilt dass Windows beim Session Unlock nicht immer die Variablen refreshed und dies somit nicht zu 100% funktioniert.
Nach ein paar weiteren Tests habe ich festgestellt dass das in Windows eingebaute Programm SETX.EXE eine Environment Variable setzt und diese sofort auch für den Gebrauch verfügbar ist. Also lasse ich nun folgende Custom Action laufen beim Session Unlock um die Variable zu setzen:

Grüße

michael.obernberger

P.S. I am writing my blog in german because that is my mother language but if there are english people who want to have a translated article, please leave a comment on the article

02 February 2012

AppSense - How to apply registry keys to a personalized application on process started

Hallo,

da bei einer personalisierten Applikation alle Registry Zugriffe in die virtuelle Registry umgeleitet werden ist es nicht so einfach möglich für solch eine Applikation Registry Keys zu setzen, dafür gibt es aber den APPSENSESPECIAL Switch.
Anbei habe ich beim Process Started der Applikation notepad.exe mit folgender Custom Execute Action das Ziel erreicht.

Hiermit wird beim Start der Applikation "notepad.exe" ein Registry File importiert. Ich rufe die reg.exe als reg1.exe von einem Netzwerkshare auf, da die normale reg.exe in der Default Appsense Blacklist ist und somit dies nicht funktioniert.

Grüße

michael.obernberger

P.S. I am writing my blog in german because that is my mother language but if there are english people who want to have a translated article, please leave a comment on the article