Solving User Profile Challenges for XenApp and/or XenDesktop



Similar documents
GENERAL QUESTIONS...2 USER S PROFILE AND SETTINGS... 4 SERVICE INSTALLATION AND CONFIGURATION... 6 ASSIGNING PROFILES... 9 MIGRATING PROFILES...

MS-50255: Managing, Maintaining, and Securing Your Networks Through Group Policy. Course Objectives. Required Exam(s) Price.

MS 50255B: Managing Windows Environments with Group Policy (4 Days)

Technical Guide to Application Delivery Option(s) for XenApp and/or XenDesktop

Managing Windows Environments with Group Policy

Desktop Management, Profile Migration and Cross Platform Delivery. Technical Overview

Managing Windows Environments with Group Policy 50255D; 5 Days, Instructor-led

CITRIX 1Y0-A14 EXAM QUESTIONS & ANSWERS

50255: Managing Windows Environments with Group Policy

MailStore Outlook Add-in Deployment

Stellar Active Directory Manager

Fundamentals, Security, and the Managed Desktop

White Paper Profile migration for a system upgrade to Microsoft Windows Server 2008 R2 and Citrix XenApp 6

Create, Link, or Edit a GPO with Active Directory Users and Computers

How To Write A Gpmc Script For A Gpc (Windows 2003) On A Windows 2000 (Windows 2000) On Your Computer Or Your Computer (Windows 3) On An Ipad Or Ipad (Windows 2) On The Macbook

Optimization Guide: User Logon

Agency Pre Migration Tasks

PLANNING AND DESIGNING GROUP POLICY, PART 1

Technical Guide for Adding XenDesktop 4 to an Existing XenApp 5 Environment

Portland State University Office of Information Technologies Active Directory Standards and Guidelines for Campus Administrators

CMB 207 1I Citrix XenApp and XenDesktop Fast Track

Citrix Training. Course: Citrix Training. Duration: 40 hours. Mode of Training: Classroom (Instructor-Led)

Group Policy Explained

AddLocalUser AddLocalGroup AddLocalUserToLocalGroup AddDomainUserToLocalGroup AddDomainGroupToLocalGroup

ProfileUnity with FlexApp Technology

Getting Started with Citrix XenApp 6

Citrix EdgeSight for Load Testing Installation Guide. Citrix EdgeSight for Load Testing 3.5

Citrix EdgeSight for Load Testing Installation Guide. Citrix EdgeSight for Load Testing 3.8

Citrix XenApp 6.5 Advanced Administration (CXA-301)

Pearl Echo Installation Checklist

Group Policy and Organizational Unit Re-Structuring Template

ShareFile On-Demand Sync can be installed via EXE or MSI. Both installation types can be downloaded from

Desktop Web Access Single Sign-On Configuration Guide

Deployment of Keepit for Windows

Module 8: Implementing Group Policy

Windows Boston. Group Policy Group Policy Basics. Published 2007 Clyde G. Johnson, MCSE, A+

RES Workspace Manager 2012 SR2 Release Notes Fixpack

Benefit. Allows you to integrate RES PowerFuse with application virtualization technologies other than SoftGrid (e.g. Citrix XenApp, VMWare Thinapp).

Citrix EdgeSight Installation Guide. Citrix EdgeSight for Endpoints 5.3 Citrix EdgeSight for XenApp 5.3

Citrix - CXD Deploying Citrix XenDesktop 7 Solutions

DriveLock Quick Start Guide

RES PowerFuse Version Comparison Chart (1/9)

For Splunk Universal Forwarder and Splunk Cloud

These guidelines can dramatically improve logon and startup performance.

Citrix Desktop Virtualization Fast Track

CITRIX 1Y0-A16 EXAM QUESTIONS & ANSWERS

THE POWER OF GROUP POLICY

Mobil . Administrator s Guide Citrix Systems, Inc. All rights reserved.

CMB-207-1I Citrix Desktop Virtualization Fast Track

Citrix EdgeSight for Load Testing User s Guide. Citrix EdgeSight for Load Testing 3.8

