Tag Archives: xenapp

Deny Dropbox from running with GPO

Start Group Policy Management Editor
Go to:
Computer Configuration\Policies\Windows Settings\Security Settings\Software Restriction Policies

If you see:

Dropbox1

On the right screen, then you need to right click on Software Restriction Policies, and choice “New Software Restricition Policies” first.

Right click on
Additional Rules, and choice “New Path Rule…”

Path should be:
%AppData%\Dropbox\bin\*.exe
Set security level to Disallowed
Dropbox2

Make a another new Path rule, and set path to:
%AppData%\Roaming\Dropbox\bin\*.exe

Set security level to Disallowed

To update GPO right away:
Run CMD as Administrator, and type: gpupdate /force
Dropbox3

This will update the group policy on the machine this command is run at.

Web interface and the black drop down enable

In default the Bkack Drop Down is not enabled, in webinterface.

To enable it, do this:

  • On the Delivery Services server, navigate to: C:\inetpub\wwwroot\Citrix.
  • Open the folder that represents the desired Store (example: Store1).
  • With Notepad, open webinterface.conf.
  • Search for the showDesktopViewer attribute.
  • Change the attribute value from off to on.

Citrix XenApp failed to connect to Data Store

Today i have this problems on one of the Citrix XenApp servers, that the service IMA won’t connect to the Data store.

It failed with this events:

1. Citrix XenApp failed to connect to the Data Store. ODBC error while connecting to the database: S1000 -> [Microsoft][ODBC Microsoft Access Driver] Cannot open database ‘(unknown)’.  It may not be a database that your application recognizes, or the file may be corrupt.

2. Failed to load plugin C:\Program Files (x86)\Citrix\System32\Citrix\IMA\SubSystems\ImaPsSs.dll with error IMA_RESULT_FAILURE

3. Failed to load plugin C:\Program Files (x86)\Citrix\System32\Citrix\IMA\SubSystems\ImaRuntimeSS.dll with error IMA_RESULT_FAILURE

4. Failed to load initial plugins with error IMA_RESULT_FAILURE

5. The Citrix Independent Management Architecture service terminated with service-specific error 2147483649 (0×80000001).

 

But all my others servers in the farm was working just fine, so it must be a locally problems.
The Local Host Cache database, is used to allow a Citrix server in the Citrix Farm to pursue working if the server loses acces to date store temporay. The Local Host Cache database, is an Microsoft Access database, named lmalhc.mdb, and it store ind the Independent Mangement Architecture folder, located: <ProgramFiles>\Citrix\Independent Management Architecture\

 

So the solution to this problems must be to recreate the LHC database, this can be done with this command

dsmaint recreatelhc

But first check that

The datastore is available and function okay, and that the Citrix IMA Service is down :).

The command performs these actions:

Rename the existing Local Host Cache database, create a new one, and the setting PSRequired in registry to 1. Under HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\IMA\Runtime\

Setting thise key to, force the server to connect to the data store, so that the Local Host Cache database, can be recreated.

Installation NOT successful for ‘USB’, error: 1603.

Error – CComponentManager::GetInstallStatus(400) – Installation NOT successful for ‘USB’, error: 1603.

The problem could be some stucked registry keys from a previous installation

Solution:
Start regedit

Delete this keys: (Maybe you need to take control of HKLM\SYSTEM\ControlSet001\Enum and HKLM\SYSTEM\ControlSet002\Enumto delete them.

HKLM\SYSTEM\ControlSet001\Enum\Root\LEGACY_CTXUSBM
HKLM\SYSTEM\ControlSet002\Enum\Root\LEGACY_CTXUSBM

 

Remember to restart you computer

Xencenter / Xenserver This operation cannot be performed because the specified VDI could not be found on the storage substrate

Today i got this when i was trying to start a VDI on my Xenceter.

This operation cannot be performed because the specified VDI could not be found on the storage substrate

This was because of that i have a CDrom mounted on a CIFS shares that isn’t available anymore, after remove the ISO, the VDI start perfects again.

 

Citrix VDI Xendesktop Ekspert

Jeg er blevet certificeret i Citrix XenDesktop, samtidig med at jeg har sat et komplet redudant Citrix Xendesktop miljø op.

Citrix Xendesktop tilbyder dig en hosted desktop løsning, der hvor Citrix Xendesktop virkelig kommer til udtryk er hvis i f.eks. i jeres virksomhed er 50 ansatte, istedet for at skulle købe 50 computer, vedligeholde image til disse, hvilket i tilfælde af 50 nye maskiner ikke er så svært men med tiden, vil man efterhånden for mange foreskellige computere man skal have image til.
Her kan man istedet for med Citrix Xendesktop, have et image, som ligger på en hypervisor, enten fra Vmware eller Citrix, og så bare have tynde klienter ude istedet for en fysisk computer.
Så begynder man at spare meget tid i forbindelse med vedligeholdelse, og er der så et problem med en klienter, så for brugeren bare et nyt image.

Derudover har man også 100% kontrol over ens maskiner, for “computeren” forlader aldrig serverrummet.

Der er mulighed for at arbejde med shared grund image, således at image er låst af administratoren og alle arbejde i samme image, nå så man logger af, genstarter ens VDI og den bliver så automatisk nulstillet til “fabriksindstillinger”.

Der er også mulighed for at nogle bruger for deres egen VDI, som de selv kan administrere. Gå den i stykker ruller man bare en ny klient ud til brugeren, som de kan rode i.

Citrix Xendesktop virker på den måde at nå den tynde klienter starter op, starter den op med at kalde Citrix Xendesktop og for præsenteret en virtuel maskine hosted på en fælles server.
Citrix har også noget de kalder XenApp. I Citrix Xenapp arbejderalle brugere på en terminalserver eller flere i en farm, men med Xendesktop for hver medarbjeder sin egen virtuelle computer, og derved kan man ikke belaste systemet så meget at det gør det umuligt for de andre medarbejde at arbejde i deres setup.

Med f.eks. så Microsoft APP-V, kan man streame applikationer ud til ens VDI, og derved nøjes med et grundimage, hvor der er installeret basic tingende som alle brugere, og så have resten af sine applikationer liggende på sin APP-V server.

Der hvor APP-V adskiller sig fra Xenapp, er at programmerne kører på den maskine de bliver streamet til og ikke køres fra en central server. Igen en fordel da en bruger ikke kan belastede systemet så meget at det ødelægger de andres performence.

Jeg glæder mig til arbjede rigtigt meget med Citrix Xendesktop. Kontakt mig endelig for spørgsmål angående dette produkt.