Showing posts with label App-V. Show all posts
Showing posts with label App-V. Show all posts

Wednesday, 1 July 2015

APP-V 5 User Intergration Location & Appsense Personalization

Microsoft APP-V-5 has a user integration location set to %localuserprofile%
This location contains junction points to the the APP-V application under C:\ProgramData

We typically do not persist the data area %localuserprofile%
This means when the user logs off and back on their per user APP-V delivered applications will have broken icons and fail to launch.

A way to workaround this behaviour is to republish per user based App-V applications at logon time. This rebuild the Junciton points for the application.

We can use the Powershell command "Publish-AppVClientPackage" "AppName"
to republish the users applications.

We can run this with an appsense Logon Trigger. We can also use a conditioncehck to make this more efficient like checking the user is a member of the AD group associated with the application and also checking the application is installed on this client machine.

Information on how APPV-V 5 and how it works can be found here
https://technet.microsoft.com/en-gb/library/dn508409.aspx#BKMK_pub_pkg_standalone_posh

Friday, 31 May 2013

APP-V Autoload Settings


APP-V by design performs checks on application launch to ensure that the latest version of the application is cached on the device. This action does have an overhead and in environments where the deployment of software is managed outside of APP-V (eg. SCCM or scripts) this behaviour can be considered for being disabled. 

The behaviour is controlled by the following registry keys. Setting to 0 disables the action.

HKLM\Software\Wow6432node\Microsoft\Softgrid\4.5\client\configuration
AutoLoadTriggers = 0
AutoLoadTarget = 0

Full information here

Tuesday, 18 September 2012

Sequence application and dependency with APP-V DSC

The following details how to use APP-V Dynamic suite composition to sequence a application dependencies.

An example of this is excel plug-ins. You will likely have a main office sequence and then want additional sequence for specialists add-ins that developers or inhouse applications require.

The whole thing boils down to ensuring you create 2 separate sequences.  Then edit the OSD file to name the dependency.

1.) sequence dependant application.
2.) Clean machine
3.) Select to install APP-V package locally
4.) sequence application
5.) Edit OSD files as below.

1.)
Add  DEPENDENCIES section inside VIRTUALENV
inside the section of the OSD file of the app with a dependency.

2.) copy CODEBASE info from the app dependency

3.)
Paste that CODEBASE into the new DEPENDENCIES section of app with a dependency.
You can remove all tags except HREF, GUID and SYSGUARD

Thats it. This tells the new app that its dependent on an existing application.



blog technet

Thursday, 2 August 2012

App-v Standalone Mode

Microsoft APP-V 4.5 onwards offers the flexibility to operate without the APP-V backend infrastructure. I had written a short blog article on this before. But i had never played with it.

This ability is great for SMBs and SCCM customers.

MSI package 
The MSI package wraps up the OSD and ICO files into a MSI package. This can then simply be delivered to the end-point to allow an APP-V package shortcuts be added to that endpoint and ran.
The only downside of this is that the OSD file is within the MSI so can only be edited within the sequencer and not a text editor.

XML Manifest file
When saving a sequence a manifest file is created. This is required for SCCM deployment.

Scripted Control
If you dont want to run a APP-V backend infrastructure you can use the command line tools to manage your APP-V environment.


Prepare the APP-V client for apps on file share
The APP-V client must however be setup to allow file based APP-V packages. This can be selected in the APP-V install wizard or set with the following registry Key.
HKLM\Software\Microsoft\SoftGrid\4.5\Client\Configuration\AllowIndependentFileStreaming


ADD the PACKAGE
SFTMIME.EXE add package:xxxx /manifest c:\folder\xxxxx_manifest.xml /overrideurl c:\folder\xxxx.sft

PRELOAD THE PACKAGE
SFTMIME.EXE load package:xxxx

Application Shortcut(s)
The following command is used to create a shortcut manually for the application
c:\program files\Microsoft Application Virtualisation Client\sfttray.exe /launch "xxxx"

Global switch
The Add package command needs to run for each user before they can launch an application within a RDS environment, or a /GLOBAL switch can be added to the command which will add the package for all users of the device.

Links

A great article that my blog is based on is
http://www.softgridblog.com/?p=96

SFTMIME  syntax
SFTTRAY Syntax

Monday, 30 July 2012

App-V 4.6 Install error 25010

This usually means the pre-reqs are not installed.

The pre-reqs are
C++ 2005
C++ 2008
C++ 2008 SP1
Microsoft XML core services