Table Of Contents. - Microsoft Windows - WINDOWS XP - IMPLEMENTING & SUPPORTING MICROSOFT WINDOWS XP PROFESSIONAL...10

UNCLASSIFIED DISABLING USB STORAGE DEVICES THROUGH GROUP POLICY

Chapter. Managing Group Policy MICROSOFT EXAM OBJECTIVES COVERED IN THIS CHAPTER:

Manage, Extend, and Simplify Group Policy using Quest Group Policy Solutions

App Orchestration Setup Checklist

Deploying Dedicated Virtual Desktops in Hosted Environments

Password Manager Windows Desktop Client

Deploying Dedicated Virtual Desktops in Hosted Environments

Computer Science and Engineering Windows Cisco VPN Client Installation and Setup Guide

Greatexam.1Y0-401.Premium.VCE.205q. Vendor: Citrix. Exam Code: 1Y Exam Name: Designing Citrix XenDesktop 7.6 Solutions. Version: 15.

Group Policy 21/05/2013

This document details the procedure for installing Layer8 software agents and reporting dashboards.

ProfileUnity Best Practices

Configure SQL database mirroring

VMware View Persona Management DEPLOYMENT GUIDE

CMB-207-1I Citrix XenApp and XenDesktop Fast Track

XenDesktop Implementation Guide

DigitalPersona Pro Enterprise

Deploying BitDefender Client Security and BitDefender Windows Server Solutions

Administrator s Guide

Before taking this course, Citrix recommends that learners have the following:

Course: CXD-202 Implementing Citrix XenDesktop Administration

MOC 6419: Configuring, Managing, and Maintaining Windows Server 2008

TERMINAL SERVICES AND CITRIX

ADSelfService Plus: 3rd party Winlogon Client Software Support

Active Directory. Users & Computers. Group Policies

Basic Administration for Citrix XenApp 6.5 Course CXA206; 5 Days, Instructor-led

Citrix XenApp 6.5 Administration

Como configurar o IIS Server para ACTi NVR Enterprise

Remote Desktop Reporter Agent Deployment Guide

This white paper has been deprecated. For the most up to date information, please refer to the Citrix Virtual Desktop Handbook.

CXA 204 1I Basic Administration for Citrix XenApp 6

SA Citrix Virtual Desktop Infrastructure (VDI) Configuration Guide

Windows GPO Deep Dive

VPad Software Installations

E-Notebook SQL 12.0 Desktop Database Migration and Upgrade Guide. E-Notebook SQL 12.0 Desktop Database Migration and Upgrade Guide

Group Policy for Beginners

QlikView 11 Upgrade & Migrations

Adobe Acrobat 9 Deployment on Microsoft Windows Group Policy and the Active Directory service

Implementing HIPAA Compliance with ScriptLogic

50331D Windows 7, Enterprise Desktop Support Technician (Windows 10 Curriculum)

AT&T Global Network Client Domain Logon Guide. Version 9.6

Configuring Managing and Maintaining Windows Server 2008 Servers (6419B)

SA Citrix Virtual Desktop Infrastructure (VDI) Configuration Guide

CITRIX 1Y0-A17 EXAM QUESTIONS & ANSWERS

Tim Tharratt, Technical Design Lead Neil Burton, Citrix Consultant

AT&T Connect Participant Application & VDI Platform Support

Das AdminStudio beinhaltet eine ganze Reihe von Tools zum Thema Anwendungspaketierung- und Virtualisierung, die wir ihnen nachfolgend zeigen wollen:

Transcription:

Solving User Profile Challenges for XenApp and/or XenDesktop Jo Harder, Senior Architect joharder http://community.citrix.com/blogs/citrite/joh

One Profile Type Doesn t Fit All Answer Depends On... User requirements and customizations Application requirements Citrix technologies XenApp + XenDesktop, XenApp only, XenDesktop only, or? Administrator expertise Existing infrastructure Current profile solution Storage Active Directory GPOs, including folder redirection

Profile Types Microsoft Local Mandatory Roaming Terminal Services Mandatory Roaming Citrix Profile management Third party, such as AppSense So many choices... what kind of user profile is best?

