Posts Tagged ‘App-V’

Application Virtualization (App-V) – Use Case Scenarios

December 12, 2010 Leave a comment

When, where and how to use Microsoft Application Virtualization

Scenarios of using Application Virtualization

Virtualization of applications in recent years is slowly but surely being used more and more often, but still  I can not say that it is generally accepted technology such as server virtualization. The first step towards a general acceptance of application virtualization is certainly a  good awareness of  possible implementation scenarios and the various benefits that technology brings.



What is application virtualization?
Virtual applicationMicrosoft Application Virtualization (App-V) is one of application virtualization solutions on which you probably ran into somewhere.  However, it is better to briefly summarize the theoretical aspects so that the usability of technology can also be clarified. So, application virtualization brings a new approach to interaction of applications and operating system. Namely, with standard approach we are aware that we first need to install application on OS to make it work. Also we know that applications are closely related to the operating system on which they are installed (e.g. a lot of registry entries, dll files etc…). If you ignore all those standard application lifecycle behavior  (installation, maintenance, uninstall), then you’d get a lot more dynamic applications and more manageable applications. In simple words, when using App-V Solution applications are turning into services that are available on request. Most applications today can be converted into virtual which brings many new application scenarios.

No more installation!
No installationNot so long ago to install some applications we needed to bring a dozen diskettes and bunch of patience. And then (as we are lucky bastards) on tenth diskette we run into some kind of a read error. That was frustrating in many ways!  Through the years the process has changed in the sense that we do not need so many floppy disks, but still applications "require" to be installed by following specific installation procedure. With App-V, application installation process is gone. Once created, the virtual application package is placed on the central server and deployed to users on request. There are of course many other systems for application deployment (SCCM…), but what with applications that do not have the installation procedure? They can also be packaged using App-V solution. Examples are in-house developed applications that do not have a standard installation procedure, but they must be installed and configured separately and manually on each computer.  For example if you configure application settings (e.g. strings to database, view settings and many others) during packaging phase (App-v Sequencing) those settings will be applied on every application when distributed to clients.


Simple application upgrade

Application upgradeOnce installed applications eventually need to be upgraded,  and that can be a tedious job because of computer restarts, errors etc… Virtual applications behave differently. Namely, when applications are placed on a central server, you need to make just one virtual package update on the server and all applications on clients will be upgraded to the latest version or patch. In addition, users will experience no interruption in work. Users can use application at the same time when system administrator wants to set a new upgrade. The next time the user runs the same application it will be upgraded (no restart, no interruptions, no errors, no update procedure). Ok, let’s  briefly switch to the central App-V Server and its relationship with the client computers. Unlike the standard push principle deployment of applications (with SCCM or other ESD solutions), App-V Server uses the pull approach where client computers literally pull a package by package (using SMB, HTTP, or RTSP protocol) until the virtual application is successfully  running. After that entire application is cached on client side (if so configured)  you no longer need a connection to server. That is one of many misunderstandings when it comes to virtual applications. Namely, a lot of users thinks that they need to be constantly connected to central App-V server (Application Virtualization Management Server).

Portable virtual applications
Portable applicationsOn the other hand, if there are no possibilities of using App-V server, applications can be deployed simply using  shared folder on a server or using portable USB drive. One of the characteristics of virtual application here imposes itself – portability of applications. We can say that the virtual application can be transferred from one computer to another using just USB. Of course APP-V client is required on computer for those virtual applications. Without App-V client installed on computer you can not run any App-V virtual applications.

Isolation (Sandbox), virtual plugins… 
Hy there I'm isolated virtual appIn the previous section, I have often mentioned the installation process, which was eliminated in virtual applications. On this characteristic is based on one of the biggest advantages of virtual applications. Specifically, each virtual application is running in so-called isolated environment – Sandbox. When running in sandbox, virtual applications are not in conflict. Today is not uncommon on a single computer that at the same time there are hundred applications, which often causes conflict between them. In such scenarios, there are two possible solutions; simply stop using the conflicting application or implementation of App-V solution. Certainly the latter case is better solution because it does not require much investment in new infrastructure and you  can keep all applications. In addition, it is possible to use application virtualization in scenarios when  having multiple versions of the same application, which is a common need in cases of testing or adaptation of new versions. For example, you can simultaneously on one computer run Office 2007 and Office 2010 (or other combinations).
On the other hand it is possible to integrate"normally" installed applications with virtual plugins. Wondering what is the benefit of this scenario?  Take for example a company with 100 employees who on a daily basis run web applications that use Java version 6, and on the other hand couple of users or departments use applications that do not work normally with specified version of Java.  In this case there is a problem because  upon installing Java update a previous version of Java is replaced and some older web applications does not work.  With the help of App-V solution on the same computer different versions of Java (or any other plugin) can be used simultaneously. Clearly, in this case, these plugins are virtualized.. The same goes for any other applications and plug-ins.
When mentioning conflict of applications, then  probably most affected are terminal servers. Specifically, on terminal server there are bunch of applications which users run using Remote desktop protocol. So all applications are actually executed on terminal server while users only see presentation layer of application. As servers are now quite powerful, it is clear that Terminal Server can run hundreds of application simultaneously. But that is often not the case because a  lot of applications are in conflict. In those scenarios companies implement so called Terminal Server Farms. By doing that, a lot of servers are underutilized and that’s exactly what we want to avoid by using virtualization.  App-V can save the day in that case. Specifically when using App-V on Terminal Server, you can run as many applications as you want, because they are not in conflict – they are in sandbox. So if applications can run on terminal server, they can be served to users using TS (RDS) Remote App etc.

64 bits, VDI, shared cache …
Banner_vApp-V solution tightly integrates with Active Directory so that the applications are only delivered to those users that are entitled to use applications. So administrator defines security group in Active Directory and defines users which should receive the application on their desktop. Once the user logs on to a computer (with domain user and pass),he will see all virtual applications instantly. But keep in mind that virtual applications are not tied to computer meaning that user will see his applications on every computer on which he log on (Roaming).  This scenario is particularly suited for call centers and in general for situations where employees do not use the same computer every day. Scenario can be further extended to remote users, who can use the application wherever they are.
Tight integration of App-V solution with Active Directory has a beneficial effect on the OS deployment process, and generally process of  creating the OS image. By default, companies are creating fat OS images with a lot of preinstalled applications so that every department is covered with all applications. This increases the size of the OS image, and users often have applications which they do not use. On the other hand, if using App-V, OS image can be “clean” with maybe just a few preinstalled applications, while other users receive virtual applications as soon as they firs log on to domain.
Deployment of the new OS is particularly interesting topic at a time when most people still use Windows XP and have  good intention to switch to Windows 7. Since version App-V 4.5 SP1 virtual applications are officially supported on Windows 7. In addition, this year version 4.6 was released with  support for 64 bit platform. The new version also comes with  a little-known possibility of shared cache , which is particularly useful in Virtual Desktop Infrastructure (VDI) solutions. In VDI solutions virtual machines are located in data centers and users access them from their computer, or using thin clients. Of course, users will access these virtual machines to use certain applications. If those applications are installed separately on each virtual machine, then the capacity of these virtual machines occupy a fairly large amount of storage. Take for example that the average virtual machine user have about 20 applications with a total capacity of 10 GB. For 100 users,in this case it is necessary to book 1000 GB of disk space only for applications. Using App-V shared cache all applications doesn’t have to be placed in each virtual machine individually. Instead applications can be placed on shared storage. So all virtual machines will use the same shared cache of virtual applications (10GB), meaning that you could potentially save 90% or more of storage space.

Finally, it is easy to conclude that with the use of virtual applications many new application scenarios appear and virtual applications bring many benefits. According to research, the use of virtual applications significantly reduces the time required for deployment, reducing the number of help desk calls and generally reducing the costs associated with maintaining applications. But of course, with each technology and therefore with App-V there are some risks and limitations. Some applications can not be virtualized, some do not behave well in a virtual environment, but for all other applications I must say that it is really very beneficial to use App-V and by doing that take one step closer to real dynamic desktop.

Free virtualization books: Complete list

 These days it is hard to find useful information, especially if you want to find a lot materials in one place. That’s why I spent some time searching through the web to find interesting and useful information regarding virtualization. So I hope you will find useful my list of free virtualization related books.