Running the setup.exe as opposed to a SETUP.MSI will run the pre-reqs wizard which will report back any missing components and also install them.

Thursday, 19 July 2012

APP-V Client Seamless Timeout registry setting


The following set the APP-V client timeout to 0

This can help in the event the App-v client lingers when the user has closed all their APP-V applications. This behaviour is not suitable for RDS/Citrix environments as it can maintain the users connection to the server when a logoff may be required.

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\SoftGrid\4.5\Client\Configuration
"DCCSeamlessTimeout"=dword:00000000 

Thursday, 19 April 2012

App-V Standalone mode

The following document gives some good information on the 3 different ways to deliver APP-V in your environment. It details the stand alone feature which allows you to use APP-V without the management server.

Microsoft_AppV_Stand-Alone.pdf

Friday, 25 November 2011

App-V Cache Location Registry Keys

App-v uses to registry key entries to control the location of Global and User Caches on the client device.

Global Cache
This is where the applications will be streamed to for storage.
HKLM\Software\ow6432Node\Microsoft\softgrid\4.5\Client\Configuration\GlobalDataDirectory

User Cache
This is where user writes will be performed.
HKLM\Software\Wow6432node\Microsoft\Softgrid\4.5\Client\Configuration\UserDataDirectory

Thursday, 30 June 2011

Set a registry value in APP-V using the OSD file

Setting registry keys via the OSD file is a great way to control the application.
This practice is best suited for commonly changed registry values.

The benefit of setting the regisdtry key values in the OSD file is that you dont have to open the sequence and update it each time the keys need to be changed, you can simply edit the OSD file in notepad.

the syntax for the OSD file reg key entries are
  
#VIRTUALENV TERMINATECHILDREN="FALSE"#
      #REGISTRY#               
            #REGKEY HIVE="HKCU" KEY="Software\ODBC\ODBC.INI\placprd"#
                       #REGVALUE REGTYPE="REG_SZ" NAME="Application Attributes">T
            #/REGKEY#
      #/REGISTRY#


(note replace # with < and > i had to port hash as blogger turns < into HTML)

Friday, 25 March 2011

APP-V Client Side Cache Size - Registry Key

The following Registry Key controls the App-v client side cache.

This example sets a Cache size of 20GB
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SoftGrid\4.5\Client\AppFS]
"State"=dword:00000000
"FileSize"=dword:00005000

Note : Changing the Cache size causes the Cache to flush and then rebuild at the new size.

I would also recommend an SFTTRAY.EXE /QUIET /LOADALL be performed afterwards to reload all the applications into the client cache if the clients are terminal servers.

The APP-V Client Cahce can also be specified at install time with the switch
SWICACHESIZE="xxxxx"

Thursday, 10 March 2011

APP-V - Sequencing 16 Bit application for deployment on 64 Bit environment.

An amusing article that could prove very useful. This chap Sequences a business critical 16bit application (Prince of Persia) and runs it on a 64bit platform. He uses a freely available DOS emulation program called DOSbox to do it.

http://www.softgridblog.com/?p=164

Tuesday, 22 February 2011

APP-V Training

APP-V Training Course - Online or Classroom
A friend of mine runs APP-V training courses for IT professionals.
There are very few of these in the market place and this one is run by a true hands on techie who has delivered many applications via APP-V in the real world.

The Courses available are very flexible with the choice of

  • OnLine training
  • Classroom training
  • OnSite Training
  • Saturday classes for IT Contractors unable to take time off. 


Please follow the link for full details.

Monday, 14 February 2011

APP-V Launch Error 4602833-19D099A-10000009 - Linked to Event ID 2001

We experienced problems launching APP-V applications from one VAS server.
Restarting the Application Virtulisation Management Service corrected the problem. This then occured some time later on another VAS server.

The only pattern we could see prior to the failure is an Event ID 2001 Warning.(see screenshot below)

Unable to Read the disk performance information from the system.

We have not come up with a permanent fix for this yet, in the meantime we are using edgesight to alert us if the event log entry comes up.

Thursday, 10 February 2011

Troubleshooting Citrix slow Logons with Edgesight

There is a fairly nice Citrix PDF about logon enhancement and troubleshooting slow logons.
Citrix - Logon Optimization Guide
There are no great revelations in the document, but i was interested in the edgesight report information it details.

There is an edgesight report called

Session Startup Duration Details report

The output looks like below.

Edgesight Demo Output


Full details on all the metrics can be found in the Citrix Article