Implementing App-V – Part III: Integrating Clients

November 7, 2009 at 7:32 pm | Posted in App-V | 44 Comments
Tags: ,

 

Other posts in this series:

Implementing App-V – Part I: Introduction to Application Virtualization

Implementing App-V – Part II: Choosing and Preparing the Environment

Implementing App-V – Part IV: Sequencing Applications

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.

clip_image001[22]

2. The wizard starts and click on “Next”.

clip_image001[24]

3. Accept the License Agreement.

4. Select your option for Microsoft Update.

5. Select “Custom” installation option.

clip_image001[26]

6. Accept the default installation path.

clip_image001[28]

7. Data Location, the default preferred drive letter by convenience is used the letter “Q” (avoiding to collide with possible network drives).

clip_image001[30]

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.

clip_image001[32]

9. On Runtime Package Policy Configuration use the default options adding the “On Publishing Refresh” option inside “Automatically Load Application”.

clip_image001[34]

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.

clip_image001[36]

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.

appv27

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.

clip_image001[14]

- 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\”.

appv25

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”.

clip_image001[18]

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.

clip_image001[20]

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\”.

clip_image001[12]

3. Shortcuts tab will let you decide where you want to insert the client’s shortcuts.

clip_image001[10]

4. Access Permissions: Here you can select all the domain groups that will have access to this application.

clip_image001[8]

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.

clip_image001

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”.

clip_image001[16]

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.

Other posts in this series:

Implementing App-V – Part I: Introduction to Application Virtualization

Implementing App-V – Part II: Choosing and Preparing the Environment

Implementing App-V – Part IV: Sequencing Applications

About these ads

44 Comments »

