Implementing App-V – Part III: Integrating Clients
November 7, 2009 at 7:32 pm | In App-V | 2 CommentsTags: App-V, application virtualization
We’ve already talked about Application Virtualization and some common scenarios (Post I), talked about the existing models in App-V and how to install the App-V Management Server (Post II); now it’s time to work with the App-V clients.
I was considering to not include this post and go directly to sequencing applications, but most of the errors and blocking issues that appear in App-V are related on not having a environment properly installed.
The process will start with the App-V Desktop Client installation.
App-V Desktop Client Installation
Select a client machine that will receive some of the sequenced applications and you shouldn’t have any problem with this installation, pretty straight forward:
1. Double click on the installer and most likely you will be needing to install a few components before starting.
2. The wizard starts and click on “Next”.
3. Accept the License Agreement.
4. Select your option for Microsoft Update.
5. Select “Custom” installation option.
6. Accept the default installation path.
7. Data Location, the default preferred drive letter by convenience is used the letter “Q” (avoiding to collide with possible network drives).
8. Then you can select the cache size that the client machine will use. Every time that the client downloads applications, it will use the local cache for every time the application needs to be loaded again in the session. You can use the default option provided.
9. On Runtime Package Policy Configuration use the default options adding the “On Publishing Refresh” option inside “Automatically Load Application”.
10. On "Publishing Server” complete the options used for your App-V Server. And since I won’t be using SSL for the communication, I’m selecting the type “Application Virtualization Server” and “Port” 554.
11. Click on “Install” and we are ready to go.
Testing the Default Application
As we’ve seen it before, once you install the App-V Management Server a default application is installed.
We are going to use it to validate that our environment is ready to go and start sequencing applications. Unfortunately you will need a few steps before publishing the application:
1. First of all, re check the configurations mentioned in Post I of this series:
- Ensure that the Application Management Server service has started.
- The content folder (C:\Program Files\Microsoft System Center App Virt Management Server\App Virt Management Server\content\) must be shared with proper permissions: “Everyone” the “Read & Execute”, “List folder contents” and “Read” access.
- If you have the firewall enabled, ensure that you enable the exceptions for inbound connections with the programs sghwdsptr.exe and sghwsvr.exe. Both located in “C:\Program Files\Microsoft System Center App Virt Management Server\App Virt Management Server\bin\”.
To make a first quick check about the connectivity, you should always start using “telnet appv-server 554” to ensure that the ports are open between the hosts.
What Happens If I Don’t Complete The Requirements?
If any of those are not in place, the error code that you should be receiving when you try to access an application is: “The Application Virtualization Client could not establish a connection to the Application Virtualization Server” “Error code: 4513CDC-19D06A0A-10000004”.
And in the Event Viewer you’ll see a bunch of warning messages and one error: “The Application Virtualization Client could not connect to stream URL ‘RTSP://appv-sequencer:554/application‘” along with the same error code.
2. With all that in place, time to get the application ready. Access the App-V Management console, open the Default Application Properties. In the General tab, the OSD and Icon path must be using a UNC path, like in my case: “\\appv-server\content\”.
3. Shortcuts tab will let you decide where you want to insert the client’s shortcuts.
4. Access Permissions: Here you can select all the domain groups that will have access to this application.
5. Edit the DefaultApp.osd file that is stored within the content folder mentioned. Look for the “Implementation” area and replace the name of the server using the current name of the actual server.
6. Login to the client machine using credentials that belong to the group you just gave access to the application. You will see the Default Applications shortcuts already in place, double click the shortcut.
And there you have it, your environment is ready to receive and launch applications.
Note:
Remember that by default, the applications are refreshed once the user logins to the client computer.
If you want to avoid this process, in the client computer access “C:\Program Files\Microsoft Application Virtualization Client” folder and double click “SftCMC.msc”. Inside “Publishing Servers” right-click the name of the server and select “Refresh Server”.
With that, any update on the applications published should be shown in the client.
In a few days more, I’m publishing the fourth part of the series: sequencing applications.
Rest of the series:
Implementing App-V – Part I: Introduction to Application Virtualization
Implementing App-V – Part II: Choosing and Preparing the Environment
Free E-Book: Introducing Windows Server 2008 R2
October 23, 2009 at 12:21 am | In Books, Cool Stuff, Free Stuff, Windows Server 2008 R2 | 1 CommentTags: Books, E-Books, Free Stuff; Windows Server 2008 R2; Cool Stuff
Microsoft Press introduced a great technique to get more readers: Giving away free books, as simple as that. And this time with a great proposal: Introducing Windows Server 2008 R2.
Even though it is a short book (200 pages) you’ll see that there are several topics that you might be interested in. Here are the chapters involved:
- Chapter 1 What’s New in Windows Server R2
- Chapter 2 Installation and Configuration: Adding R2 to Your World
- Chapter 3 Hyper-V: Scaling and Migrating Virtual Machines
- Chapter 4 Remote Desktop Services and VDI: Centralizing Desktop and Application Management
- Chapter 5 Active Directory: Improving and Automating Identity and Access
Chapter 6 The File Services Role - Chapter 7 IIS 7.5: Improving the Web Application Platform
- Chapter 8 DirectAccess and Network Policy Server
- Chapter 9 Other Features and Enhancements
You will find several information about important improvements introduced in this version, like: Hyper-V R2 (Live Migration and storage hot add feature); VDI; IIS 7.5; BranchCache and DirectAccess.
Enjoy!
[Events] Code Camp 2009 at Buenos Aires
October 17, 2009 at 7:10 pm | In Events | Leave a CommentTags: Code Camp, Code Camp 2009, Events
Again, another excellent Microsoft event took place last month: Code Camp 2009. And I had the great pleasure to participate with two conferences, Hyper-V and Windows Server 2008 R2 Clustering.
Code Camp Buenos Aires series officially began in 2007 and appeared as a great opportunity for students and academic cells interact directly with the community, not only participating in conferences but also preparing small demos and telling their story about their work with Microsoft’s technologies.
I had the chance to participate in all of them, but this year’s Code Camp represented the biggest event of the series, with over 50 conferences regarding IT, developing, gaming, methodologies. Here’s a quick review of my participation:
Hyper-V Para Suegras
Translated in “Hyper-V for Mother-In-Laws” (don’t ask me, ask Alejandro Ponicke, he came up with the title). I presented this one with a good friend of mine, Alberto “Beto” Ortega.
The main idea resided in present an introduction to virtualization and Hyper-V with the main features included in Windows Server 2008 R2. Using also a small review of Hyper-V clustering and Live Migration.
The presentation for Hyper-V (in Spanish) can be download it from here.
Desmitificando Clustering en Windows Server 2008 R2
Translated in “Demystifying Clustering in Windows Server 2008 R2”. Here, I had the chance to go a little further about Hyper-V clustering and presented the main idea and benefits of clustering with Windows Server 2008 R2.
We’ve made a small review about the process in Windows Server 2003 and the process using Windows Server 2008 R2, features included like cluster validation, Clustered Shared Volume (CSV), Geo Clusters, clustering myths and best practices. And also we’ve discussed about clustering with SQL Server, using a demo of a SQL Server 2008 R2 (CTP August) cluster.
The presentation for clustering (Spanish also) can be download it from here.
As always, I had a lot of fun and I’m looking forward for the next event: Windows 7 and Windows Server 2008 R2 Official Launch (late November). We’ll see each other then!
Here’s some of the crew involved: Miguel Saez and Alejandro Ponicke
Cheers!
Free E-Book: Deploying Windows 7 Essential Guidance
October 17, 2009 at 7:00 pm | In Cool Stuff, Free Stuff | 2 CommentsTags: Books, Cool Stuff, Free Stuff, Windows 7
Fresh and free new book available from Microsoft Press and Microsoft TechNet! Deploying Windows 7: Essential Guidance.
This book contains ten chapters from Windows 7 Resource Kit, so if you ever read one of these Resource Kits, you would know that the content it is very complete and interesting. Some of the topics discussed in this free book:
- Planning Deployment
- Testing Application Compatibility
- Developing Disk Images
- Migrating User State Data
- Deploying Applications
- Volume Activation
- Using Windows Deployment Services (WDS)
- Using Microsoft Deployment Toolkit (MDT)
I know, I know, I was missing the free e-books offers from Microsoft too.
Here’s a little bonus: Microsoft also published as a free download the Chapter 23 of the Windows 7 Resource Kit, “Supporting Users Using Remote Assistance”.
To review some of my posts about deploying Windows 7, check this category:
http://blog.augustoalvarez.com.ar/category/microsoft-deployment-toolkit-mdt/
Cheers!
Windows Server 2008 R2 and Windows 7: BranchCache
July 26, 2009 at 12:55 pm | In BranchCache, Windows 7, Windows Server 2008 R2 | 3 CommentsTags: Branch Offices, Branch Offices Cache, BranchCache, Windows 7, Windows Server 2008 R2
The arrival of Windows Server 2008 R2 and Windows 7 is just around the corner and I don’t have to tell you that there are a lot of expectations. Common users are concentrating almost all the attention with the client operating system, but I can assure you that having those new platforms, Windows Server 2008 R2 and Windows 7, will give a new perspective for all users and IT guys.
One of the highlights that you can watch having this two boys together is BranchCache, focused mainly in optimizing your WAN bandwidth using special cache options.
As the name says it, BranchCache works in scenarios with branch offices where clients interact and request files from the headquarters. A common and current scenario is related when you access an internal website with the servers located in the main office, each branch office client will request the files directly with the headquarters every time a user intends to communicate with the site, significantly affecting the WAN link with the same data transmitted over and over.
BranchCache is a simple idea that caches every content downloaded from the main office using a server or other branch clients, so every time that a second client tries to download the content, the request is directly handled within the branch office optimizing the WAN link and downloading time.
How Does It Work?
There are no complex configurations and you can even use an option that does not include a server. There are two types of BranchCache deployment options: Distributed Cache (no server) and Hosted Cache Mode (Windows Server 2008 R2 server involved as the cache server).
Keep in mind that the environment will only work with Windows Server 2008 R2 and Windows 7 clients.
Distributed Cache
Windows 7 branch office clients store a copy of the content that is downloaded from the main office, and makes it available to other clients in the branch office every time that they try to retrieve those files.
Hosted Cache
Within this scenario, all the cache content is stored and controlled in a Windows Server 2008 R2 that retrieves all the requests made from branch clients and keeps all the data locally to answer any other requests for the same content.
Microsoft recommends to use this mode on branch offices with over 10 clients.
What About Cache Authorization and Updates?
These are common questions that you may be asking yourself right now:
Q: If the files are stored in a local cache within the branch office (distributed among clients or on a server), that means that all branch users will have access to these files?
A: No. There is an authorization phase that the requestor must complete before receiving the file. In a distributed BranchCache mode, when the client requests the data, the server (main office) authorizes, or not, the cache content to be delivered to the branch office client. In a Hosted Cache mode, the cache server keeps identifiers with the permissions for each cached content, giving access only to authorized clients.
Q: What about if the file changes when it was already cached by clients or a server? The file is distributed out-to-date to branch clients?
A: No. Whenever a change is made on a folder that is distributed with BranchCache, a new identifier (the same used for access authorization) it’s send to branch cache clients (if the mode is set as Distributed Cache); or send it directly to the cache server (if the mode is configured as Hosted Cache).
Configuring BranchCache
In this section I’ll give you small step-by-step BranchCache procedure. There are basically three steps to complete the environment:
1. Configure the headquarters Windows Server 2008 R2 that contains the data that must be cached.
2. Configure the Windows 7 branch clients that will use the cached content.
3. Configure the Windows Server 2008 R2 as Hosted Cache server, if that’s the option you selected for your environment.
The complete reference to achieve this deployment can be found in BranchCache Early Adopter’s Guide.
1. Configuring the File/Web Server
a. Add the feature from Server Manager: BranchCache.
Remember, it’s a feature not a role.
b. If this is going to be a file server, you must add the “File Services” role and the service “BranchCache for remote files”.
c. Configure the Group Policy to enable BranchCache.
Active Directory it is not a requirement for BranchCache, but surely it is recommended for centralized management. You can use an Active Directory or local policy to apply to this server.
The GPO can be located in Computer Configuration > Policies > Administrative Templates > Network > Lanman Server > Hash Publication for BrandCache
The options when you Enable this GPO are self explained: For all shares, files shares tagged and disallow hash publications.
2. Client Configuration
Ok, now you have the server configured to be able to distribute the BranchCache shares. Now it’s time to configure the clients to understand this type of cache. It is easily done with Group Policies, and again, this can be done in a domain environment by linking GPOs or just using Local Group Policies.
a. Access GPOs editing MMC: Computer Configuration > Policies > Administrative Templates > Network > Turn on BranchCache > Enabled.
b. On the same GPO list, you’ll find the rest of the necessary configurations according to the chosen model.
If you are using Distributed Cache, enable “Turn on BranchCache – Distributed Caching Mode”. And the same for hosted cache, “Turn on BranchCache – Hosted Cache mode”.
c. [optional] You can also set other interesting values using this set of GPOs, like latency values or setting a percentage of your disk space dedicated to this cache.
d. Ensure that you have configured the firewall inbound policies to allow BranchCache connections. More info about this on the document mentioned above: BranchCache Early Adopter’s Guide.
3. Configure the Cache Server
For obvious reasons, the communication between the parties involved must be secured and the data available must be guaranteed as updated and correct. That’s why if you are using Hosted Cache Mode, a certificate will be present to achieve a SSL communication and guarantee that data is not modified by an attacker.
It is important to note that the presence of a Certificate Authority (CA) server it is not a requirement, the certificate can be prepared directly from the file/web server and then imported to the Hosted Cache server.
a. First, enable the BranchCache feature from Server Manager.
b. Deploy the certificate inside Certificates (Local Computer) > Personal.
c. Access the certificate properties, the details page will show you the “Thumbprint” field. Copy to the clipboard.
d. Link the certificate to BranchCache with “netsh”:
NETSH HTTP ADD SSLCERT IPPORT=0.0.0.0:443 CERTHASH=<thumbprint> APPID={d673f5ee-a714-454d-8de2-492e4c1bd8f8}
More Resources
Here are some other guides and interesting links you can find about this feature.
That’s pretty much in this BranchCache overview and kind of walkthrough.
Cheers!
Implementing App-V – Part II: Choosing and Preparing the Environment
July 12, 2009 at 10:35 pm | In App-V, Virtualization | 5 CommentsTags: App-V, application virtualization, Virtualization
Other posts in this series:
Implementing App-V – Part I: Introduction to Application Virtualization
Implementing App-V – Part III: Integrating Clients
After the first post about App-V and application virtualization technologies we had a nice review about the platform. So, if you feel like this type of technology can add some value to your organization, let’s start playing around.
Before you begin, let’s talk about the available models in App-V that will help you choose the strategy according to your platform. The architecture is prepared to support almost any scenario, including low-bandwidth branches offices or even offline deployments.
App-V Models
Stand-Alone Mode
This is the minimalist mode of App-V with no infrastructure required but the machine that packages the application, “sequencer” from now on, and the App-V Desktop Client.
Sequencing the application adds all the necessary files into one package and generates an MSI file that you can use to deploy manually, by group policy or using SMS/System Center Configuration Manager.
This mode is focused when you have several offline users (do they even exist at this point?), or when you have already SCCM deployed and you don’t want to add a App-V Server.