Agenda Logon Process User Profile Characteristics GPOs Folder Redirection Which User Profile Type Should I Use? Sample Scenarios

Logon Process

User Profiles XenApp Select app and access XenApp Load balancing Initiate server connection Logon Authenticate Load user profile

User Profiles XenDesktop Apps User Settings OS

Why Does It Take Soooooo Long to Logon? Logon script Loops, network printers or subsequent script calls Logon script Drive mappings Roaming or mandatory profile Large or non-optimal profile Access across busy/congested network Drive mappings (inc. home directory) Logon Time Network profile access GPO processing Multiple GPOs Access to Citrix resource GPO Processing Authentication Domain controllers busy/congested Authentication Access to Citrix resource Less than optimal XenApp load balancing or Citrix XML Service configuration Less than optimal XenDesktop DDC configuration

User Profile Characteristics

What Is a User Profile? Depending on profile type(s) and configuration, user experience may vary based on access to different systems Arghhh! Customizations retained in user profile Such as: Control panel settings

What If No Administratively Defined Profile Exists? Situation XenApp XenDesktop Windows Device First logon with no network profile administratively designated New profile created on that server from local default user New profile created on that desktop from local default user New profile created on that client device from local default user Subsequent logon to same computer with no network profile administratively designated Existing profile on that server accessed and modified in that session Existing profile on that desktop accessed and modified in that session Existing profile on that client device accessed and modified in that session Issues User settings not accessible from another XenApp server When desktop reprovisioned, user settings lost Settings from XenApp and XenDesktop sessions dissimilar

Microsoft Profile Precedence Terminal Services Mandatory/ Roaming GPO User Properties Network Mandatory/ Roaming GPO* User Properties Local * Active Directory on Windows Server 2008 or later and Windows Vista or later

Terminal Services Profile Apply only to Terminal Services and/or XenApp sessions Does not apply to virtual or physical desktops But does apply to XenApp published desktops Network profile applies to Terminal Services and/or XenApp session only if no Terminal Services profile TS Profile Network Profile TS Profile Applied to XenApp

Microsoft Profile File Located under Users directory Ntuser.dat = roaming profile Ntuser.man = mandatory profile Ntuser.* populates HK Current User hive System Properties Advanced User Profiles Settings Also SystemPropertiesAdvanced.exe Lab\User1

Mandatory Profile Also called Mandatory Roaming User assigned a profile; typically a task-based user Changes are not saved Can be applied to: Profile Terminal Services Profile Works with folder redirection to save some data and provide some personalization Example: Store Outlook configuration in AppData Tip: Configure the Citrix Printer Properties Retention policy to store data on the client device, not in the roaming profile

Citrix Profile Management Included with: XenApp Enterprise/Platinum XenDesktop VDI/Enterprise/Platinum Based on acquired Sepago technology Supported by Citrix Configured by means of ADM template (GPO)

AppSense Environment Manager is most commonly used third-party user profile solution Sold and supported by AppSense and partners Retains user policy and personalization settings Cross-platform (x86/x64 and v1/v2) support

Local Mandatory Roaming Terminal Services Mandatory Terminal Services Roaming Citrix Profiles AppSense User Profile Characteristics Criteria Default setting Administrative assignment Where stored Local device Network Network Usually network Network Network SQL Server Where user changes saved Local machine Not saved Network Not saved Network Network SQL Server Data written when profile saved All None All None All Deltas only Deltas only

GPOs

GPOs Consider OU structure and how GPOs applied Will a specific profile apply to XenApp, XenDesktop, and/or client device? Several dozen user profile-related GPOs exist Review Administrative templates settings in particular Depending on the profile solution, may or may not impact behavior

Additional User Configuration GPOs User Configuration Policies Administrative Templates System User Profiles Exclude directories in roaming profile Limit profile size System Group Policy Group policy slow link detection Desktop Prohibit user from manually redirecting profile folders

Additional Computer Configuration GPOs Computer Configuration Policies Administrative Templates System User Profiles ALL!! System Group Policy Group policy slow link detection

Folder Redirection