To summarize, in my list there are 8 free books (with download links included):

  1. Understanding Microsoft Virtualization Solutions, Second Edition
  2. Introducing Windows Server 2008 R2
  3. Virtualization for Dummies – HP special edition
  4. The Definitive Guide to Virtual Platform Management  
  5. The Essentials Series: Virtualization and Disaster Recovery
  6. The Shortcut Guide to Virtualization and Service Automation
  7. The Shortcut Guide to Selecting the Right Virtualization Solution
  8. Windows Server 2008 Hyper-V: Insider’s Guide to Microsoft’s Hypervisor (this book was free for few weeks and now you can read it on Google)

Ok, so let’s see brief introduction to all books:

Understanding Microsoft Virtualization Solutions, Second Edition

This is the book for IT professionals who want to learn more about the latest Microsoft virtualization technologies, including Hyper-V and Remote Desktop Services in Windows Server 2008 R2, Microsoft Virtual Desktop Infrastructure, Microsoft Application Virtualization 4.5, Microsoft Enterprise Desktop Virtualization, Windows Virtual PC and Windows XP Mode, System Center Virtual Machine Manager 2008, and Microsoft’s private and public cloud computing platforms including Windows Azure.

Introducing Windows Server 2008 R2

This book is targeted primarily at Windows server administrators who are responsible for hands-on deployment and day-to-day management of Windows-based servers for large organizations. Windows server administrators manage file and print servers, network infrastructure servers, Web servers, and IT application servers. Book contains Chapter about Hyper-V, RDS and VDI.

Virtualization for Dummies – HP special edition

The purpose of this book is to provide you with an introduction to the subject so that you can understand its promise and perils — and create an action plan to decide whether virtualization is right for you, as well as how to move forward with implementing it should you decide it is right for you. This book will help you sort out the hope from the hype and give you tools to feel confident in making your virtualization decisions.

Note** – following 4 books are available to download from same site on which you can find a lot of free books. You just need to register with them and that’s it (Everything is free)

The Definitive Guide to Virtual Platform Management  

The Definitive Guide to Virtual Platform Management is designed to help IT staff better manage the complexity of virtualization. This guide begins with a discussion of the business value of virtualization and how organizations can benefit from this technology. Next, details related to virtualization approaches and challenges related to managing heterogeneous environments will be discussed. Based on these issues, the focus will turn to ways in which IT organizations can address all of these issues. Details include monitoring and optimizing virtualization performance, developing policies and processes, and automating data center operations. Finally, a list of important features is developed that IT organizations should look for in a virtualization management solution.

The Essentials Series: Virtualization and Disaster Recovery

The Essentials Series: Virtualization and Disaster Recovery discusses the benefit of virtualization in providing for business continuity though data replication and protection, allowing a more cost-effective solution for high availability and disaster recovery.


The Shortcut Guide to Virtualization and Service Automation

The intent of this guide is to assist the smart enterprise with understanding virtualization’s fit into the rest of the IT environment. A major part of that fit is in aligning the promise of virtualization technology with the automation benefits associated with virtualization management. What you’ll find in reading this guide is that notwithstanding what technologies and technological improvements virtualization brings to the table, there are a set of management enhancements that also arrive. Those enhancements are a function of the levels of automation that naturally bundles with the move to virtualization.

The Shortcut Guide to Selecting the Right Virtualization Solution

The intent of this guide is to assist the smart enterprise with understanding virtualization’s fit into the rest of the IT environment. A major part of that fit is in aligning the promise of virtualization technology with the automation benefits associated with virtualization management. What you’ll find in reading this guide is that notwithstanding what technologies and technological improvements virtualization brings to the table, there are a set of management enhancements that also arrive. Those enhancements are a function of the levels of automation that naturally bundles with the move to virtualization.

Windows Server 2008 Hyper-V: Insider’s Guide to Microsoft’s Hypervisor

Hyper-V is one of the top virtualization products, and this practical guide focuses on the essentials of Windows Server 2008 Hyper-V. Written by the Microsoft team behind the Hyper-V product, this book shows you how to perform key virtualization scenarios, such as server consolidation, software and development, and a dynamic data center and demonstrates how Hyper-V can be used to reduce cost and eliminate the complexity of a server infrastructure by consolidating workloads to a small number of machines. In addition, the material addresses using DPM, and SCOM with VMM in order to maintain and manage Hyper-V environments.