Streaming Mode
This model it is also focused on platforms that do not want Management Servers. The components present here are the streaming server, sequencer to package applications and the App-V client.
The Streaming Server as the name says it, streams the applications to the clients on demand. The server does not use a SQL database, the permissions are set and maintain based on ACLs (access control lists).
You can use it on low-bandwidth links like branch offices to optimize the application deployment.
Full Infrastructure Model
The full model contains the full set of components in App-V: Management Server, Sequencer, Streaming server and App-V Client. In most cases, the streaming server it is completely optional since the application streaming can be executed from the Management Server, delivering applications on demand to users.
Using a Management Server will add the applications shortcuts publication within the process of deployment. And includes more features for reporting, using a SQL database.
Applications in this model are associated to security groups in Active Directory. And you can also manage centrally the applications licenses.
We are going to focus this set of posts in a Full Infrastructure Model, using a Management Server, Sequencer and a App-V Desktop Client.
Enough with the explanations, let’s get to work.
Installing App-V Management Server
The process it is a little tricky, but we’ll try to set clear all the necessary requirements before running the installation wizard.
Pre-Requisites
This is the list of minimum requirements:
- Windows Server 2003 SP1 or superior
- IIS 6 role installed with ASP.Net
- .Net Framework 2.0
- MMC 3.0
- SQL Server 2005 Express SP2
Before proceeding with the installation take a closer look to what are the SQL and IIS configurations necessary that we are going to review next.
Here’s the environment that I’ll be using:
- Active Directory and DNS platform in place.
- Windows Server 2008 (32-bit)
- IIS 7 role installed with ASP.Net
- SQL Server 2005 Express SP2.
SQL Special Considerations
The SQL Express can be installed with the default options, but, as I mentioned it before, there are a few SQL configurations that needed to be set before the App-V installation process:
1. Open SQL Server Surface Area Configuration Tool from the SQL Server Start Menu folder.
2. Click on Surface Area Configuration for Features.
3. Inside of “CLR Integration”, click the option for “Enable CLR Integration”.
4. Inside of “OLE Automation” click “Enable OLE Automation”.
5. Close “Surface Area Configuration for Features”.
6. Click “Surface Area Configuration for Services and Connections”.
7. Inside “Remote Connections” select “Local and Remote Connections” and set “Using both TCP/IP and named pipes”.
8. Restart the SQL Server services to apply all changes.
IIS Considerations
Since I’m using Windows Server 2008 and IIS 7 for the Management Server installation, there are a few considerations about it.
- Install ASP.Net feature with all pre-requisites.
- Windows Authentication feature enabled.
- IIS 7 Management Tools with Management Service and IIS 6 Management Compatibility features installed.
Step-by-Step App-V Management Server Installation
One completed the pre-requisites and considerations, let’s start with the installation.
1. With the App-V installation media, double click the setup executable.
2. Welcome page, click on “Next”.
3. Accept the License Agreement and click on “Next”.
4. Select “Custom” setup type.
5. Here you can modify installation components (not recommended) or change the installation directory. Click on “Next”.
6. Select the SQL Server instance where the database will be stored. In my case, I’m using the same server with one instance. Click on “Next”.
7. Select “Create a new database”. Maintain the suggested database name “APPVIRT”. You can also modify the location for the database files. Recommended for this type of server to store the database on a different hard drive than the operating system.
8. Leave deselected the option for “Use enhanced security”. You can set secure connections with this server, that will require of course for a certificate. Out of the scope in our case.
9. Leave the default value for the RTSP (Real Time Streaming Protocol): 554.
10. Select the group that will have full access to the App-V Management Server console. In my case, I’m selecting only “Domain Admins” to give access. This option can be modify later.
11. Select the provider group, that by default will have access to the enabled applications. In my case, I will select only “Domain Admins” and later personalize each application for each group.
12. Select the folder where the applications packages will be stored. Leave the default “C:\Program Files\Microsoft System Center App Virt Management Server\App Virt Management Server\content\”. Click on “Next”
13. On the “Ready to Install the Program” window click on “Install”.
After a few moments you will have the App-V Management Server fully installed.
14. Recommended: Reboot the server.
IMPORTANT: If any of the pre-requisites and considerations mentioned above are not completed, you will receive a message like this when you start the installation:
“Error 25109. The installation program could not create the configuration data store. Please see the installation log file for more information”
Post-Installation Procedures
There are basically three more tasks to execute after the App-V Management Server installation is completed to guarantee the proper functionality:
1. Once the server is rebooted, you will need to verify the “Application Virtualization Management Server” service. If you are running on a virtualized environment, you will need to manually start the service.
2. Share the “content” folder created for the applications packages (by default C:\Program Files\Microsoft System Center App Virt Management Server\App Virt Management Server\content\). Give to “Everyone” the “Read & Execute”, “List folder contents” and “Read” access.
3. If you have the firewall enabled, ensure that you enable the exceptions for inbound connections with the programs sghwdsptr.exe and sghwsvr.exe. Both located in “C:\Program Files\Microsoft System Center App Virt Management Server\App Virt Management Server\bin\”.
Note: If these firewall exceptions are not in place, you will also have problems with App-V clients trying to receive and execute the application packages. We’ll check that later.
And yes, you can now open the “Application Virtualization Management Console” and start working with the platform.
Make sure that you deselect the “Use Secure Connection” if you didn’t install a certificate for App-V.
Other Resources
As an interesting option to evaluate your App-V Management Server environment is the Microsoft Application Virtualization Best Practices Analyzer.
It verifies general configurations in your Management and/or Streaming Server 4.5, and notify about possible anomalies as a diagnostic tool. Requires the presence of Microsoft Baseline Configuration Analyzer to generate the reports.
In this example, the warning generated is about the database been stored in the same place as the Management Server.
I’ll be reviewing in the next posts how to prepare clients and applications to be deployed by App-V. I’ll be using Microsoft Office 2007 as the sequenced application.
Other posts in this series:
Implementing App-V – Part I: Introduction to Application Virtualization
Implementing App-V – Part III: Integrating Clients
Cheers!
Free E-Books from this Month: Office Communications Server 2007 R2
June 17, 2009 at 11:42 pm | In Books, Cool Stuff, Free Stuff | Leave a CommentTags: Books, Cool Stuff, Free Stuff
Continuing with their 25th Anniversary Microsoft Press prepared for us their final release for free E-Books (yes, these two and you won’t be getting this exciting offers anymore):
“Office Communications Server 2007 R2: Resource Kit”
If you are not very familiar with the communications suite, here’s a short topic review that is included in almost 900 pages:
- Overview and server roles
- Key deployment scenarios: VoIP, basic IM, conferencing, voice mail, etc.
- Planning and Deployment
- General administration and monitoring
- Backup and restore
- Troubleshooting.
And as for previous released, the offer also includes the developers e-book:
“Programming for Unified Communications with Microsoft Office Communications Server 2007 R2”
Remember that these downloads are available for a short period of time.
Enjoy!
Windows Vista and Windows Server 2008 SP2 Released
May 27, 2009 at 1:08 am | In Windows Server 2008, Windows Vista | 1 CommentTags: Windows Server 2008, Windows Server 2008 SP2, Windows Vista, Windows Vista SP2
Microsoft finally released Windows Vista and Windows Server 2008 SP2. The last SP for Vista was released 14 months ago and 800 bugs away. Windows Server 2008 SP1? Was already included in the final version of the operating system.
Download Links
Yes, Vista and Windows Server 2008 SP2 it is included as the same update.
Windows Server 2008 Service Pack 2 and Windows Vista Service Pack 2 – x86
Windows Server 2008 Service Pack 2 and Windows Vista Service Pack 2 – x64
This update will appear in Windows Update starting June 30. And if you are asking about getting the media installation for Vista or Windows Server 2008 with the SP2 slipstreamed, you will need an MSDN or TechNet Subscription.
Improvements and Changes Applied
Applications compatibility
- Solved several issues presented on common applications like ZoneAlarm or Spysweeper.
Hardware
- Support for 64-bit CPU from VIA Technologies.
- Solving performance issues with wireless connections after sleep mode.
- Ability to record Blu-Ray media.
- Bluetooth 2.1
Operating System Experience
- Windows Search 4.0 included
- SP2 has no limit on the number of half open outbound TCP connections.
Enterprise Improvements
- WebDav redirector options increased.
- Improved Power Management. Including Group Policy settings.
- Terminal Services license keys improved backward compatibility.
To check the full list of improvements, check this link.
As an important notes:
- If you have installed a previous beta for this SP2 or the RC, you will need to remove to install the final version.
- The SP2 it is not a cumulative update. So having the SP1 installed it is a requirement.
Cheers!
Implementing App-V – Part I: Introduction to Application Virtualization
May 26, 2009 at 1:31 am | In App-V, Virtualization | 2 CommentsTags: App-V, application virtualization, Virtualization
Other posts in this series:
Implementing App-V – Part II: Choosing and Preparing the Environment
Implementing App-V – Part III: Integrating Clients
Virtualizing applications it is not a very common requirement for most administrators or companies. These solutions doesn’t seem like a “must” in any given environment, but why? One of the main reasons it’s related to the benefit/cost equation it’s not quite clear for most of us.
With these posts I’ll try to give a small introduction to the technology, explain the environment, provide a step-by-step deployment for App-V and the benefits that could apply to your organization.
What is Application Virtualization?
Application virtualization represents the technologies that permits to remove the complexity of deploying and maintaining applications for desktop users by providing:
- Applications centralized management. Facilitates the process of deploying, updating and removing applications.
- Removing potential conflicts on desktop clients. Each application deployed using this type of technology runs in a isolated environment.
- Capability to capture a set of interconnected applications into a single package to be distributed among clients.
Common Scenarios
Let me give you a few common scenarios where application virtualization applies:
Scenario A
Problem: You are using a company’s application that requires some special configurations every time that is deployed, and that is also interconnected with other applications (for example: A local database engine, Java Runtime Environment or some other particular requirement). It demands you several hours every week to support end-users for deploying or troubleshooting configurations.
Solution: Providing application virtualization you can guarantee end-users to always have the same configuration deployed, no matter when or where; since you only need to configure it once and then wrap up the entire set of applications into one package.
Scenario B
Problem: You have a dynamic base operating system image that changes constantly, there are several type of base images according to the users, and you not have deployed Microsoft Deployment Toolkit (MDT) combined with System Center Configuration Manager (SCCM) to maintain images. You have two options: Manually and locally change the desktop image on every client by installing or removing applications; or providing end-users with local administrator privileges to achieve some kind of auto-management (don’t get me started on that).
Solution: Implement application virtualization with a clean base image will help you to minimize the impact every time there’s a change. With a centralized management of the applications you can make all the necessary changes and implement those instantly. Adding also granularity on the type of images, special applications can only be distributed to selected group of users.
Did you read the scenario problems and feel like “been there, done that”? Then you definitely should continue reading these posts.
Existing Platforms
There are several platforms provided to achieve application virtualization, the most common are:
- Microsoft Application Virtualization (App-V). Formerly known as SoftGrid.
- VMWare ThinApp.
- Citrix XenApp.
- Symantec Software Virtualization Solutions (SVS).
To name a few differences among them:
- ThinApp is the only one that supports 64 bits OS deployments.
- App-V, SVS and XenApp use a set of kernel mode drivers and supporting services to manage virtualization process. ThinApp includes the entire virtual environment directly into the application package.
This set of posts will be focused on reviewing the components and process within an App-V environment. As well as providing an step by step deployment.
App-V Components
App-V is the solution provided by Microsoft to achieve a secure, scalable and high performing applications deployment. Here’s a quick review about which components are involved.
App-V Management Server
In charge of delivering sequenced applications on-demand to selected clients. Any Management Server needs a SQL data store (multiple Management Servers can access the same data store) where it retrieves information like application assignments, records and permissions within the App-V management environment.
App-V Management System
Composed by the App-V Management Console and the App-V Management Service. It represents the communication channel between the MMC and the SQL data store, controlling any read/write requests to the database. It can be installed together with the Management Server or in a separate computer with IIS.
App-V Sequencer
In charge of producing the application package. It is basically a tool installed on a computer (preferred using the same OS as App-V clients) that captures the installation of the applications to generate the package, that consists in several files: Open Software Description (.osd file that links other files); sequenced application file (.sft file); icon files (.ico); XML manifest and a project file (.sprj). Optionally an MSI file can be included for offline deployments, but we’ll see how to do that later.
App-V Streaming Server
This server will have a the role of streaming applications to the clients where these do not have an acceptable connection to the Management Server, like a branch office. Streaming applications is the only functionality enabled for this server, and it represents, on most cases, as an optional role to be installed.
App-V Client
Installed on the end-user operating system, interacts with the App-V Server. Manages package streaming into cache and publishing refresh. Stores user-specific information related to the virtual applications in each user profile, so every time the client reboots the machine, the virtualized applications conserves last changes made. This client it is also represented with “Terminal Services” version, the only obvious reason is that the applications are published using Terminal Services virtual desktop.
Here’s a graphical description of the entire App-V environment