Folder Redirection Interaction with Network-Based User Profile Redirected folder data not incorporated into user profile Any type of user profile can use folder redirection Even mandatory! Desktop Folder Generally recommended and encouraged Eliminates need to store folder data in user profile Keeps user profile smaller User Profile

Folder Redirection Can redirect contents of one or more folders User Configuration Windows Folder Redirection Specific folders vary based on Active Directory version Data stored on network Accessible to XenApp and XenDesktop Works with all profile solutions \\Server01\RedirectedFolders\joh\Application Data GPO: Citrix

Special Folder Redirection Maps local Documents" and "Desktop" folders to administratively configured Folder Redirection location Optional setting applicable to: XenApp 5 for Windows Server 2008 XenApp 6 for Windows Server 2008 R2 Access to client drives must be enabled to use Special Folder Redirection User must allow access to local drives Client drive mapping must not be administratively disabled

Configuration of Special Folder Redirection Disabled by default in Web Interface Enabled by default in Policies To disable, click Enabled to enforce Do Not Allow special folder redirection checkbox

Folder Redirection Considerations Any type of profile can use folder redirection Even mandatory! Centrally stores folder contents on network not on local device Ensure that sufficient and accessible storage exists Where are my documents?!?!?

What If...? Logon is slow? Redirect folders such as AppData, Documents, etc., so that folder data is not loaded with profile, resulting in faster user profile load App makes frequent calls to AppData folder? Don t redirect AppData folder in particular because it will generate frequent calls to redirected folder repository during user session Each data fetch makes the app appear slow

Which User Profile Type Should I Use for XenApp and/or XenDesktop?

It Depends... Basic questions to ask Resources Accessed Operating System Application Requirements Existing User Profile New User Profile User Experience Will the administratively defined user profile be used to access XenApp, XenDesktop, and/or physical client device? Are the current and new OSs based on same platform and version (x86 vs x64 and v1 vs v2)? Where are user settings and data saved for each app? Does the app have any unique requirements that impact the user profile? What type is it? Can/will it be used for XenDesktop as is? Will a new profile be designated? Will it be based on the existing profile or will it be a totally new profile? Does administrative ease negatively impact users? Has the user experience been validated?

Local Mandatory Roaming Terminal Services Mandatory Terminal Services Roaming Citrix Profile Mgmt AppSense/ LiquidWare Applicability to Resource Being Accessed Criteria Applies to physical Windows device Applies to XenDesktop sessions Applies to Terminal Services/XenApp sessions (physical only) (VDA only) (server only)

Viability of User Profile Options Based on XenApp and/or XenDesktop Local Mandatory With rare exceptions, a local user profile is not an optimal choice because cannot be read by another network device If user and application settings support, a viable option Roaming Terminal Services Roaming or Mandatory Citrix Profile Management Third-Party such as AppSense or LiquidWare If >1 resource accessed simultaneously, potential last writer wins issues Cannot be used with XenDesktop A viable option A viable option

Profile Types and Platforms v1: Windows XP Windows Server 2003 v2: Windows Vista/7 Windows Server 2008 x86: c:\program Files x64: c:\program Files (x64) Some profile settings don t cross over... Unless profile solution explicitly supports, fully test: v1 vs. v2 x86 vs. x64 Example: Citrix Profile shared between XenApp 5 on Windows Server 2003 and XenDesktop based on Windows 7 VDAs may yield unexpected results and is not supported at this time

Local Mandatory Roaming Terminal Services Mandatory Terminal Services Roaming Citrix Profile Mgmt AppSense True Cross-Platform Integration Criteria v1/v2 Future x86/x64 Future

Does app installation follow standards? Does app install into c:\program Files or other location? How will app be delivered? Hosted, streamed, locally installed? Special requirements? Printers, database connection, etc.? User data? Can unique data be stored in home directory? App data? If stored in App Data folder, use folder redirection If stored in other location, can it be moved, copied, or rerouted to folder?

Common Transitions XenApp + XenDesktop Existing XenApp: Add XenDesktop Simultaneous use, such as: XenApp hosted apps accessed from XenDesktop XenApp and XenDesktop each accessed occasionally XenApp XenDesktop Existing XenApp: Transition to XenDesktop Cutover to XenDesktop, such as: Users accessing XenApp today, will only access XenDesktop tomorrow