I hope you’ll find some interesting stuff in those books, and of course, feel free to comment if you know maybe more free virtualization books.

Virtual applications (App-V) download repository

October 31, 2009 Leave a comment

Virtual App repository

One day I ran into one very useful and nice web site where you can find a lot of virtualized applications for download. Check it out here, and grab your virtual appliacations. On that site you can find applications for all kind of different purposes:

  • Audio/Video
  • Financial
  • Games
  • Internet
  • Messaging
  • Productivity
  • Programming and a lot more…

So maybe you are asking yourslef, what do I do with those applications, or what are benefit of using virtualized applications. Well first using virtual appliactions can be very useful for you and your precious computer:

  • Virtual applications are never installed on your OS, so they do not slow down your system (e.g big registry etc…).
  • Virtual applications are in their own virtual bubble so they do not have incompatibility issues with other appliacations.
  • Your registry is a lot smaller when using virtualized applications.
  • Managebility of virtual applications is just great and easy.
  • Virtual applications are in one way portable applications, because you can grab them on your usb key and carry them around without need for installing them.
  • And a lot more benefits.

Ok, after we mentioned few benefits of virtual applications, how can you launch them on your computer, after downloading from this site? Well there is one thing you need to have and that is Microsoft Applications Virtualization Client – one tiny software which you can download as part of Microsoft Desktop Optimization Pack. Of course if you  wanna use your applications with APP-V management server you will need to change one parameter in OSD file of application package, and that parameter is servername. If you don’t have management server then you can use App-V standalone mode described nicely here and here.

Opening Infopath forms from Sharepoint site with virtualized Infopath

September 12, 2009 1 comment

Opening documents from Sharepoint site with virtualized Office can cause problems.Today many companies implemented some version of Sharepoint as their internal document management system and overall document repository system. Sharepoint is great and easy to use, and companies can really benefit of Sharepoint’s use, so in some point they decided to use sharepoint site for various kind of documents. That’s really great, and everything work fine for those kind of documents if users have Office installed locally. They simply open Internet explorer, type sharepoint url and click on document they need. Of course, because everything is installed localy, when user click on, for example, xml document it is automaticly opened with Microsoft Office Infopath. Same rule applies to Word documents. But what when users are using virtualized version of Office applications? Well then the thing get little more complicated. When Office is virtualized with Microsoft Application Virtualization and then streamed to a client, every file association is discovered properly, so with virtualized Word, users normaly open .doc or .docx documents if these documents are placed somewhere on users disk. But if those documents are placed on Sharepoint site, then when user click on xml or .docx document,  SharePoint is looking for ProgID’s “Sharepoint.OpenDocuments.*” which are not part of file association, but are part of SharePoint COM objects. So when you try to open those documents with virtualized Infopath or Word you will get error that you don’t have appropriate application for opening documents, or something similar. But luckily things can be fixed.

How can this be fixed?

So if you have Sharepoint site and virtualized Office(Infopath or Word), you should do the following:

  1. Sequence Infopath (Word) by best practices, but then in shortcut phase of sequencing include shortcut to Internet Explorer (It is easy, on application phase just click Add new application and then browse to executable of local Internet Explorer.)
  2. Install Sharepoint services support from the Office CD. You can find this by normally installing Office and then in Office Tools subtree only check on Sharepoint services support.

If you do all that, opening document from sharepoint site should normally work.

Microsoft Application Virtualization (App-V) 4.6 beta available for download

August 6, 2009 1 comment

Microsoft Application VirtualizationGreat news for everyone working with App-V has been announced few days ago – App-V 4.6 beta is available for download. It is great news for many reasons but maybe most noticable because of:

  • Support for 64 bit clients
  • Ability to virtualize 64 bit applications.

So if you can’t wait to try it out, hurry up to Microsoft Connect and download your App-V 4.6 beta.

Duke Nukem goes virtual or How to virtualize Duke Nukem using Microsoft Application Virtualization (App-V)

Virtual Duke NukemDuke Nukem 3D goes virtual or ‘How to virtualize Duke Nukem with Microsoft Application Virtualization’