Resources
Here are some of the recommended resources you can find about the technology
- Application Virtualization 4.5 Documentation
- Microsoft Desktop Optimization Pack Home Page
- Microsoft Application Virtualization 4.5 Resource Kit Tools
- App-V Team Blog
- Planning and Deployment Guide for the Application Virtualization System
On the next posts I’ll use more practical examples and show you how to deploy an entire environment for virtualizing application. Stay tuned.
Other posts in this series:
Implementing App-V – Part II: Choosing and Preparing the Environment
Implementing App-V – Part III: Integrating Clients
Cheers!
May Free E-Book: Windows Server 2008 Terminal Services Resource Kit
May 20, 2009 at 2:49 pm | In Books, Cool Stuff, Free Stuff, Terminal Services | Leave a CommentTags: Books, Cool Stuff, Free Stuff, Terminal Services
Disclaimer: Remember that these books are available as a free download for a limited period of time.
Microsoft Press released two new e-books to continue celebrating their 25th anniversary:
Windows Server 2008 Terminal Services Resource Kit
On this book you’ll find detailed information about what’s new in Windows Server 2008 regarding Terminal Services and common scenarios to use a Terminal Services ecosystem.
As an always requested topic regarding to Terminal Services, you’ll see how the applications publications works within these environments, using Terminal Services RemoteApps (TS RemoteApps).
Some of the topics:
- Planning and installing Terminal Server environment.
- Creating and maintaining user work environment.
- Installing and Publishing Applications.
- Terminal Services ecosystem management.
Also, on the devs side again, you can find this another “best practices” book:
“The Practical Guide to Defect Prevention”. Techniques to meet the demand for more reliable software.
Enjoy and don’t forget to share the links.
Cheers!
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.
































Computer geek, totally fan of the latest's IT platform solutions. Since 2006 I've been mentioned as Microsoft Student Partner, I continue working with them, collaborating on different academic and technological events. On this blog, you'll find most of the experience I have evaluating, designing, implementing and managing those technologies.