XenApp + XenDesktop

XenApp + XenDesktop: Existing TS Profile Mandatory or Roaming XenApp Profile Type Now Options When Adding XenDesktop Based on Windows 7 VDA Microsoft: Change GPO pointer from Terminal Services to mandatory/roaming XenApp Terminal Services Mandatory Terminal Services Roaming Microsoft: Create new user profile to be used for XenDesktop only Non-Microsoft: Convert user profile to a centralized profile (Citrix Profiles, AppSense or other third party)

Considerations for XenApp + XenDesktop Existing TS Profile If converting TS profile to network profile consider whether user profile should apply to local desktop or just XenDesktop VDA Terminal Services Mandatory (ntuser.man) Mandatory (ntuser.man) Block inheritance and/or set up GPO structure accordingly Terminal Services Roaming (ntuser.dat) Roaming (ntuser.dat) Using the same roaming profile to access multiple resources at the same time can create last writer wins issues A better option for mandatory profiles

XenApp + XenDesktop: Existing Network Profile Mandatory or Roaming XenApp Profile Type Now Options When Adding XenDesktop Based on Windows 7 VDA Microsoft: Re-use existing profile XenApp Mandatory Roaming Microsoft: Create new user profile to be used for XenDesktop only Non-Microsoft: Convert user profile to a new profile type (Citrix Profiles, AppSense or other third party)

Considerations for XenApp + XenDesktop Existing Network Profile Mandatory, Citrix, or third-party profile solution best options If roaming profile to be opened by both XenApp and XenDesktop sessions simultaneously, last writer wins Roaming profile instance #1 Roaming profile instance #2 Roaming profile instance #3 Last written profile wins

XenApp + XenDesktop: Existing Non-Microsoft Profile Citrix Profile Management or AppSense XenApp Profile Type Now Options When Adding XenDesktop Based on Windows 7 VDA Citrix Use same profile XenApp AppSense Create additional profile

Considerations for XenApp + XenDesktop Citrix Profile Management or AppSense For same user experience, use same profile Most common desired outcome Citrix Profile management does not currently support crossplatform settings (v1/v2 and x86/x64) Only deltas written to profile Last writer wins issues minimal or none Profile streamed Only minimal settings applied during session initiation for faster startup

XenApp XenDesktop

XenApp XenDesktop: Existing TermSvcs Profile Mandatory or Roaming XenApp Profile Type Now Options When Adding XenDesktop Based on Windows 7 VDA Microsoft: Change GPO pointer from Terminal Services to mandatory/roaming XenApp Terminal Services Mandatory Terminal Services Roaming Microsoft: Create new user profile to be used for XenDesktop only Non-Microsoft: Convert user profile to a centralized profile (Citrix Profiles, AppSense or other third party)

Considerations for XenApp XenDesktop Existing TS Profile Existing Terminal Services profile configuration cannot be used as is Profile itself can be reused; TS setting cannot If converting TS profile to network profile consider whether user (ntuser.man) (ntuser.dat) profile should apply to local desktop or just XenDesktop VDA Block inheritance or set up GPO structure accordingly Consider also non-microsoft profile Terminal Services Mandatory (ntuser.man) Mandatory Terminal Services Roaming (ntuser.dat) Roaming

XenApp XenDesktop: Existing Network Profile Mandatory or Roaming XenApp Profile Type Now Options When Adding XenDesktop Based on Windows 7 VDA Microsoft: Re-use existing profile XenApp Mandatory Roaming Microsoft: Create new user profile to be used for XenDesktop only Non-Microsoft: Convert user profile to a centralized profile (Citrix Profiles, AppSense or other third party)

Considerations for XenApp XenDesktop Existing Network Profile Existing network profile can be re-used Being that only one instance opened at a time, roaming will work fine

XenApp XenDesktop: Existing Non-Microsoft Profile Citrix Profile Management or AppSense XenApp Profile Type Now Options When Adding XenDesktop Based on Windows 7 VDA Citrix Use same profile XenApp AppSense Create additional profile