Have you ever wondered is it possible to virtualize 3D games with Microsoft Application Virtualization? Well, the answer is simple yes. And what about the process of virtualizing? Well whole process is rather simple, as I will show post on this post. Of course, I know that virtualization of Duke Nukem 3D is not great bussiness example but it shows possibilities of application virtualization. Also, it is good example to show in your Microsoft Application Virtualization demos, because process of virtualizing is fast and easy. Ok, so let’s see how to virtualize legendary Duke Nukem. As Duke would say “Let’s rock” :


  • First thing you need to do is download Duke Nukem setup. Download is available here (size=1.4MB).
  • After that, place setup file on dekstop or anywhere else.
  • Run Microsoft Application Sequencer and enter package information as shown on following picture.

Sequencer wizard properties

  • Click Begin Monitoring button, and then create folder or browse to previously created folder. Make sure you create that folder on Q drive and also make sure that folder is empty, and name of the folder is in 8.3 naming convenction. So that means that name of folder can me 8 letters long and after that dot and then three letters. For example Duke.001. After that you are ready, and Sequencing Wizard minimizes automaticly.
  • Now install Duke Nukem as you normaly would, but when asked for installation folder, browse to previously created folder on Q drive. So installation wizard appears, you click next and then browse to folder as shown in following pictures.

Duke Nukem install

 Installation path

  • After installation is done, launch Duke Nukem by clicking on shortcut placed on dekstop. Everything should work fine. After that quit game, and bring Sequencer wizard forward, and click Stop Monitoring.
  •  On “Add aditional files to Virtual File System” click Next.
  • On “Configure applications shortcuts”  remove Duke Nukem internet explorer shortcut because you do not need that.
  • On ” Launch Applications”, Launch Duke Nukem 3D. If everything is fine, you will see start screen of Duke Nukem 3D like in the following picture. After you tried that everything work, close the game.

 Duke lauched

  • Now in Deployment tab of Application Virtualization Sequencer enter name of your management server, choose protocol and enter name of folder in which you will place saved package. Note that the name of that folder is not folder on Q drive but some folder you create on desktop or anywhere else. That will be the folder you copy on management server in Content folder.

Deployment tab

  • Copy folder in which you saved your package to Content folder on management server. On management server go to Application Virtualization Management console  and import application as following picture shows.

Import in Management console

  • To import application package browse to content folder and find Duke Nukem package. Choose .sprj file. New General dialog appear on which just click Next. In Published Shortcut phase check “ Publish to User’s dekstop” and click Next. On File Associations click Next. On Select Groups, select one group in which are users that you want give rights to use and launch Duke Nukem virtual application.
  • After that virtual Duke Nukem should appear in management console along with other virtualized applications.
  • The final step is done on Application Virtualization client computer, on which you just need to log on or refresh App-V tray icon. Of course you must me logged with appropriate user(user belonging to previously choosed AD group).

Refresh with ApV trayp-

  • After refresh or log on, application shortcut appears on dekstop and you  can lounch Duke Nukem 3D as you normaly would. Just play and enjoy. J

Duke Nukem launched on Microsoft Application Virtualization client computer

Finaly just to note what kind of OS i used and some other technical informations. Well in this scenario i used one notebook on which is installed Windows Server 2008 with Hyper-V enabled. I created four virtual machines. Two Windows Xp (Sequencer and App-V client), two Windows Server 2008 (App-V Management server on one and on the other one Domain Controller). Also i joined later one physical Windows Vista computer on which I installed App-V client.  I joined user to AD domain and then just refreshed with App-V tray icon. On Vista computer also everything worked just fine.

So that’s the process of virtualizing Duke Nukem 3D. It is rather simple, and it is good for some demoing of Microsoft Application Virtualization solution.

Application Virtualization Tools

April 16, 2009 3 comments

Application Virtualization is getting more popular every day. Popularity means that a lot of people are using it, so they are trying to be more and more productive, and for that use, they develop some cool and useful tools. Here I  will mention few great tools developed by Login Consultants. All tools are completely free, you just need to register or login. After you login, there are five App-V tools available for download:

By using this tool you can easily create vb scripts for deploying App-V client to end user dekstop.


With this tool you can convert your automated applications setups to App-V Virtualized Applications, with little amount of user intervention.

Really great and useful tool for getting the right diagnose out of your virtual applications.

With all of these tools in your ‘hands’ you can really solve your App-V problems more faster and easier. In my future blogs I will explain all of these tools with more details.