540 likes | 1.05k Views
Session Objectives. Session ObjectivesReview Common Issues that PFE and the GTSC have investigated and worked with customers to resolve.Identify common troubleshooting techniques for the most application issues with the App-V sequencer.Key Take Aways Attendees take away steps and methods to reso
E N D
2. Justin Zarb
Senior Premier Field Engineer
Microsoft
http://appvguy.com
http://blogs.technet.com/virtualworld App-V : The Case of..... Featuring "The App-V Sequencer"
3. Session Objectives Session Objectives
Review Common Issues that PFE and the GTSC have investigated and worked with customers to resolve.
Identify common troubleshooting techniques for the most application issues with the App-V sequencer.
Key Take Aways
Attendees take away steps and methods to resolve specific application issues from the field, the root cause and resolution.
4. Some Topics from Customer Issues Basic Knowledge
Missing Files and Unsupported Subsystems
Interaction With Processes
Application Compatibility
Merge and Override File/Registry
Dynamic Suite Composition
5. Almost Every App Can be Sequenced
6. The Discovery! Understand your Applications
Understand Windows
Understand your Sequencer
7. Netmon 101 The Case of the Missing File & Subsystem
8. The Case of the Missing File & Subsystem Issue
When starting Netmon an error dialogue box occurs and the application cannot be used
9. Process MonitorApp-V Integration
procmon /ExternalCapture /NoConnect /BackingFile install.pml
10. Investigation Procmon Trace inside VE
Procmon Trace of Installation
Compare Outputs and Identify Potential Issues
11. Missing Files Demo
12. Sequencing ProcessExclusion Items
13. Sequencer Exclusion Items Demo
14. The Case of the Missing File & Subsystem Subsystems App-V does not support
Drivers
COM+
COM DLL Surrogates
Boot Time Services
Netmon adds a Network Filter Driver
Windows Drivers install to
%Windir%\System32\drivers
All apps that register a driver (basically a kernel-mode DLL or most of the time a *.SYS file) register it in HKLM\System\CurrentControlSet\Services.
15. Unsupported Subsystems
Demo
16. PuTTY Conflicting Process The case of the missing PuTTY Web Link
17. The case of the missing Putty Web application Issue
When trying to launch the putty web component the applications looks to start then immediately shuts down.
18. OS Interaction
Demo
19. Interaction Between Virtual and Native Apps Example
Launch of PuTTY website URL launches and exits on client
Existing IE process does not have access to Q: drive
Detection
Procmon analysis
Repair
Modify OSD to launch separate IE process
20. Putty Website Shortcut Original OSD
<CODEBASE HREF="FILE://C:\PUTTY\PUTTY_2.sft"
GUID="36C0C5C3-D0BD-4C1E-A918-2684BBD5963B" PARAMETERS=""
FILENAME="%SFT_MNT%\PTTY\website.url" SYSGUARDFILE="PTTY\osguard.cp" SIZE="3575538"/>
Modified OSD
<CODEBASE HREF="FILE://C:\PUTTY\PUTTY_2.sft"
GUID="36C0C5C3-D0BD-4C1E-A918-2684BBD5963B" PARAMETERS="%SFT_MNT%\PTTY\website.url" FILENAME="%PROGRAMFILES%\Internet Explorer\iexplore.exe"
SYSGUARDFILE="PTTY\osguard.cp" SIZE="3575538"/>
21. The Case of the Application Compatibility
22. The Case of the Application Compatibility Issue
Application sequenced on XP is delivered to Windows 7 with functional issues
App-V is an App-to-App Isolation technology
App-V is not an Application Compatability Technology
23. OS Compatibility Trading Floor
Demo
24. Application Compatibility Toolkit 5.6
Mitigation of AppCompat Issue
Deployment of Shim (sdb) to client operating system
App-V package utilises Shim and mitigates issue
25. The Case of the conflicting Java
26. The Case of the conflicting Java Issue
Latest version of Java is installed on the base operating system. When delivering a package where java is sequenced, the package uses the incorrect version or does not work at all.
27. Procmon Analysis
29. Sequencing ProcessVirtual View Example
30. HKCU\Software\Classes\CLSID
(non-virtualised) HKCU\Software\Classes\CLSID
(Virtualised)
31. Sequencing Solution Configure a sequencing virtual machine that does not have (or ever had) any version of the JRE installed
Add the registry keys for the version or versions installed on your client machines
During sequencing, delete those keys added in the previous step and create dummy entries for other keys and folders you want to fully virtualise
Install the older version of the JRE
32. Java in Virtual Environment Java Local
33. Word Fails to Launch The Case of the missing short name -Dynamic Suite Composition (DSC)
34. Word Fails to Launch DSC Scenario
35. Word Fails to Launch Launches on Sequencer
Fails to launch on App-V Client
36. Procmon Analysis
37. Procmon Analysis
38. Word Fails to Launch Creating the virtual environment
39. Word Fails to Launch Workaround
Update
HKCR\CLSID\{46D1D082-1C4A-11D4-B46D-0060089D5D78}\InProcServer32\(Default)
With
%CSIDL_PROGRAM_FILES_COMMON%\Imagic Shared\WordControlDeu.dll
40. DSC Examples
App fails to launch
Detection
Procmon analysis
Repair
Remove short path names from secondary packages
41. The Case of the missing environments :Dynamic Suite Composition (DSC)
42. The Case of the Dynamic Suite Composition Issue
Customer has sequenced a primary applications and secondary application, but when combined produce inaccurate results
Use of Dynamic Suite Composition tool to add a secondary application to primary
Application did not start up successfully on App-V Client
Plug in and Primary application works fine locally installed and on the sequencer
46. Session Objectives Session Objectives
Review Common Issues that PFE and the GTSC have investigated and worked with customers to resolve.
Identify common troubleshooting techniques for the most application issues with the App-V sequencer.
Key Take Aways
Attendees take away steps and methods to resolve specific application issues from the field, the root cause and resolution.
47. Question and Answers
49. Appendix
50. The Case of the User vs Global FTAs
51. The Case of the User vs Global FTAs Issue
Sequenced application for a digital viewer. When the application is delivered using the full infrastructure the application does not start correctly but loops.
52. Understanding Your Application
Demo
53. Noticed that delivery to a user and delivery to a computer object offered differing results
Targeted FTAs handling
Looked at the standard application installer
Reviewed this was by design with the application
54. User FTA Global FTA
55. Application had same issue when locally installed and FTAs stored under Users FTAs.
Delivery of FTAs removed from App-V
FTAs delivered via Group Policy Preferences