Considerations for XenApp XenDesktop Citrix Profile Management or AppSense For same user experience, use same profile Most common desired outcome Citrix Profile management does not currently support crossplatform settings (v1/v2 and x86/x64) Only deltas written to profile Last writer wins issues minimal or none

Local Mandatory Roaming Terminal Services Mandatory Terminal Services Roaming Citrix Profile Mgmt AppSense Transitioning User Profile Types Criteria Can transition from mandatory Can transition from roaming Can transition to mandatory Can transition to roaming n/a n/a * n/a n/a n/a ** n/a ** *If mandatory profile saved as a template, can be transitioned **Can be done by manually extracting profile settings from database

Sample Scenarios: Terminal Services Profile for XenApp

Sample Scenario: XenApp + XenDesktop XenApp 5 for Windows Server 2008 x86 + Windows 7 x86 VDA Resources Accessed Today Existing User Profile Resources to be Accessed Tomorrow Applications New User Profile XenApp 5 for Windows Server 2008 (x86) TS roaming w/folder redirection Windows 7 VDA (x86) XenApp 5 for Windows Server 2008 (x86) Most same; some new apps with standard save locations All same Network roaming w/folder redirection Will this work? Same platform and profile type (x86 and v2) No new apps with unique requirements... if roaming profile accessed simultaneously, could experience last writer wins issues! Better alternative is a mandatory profile or a non-microsoft profile

Sample Scenario: XenApp + XenDesktop XenApp 5 for Windows Server 2008 x64 + Windows 7 x86 VDA Resources Accessed Today Existing User Profile Resources to be Accessed Tomorrow Applications New User Profile XenApp 5 for Windows Server 2008 (x64) TS mandatory w/folder redirection Windows 7 VDA (x86) XenApp 5 for Windows Server 2008 (x64) Most same but some new with unique requirements All same but some true x64 Network mandatory w/folder redirection Will this work? Same profile type (v2) but different platform (x86/x64) New apps with unique requirements Need to fully test to ensure compatibility Better alternative: move to a profile type that explicitly supports distinct platforms

Sample Scenario: XenApp XenDesktop XenApp 5 for Windows Server 2008 x86 Windows 7 x86 VDA Resources Accessed Today Existing User Profile Resources to be Accessed Tomorrow Applications New User Profile XenApp 5 for Windows Server 2008 (x86) TS roaming w/folder redirection Windows 7 VDA (x86) Most same; some new apps with standard save locations Network roaming w/folder redirection Will this work? Same platform (x86) and profile type (v2) No new apps with unique requirements Would also work for mandatory profile

Will this work? Same platform (x86/x64) but different profile type (v1/v2) New apps with unique requirements Need to fully test to ensure compatibility Better alternative: move to a profile type that explicitly supports distinct platforms and unique app requirements Sample Scenario: XenApp XenDesktop XenApp 5 for Windows Server 2003 x86 Windows 7 x86 VDA Resources Accessed Today Existing User Profile Resources to be Accessed Tomorrow Applications New User Profile XenApp 5 for Windows Server 2003 (x86) TS roaming w/folder redirection Windows 7 VDA (x86) Most same but some new with unique requirements Network roaming w/folder redirection

Summary

General Recommendations: User Profile Type Don t do nothing unintentionally; that defaults to local profiles Use simplest user profile solution that addresses needs Microsoft User Profiles XenApp only: Terminal Services Mandatory or Roaming XenDesktop only: Mandatory or Roaming XenApp + XenDesktop: Mandatory Citrix Profiles Third-Party such as AppSense

General Recommendations If a mandatory profile will address requirements, that s the simplest and easiest option Many variables to user profile configuration Apply profile-related GPOs carefully Ensure compatibility with non-microsoft profiles Fully test any user profile changes EdgeSight provides insight into user logon Folder redirection is typically beneficial Make sure your users are happy!

Resources User Profiles for XenApp and/or XenDesktop white paper (http://support.citrix.com/articles/ctx124799) Technical Intro to User Profiles video (http://www.citrix.com/tv/#videos/595) User Profile Management Streaming feature video (http://www.citrix.com/tv/#videos/1691)