RSS feed for comments on this post. TrackBack URI

  1. [...] Implementing App-V – Part III: Integrating Clients [...]

  2. [...] Implementing App-V – Part III: Integrating Clients [...]

  3. [...] Ok, we had a good look about the entire App-V platform so far: Explanation about application virtualization and the components involved in App-V (Post I); installation of the App-V Server including some troubleshooting tips (Post II); integrating App-V client components, testing the default application and some troubleshooting about this process as well (Post III). [...]

  4. Whenever i try to install the Client I get an error….

    Error 25001.Microsoft Application Virtualization Client for Remote Desktop Services requires that Remote Desktop Services is installed on the system.

    How can I fix this, as far as I know all updates are installed and the RDS 7 is installed on XP clients. I have both XP Pro and Win7 Pro clients, and this same error comes up.

    • You seem to be using the App-V Terminal Services Client instead of the App-V Desktop Client. Those are two different set of installers.

      Hope it helps,

      Augusto

      • I have downloaded the App-V 4.5 from the Microsoft Licensing site, and in the Installers>Client folder, have tried to install the SETUP.EXE, which does install the prerequisites as shown in your tutorial, however, I also get the “Error 25001.Microsoft Application Virtualization Client for Remote Desktop Services requires that Remote Desktop Services is installed on the system.” I downloaded the MDOP 2011 and apparently the App-V in there is still the old one called Softricity, and the WD version installed ok on my client computer, but the screen shots do not look like yours, of course. Where do I find the App-V Desktop Client? I have searched everywhere and have wasted numerous hours trying to find it! It is not easily available on the Licensing website. Thank you.

      • Make sure your not downloading the client for RDS… You want the desktop client.

  5. When i try to launch the dfeault application i get “The Application Virtualization Server has shut down the connection. Try again in a few minutes. If the problem persists, report the following error code to your system administrator

    Error Code: 4604EE8-19D0990A-10000009

  6. Hey There Augusto,

    Awesome Blog and some really great info, thank you! I have been following your Blog creating my own App-V proof of concept and just thought I’d give some feedback.

    Firstly, in Testing the Default Application Step 4. Access Permissions you also need to make sure the Group or User you are giving access to use the application is also defined in the default provider policy. You indicated in Part II you would change this for each application but it’s not clear when following Part III.

    Second, which also answers Dujons question, when you indicate you need to change the DefaultApp.osd file for the default app, you advise to change the server name for where the content is stored, also by default the .osd file specifies RTSPS as the protocol, so this also needs to be changed to RTSP and port number changed to 554 to get this to work.

    Just for those dummies out there like me whom follow things to the letter and can’t get this to work….

    Again, awesome!

    • Hello Karl,
      Thanks a lot of your comments!
      Regarding the second note, that is correct since the latest version of App-V by default includes the RTSPS protocol in the DefaultApp.osd.
      Cheers!
      Augusto

  7. [...] Part 3 Integrating Clients [...]

  8. Hello augusto,

    this is an awsome set of posts…this became very helpul…i did not get all that time to read everything but want to know if app-v is capable of intergrating with windows embedded systems.

    cheers..and thanx alot..!

  9. Hello Augusto,

    When I try to connect to my APPV server I receive this error: “The Application Virtualization Client could not update publishing information fron server-servername-.
    The server will not allow a connection without valid NTLM credential. report the following error to your system administrator.
    error code:4605F3-1690900A-00002002″

    I’m try to connect to the server from my personal computer at home. But when I go to the even log in the server I see that when I’m try to connect to the server it says unknown username or bad password.

    How can I solve this problem?

  10. Augusto,

    Thanks for the help for setting up the server. Do you think that you could do a step by step for setting up a http scenario? Thanks

  11. Hello,

    i have published several application but when i go to the client and refresh the server, i get the following error:

    The application Virtualization Client could not update publishing information from the server . A network operation did not complete in time.Check your network connection , and then try again. Error code: 4604EEB-19D0810A-10000005.

    This happens only if im freshing the server after publish 6 or moreapplication but if i am refreshing after publishing 5 or less applications then i dont get any error, everything works fine. i can’t find a solution on the net….

    • Seems that you need to change the timeout interval, check the following KB http://support.microsoft.com/kb/930697
      The Method 3 could be your scenario.
      Hope it helps,
      Augusto

      • I have tried that solution, increased the timeout to 90 seconds, then 120 seconds but it did not work for me.

      • Did you try setting it to 300 seconds?

  12. Wow, there’s a lot here.
    I’ve set up the server, everything seems to be running fine there.
    I installed the client, found it couldn’t telnet through 554, so I created an allow in the firewall of the server and now telnet connects.
    On the client, I set up the server (should have done the custom install), and when I right click and refresh, it seems to refresh fine, yet I have no icons on my desktop. (I had sequenced another very small program to test)
    I’m also seeing no applications in my App Virt Client on the client PC.
    Any Help would be appreciated! (using app-v 4.6)

    • Hello Dave,
      Did you check the App-V log or the Event Viewer and verify if there’s no warning there about the communication?
      Did you try the DefaultApp from App-V to test the communication?
      Best regards,
      Augusto

  13. Hi Augusto,
    Yes, I checked both, and see no errors in communications. In event log, I have:Successfully started Microsoft System Center Application Virtualization Management Server Version 4.5.3.19480 (3656)
    and in the sf-server.log I have:
    [2011-06-28 10:01:23.989] – 3656 3184 SW_MessageHandler::Open – - – - 5 65535 “Initialization complete.”
    [2011-06-28 10:01:24.698] – 2724 2788 SW_MessageHandler::Open – - – - 5 65535 “Initialization complete.”
    [2011-06-28 10:01:24.715] – 4068 3772 SW_MessageHandler::Open – - – - 5 65535 “Initialization complete.”
    [2011-06-28 10:01:24.728] – 3020 2996 SW_MessageHandler::Open – - – - 5 65535 “Initialization complete.”
    [2011-06-28 10:01:24.742] – 3792 1604 SW_MessageHandler::Open – - – - 5 65535 “Initialization complete.”
    [2011-06-28 10:01:24.753] – 3776 3596 SW_MessageHandler::Open – - – - 5 65535 “Initialization complete.”
    [2011-06-28 10:01:25.246] SRV-DSK-APPV1 3656 3184 SW_SystemDispatcher::init – - – - 0 44951 “Successfully started Microsoft System Center Application Virtualization Management Server Version 4.5.3.19480 (3656)

    Any other ideas?

  14. I figured it out!
    In the application properties, it had a drive letter instead of the \\servername.
    Now though, I double click on the desktop icon, and get Application Virtualization Error
    A network operation did not complete in time

    I’m getting closer….

    • What is the exact error you are receiving? In the Event Viewer or Client log you’ll get the full description.
      Did you try the DefaultApp from App-V?
      Cheers,
      Augusto

  15. Here’s the client error log (just the pertinent part)
    [06/28/2011 11:51:44:494 JGSW ERR] {hap=6:app=DefaultApp MFC Application 1.0.0.1:tid=6C4:usr=dcadmin}
    The Application Virtualization Client could not connect to stream URL ‘rtsps://SRV-DSK-APPV1:554/DefaultApp.sft’ (rc 19D0810A-10000005, original rc 19D0810A-10000005).

    [06/28/2011 11:51:44:541 SWAP ERR] {hap=6:app=DefaultApp MFC Application 1.0.0.1:tid=6C4:usr=dcadmin}
    The client was unable to connect to an Application Virtualization Server (rc 19D0810A-10000005)

    [06/28/2011 11:51:44:931 TRAY ERR] {tid=D94:usr=dcadmin}
    The Application Virtualization Client could not launch DefaultApp MFC Application 1.0.0.1.

    A network operation did not complete in time. Check your network connection, and then try again. If the problem persists, report the following error code to your System Administrator.

    Error code: 4615186-19D0810A-10000005

    • Did you notice that you are using RTSPS protocol? If you didn’t import any certificate and you did not configure the secure protocol for streaming, natively you are using RTSP.
      Change that value in the OSD file for the application and clear the App-V Client cache.
      Hope it helps,
      Augusto

  16. Trying that now.
    Is there any way to make RTSP the default?
    Also, every time, it takes quite some time to do a “checking for updates”.
    I’m rebooting the PC to try again, but the event log is showing an error that it can’t talk to the application server.

  17. Still getting an error in the event log that it could not connect (in one) and in another error, could not connect to stream.

  18. Still getting:
    Application Virtualization Error
    A network operation did not complete in time. Check your network connection and try again.

    Error code: 4615186-19D0810A-10000005

    • Hello Dave,
      Check the Event Viewer / log and verify that you are not using the RTSPS protocol and that the RTSP appears as the protocol from which the client is connecting to the server.
      I would also verify that the content folder has all the necessary read permissions (NTFS and shared).
      Other workarounds for this: http://support.microsoft.com/kb/930697
      Cheers,
      Augusto

  19. In the event viewer on the server, I get this:
    Log Name: Security
    Source: Microsoft-Windows-Security-Auditing
    Date: 6/28/2011 1:52:29 PM
    Event ID: 4625
    Task Category: Logon
    Level: Information
    Keywords: Audit Failure
    User: N/A
    Computer: SRV-DSK-APPV1.DOMAIN.net
    Description:
    An account failed to log on.

    Subject:
    Security ID: (hidden domain name)\dcadmin
    Account Name: dcadmin
    Account Domain: domain
    Logon ID: 0x11174c3

    Logon Type: 3

    Account For Which Logon Failed:
    Security ID: NULL SID
    Account Name: Guest
    Account Domain: SRV-DSK-APPV1

    Failure Information:
    Failure Reason: Account currently disabled.
    Status: 0xc000006e
    Sub Status: 0xc0000072

    Process Information:
    Caller Process ID: 0xddc
    Caller Process Name: C:\Windows\explorer.exe

    Network Information:
    Workstation Name: SRV-DSK-APPV1
    Source Network Address: -
    Source Port: -

    Detailed Authentication Information:
    Logon Process: Advapi
    Authentication Package: Negotiate
    Transited Services: -
    Package Name (NTLM only): -
    Key Length: 0
    - Key length indicates the length of the generated session key. This will be 0 if no session key was requested.
    Event Xml:

    4625
    0
    0
    12544
    0
    0×8010000000000000

    17167

    Security
    SRV-DSK-APPV1.DOMAIN.net

    S-1-5-21-2135040803-1544507447-440082522-20821
    dcadmin
    DOMAIN
    0x11174c3
    S-1-0-0
    Guest
    SRV-DSK-APPV1
    0xc000006e
    %%2310
    0xc0000072
    3
    Advapi
    Negotiate
    SRV-DSK-APPV1
    -
    -
    0
    0xddc
    C:\Windows\explorer.exe
    -
    -

    Not sure why it’s trying to use a Guest account.

  20. I think I got the fix, at least for the default application.
    I had one port set to 554 and the other to 544.

    Now, the second app (WinZip) still doesn’t work, says it can’t find the package.
    Oh well… there’s always tomorrow!

    • Good to know.
      Did verify in WinZip OSD if the path and port is correct?
      Did you clear cache in App-V Client?
      Cheers,
      Augusto

  21. Yes, that’s the first thing I did when I got the default app to work.
    How do you clear the cache in the client?
    I just “refresh” the server.

  22. Ok, when I sequenced, WinZip, it made a folder on my desktop (that’s where I told it to put it), that has the osd files, the winzip.msi, the sft and sprj files and icons.
    I put that on the server. It also installed to a Q: drive on that PC which has the normal WinZip executable and all the other files it needs to run normally. That folder doesn’t go on the server, does it?

    • If you placed the folder created (where the SPRJ is stored) within the content folder (meaning that you have \content\winzip structure), remember that the RTSP path included in the OSD must be rtsp://server/wizip/winzip.sft.
      Review the Part IV of this series to check the publication process.
      Cheers,
      Augusto

  23. Got it to work! You and your website are the best Augusto!!!

    Dave

  24. New Problem now Augusto (and I bought your book!).
    If I log into the client PC as a domain admin, all works fine. If I log in as a normal domain user (who is a member of the App-V Users Group), I get an error on the client when I try to refresh server of: The Application Virtualization Client could not update publishing information from the server (insert servername here).
    The server could not authorize you to access the requested data.
    what am I missing? (I have rights to the content folder/share)

    • Hello Sir,
      Maybe you can check your shared directory and NTFS file/directory permission. Last time I met this problem is that I just create the shared permission only.

  25. Hi Augusto,

    Thanks for all the posts… Good work!

    I am trying to give access permissions to a user group for app-v in server manager. My problem is, I want any domain user who logs on to a specific computer have access to those published apps. Is there a way of doing this? Meaning I don’t want all domain users through out the forest to have these applications shortcuts show up on any computer they login to. Just want a specific group of computers to have these applications show up regardless of whoever logs in. Please explain if there is a way of doing this. Thanks

    Saba

    • Hello Saba,
      App-V Management Server does not support publishing to computer objects instead of groups, the supported approach is using MSI and Group Policy to accomplish this. You’ll get some kind of central administration using GPO, but you won’t be able to do it in App-V Management Server.
      Sorry for the delay on this.
      Hope it helps,
      Augusto

  26. hi there,

    our Clients are using sequenced MS Office and everytime they want to open a save word doc for example they have to open it through opening a MS Word Document.

    By default it doesn’t show with a word icon neither. if not they shall open it through “open with” and selecting Application Virtualisation Client which would also bring up “Choose Application” each time they wanna open it.

    is there any way you can open it and recognize with the right Office App Icon by default.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com. | The Pool Theme.
Entries and comments feeds.

Follow

Get every new post delivered to your Inbox.

Join 135 other followers

%d bloggers like this: