Happy New Year! I hope you all had a perfect holiday season, I definitely did but now I think it's time for my first post of 2013....
Now this is something that I have hardly heard anyone really talk about with App-V 5.0; the fact that we can now target machines instead of users when publishing packages when using full infrastructure deployment.
In this post I am going to publish a media player (VLC Player) to my client by targeting the machine not the user.
First thing to do is run the following command after you have added a publishing server to your client:
You will notice there is a GlobalRefreshEnabled and GlobalRefreshOnLogon setting, these two settings control whether we perform a machine wide refresh and also if it is triggered at logon. There are also two other settings below that which can be used to set periodic refreshes also.
So to start machine targeting to we need to run the following command on the client to enable global refresh and to trigger it at logon:
Set-AppvPublishingServer -ServerId 1 -GlobalRefreshEnabled 1 -GlobalRefreshOnLogon 1
We should now see the new settings have been applied:
Now in Active Directory Users and Computers we need to create a security group and add our desired computer object into it, I’ve created a group called App-V Computers:
Next we need to publish the application to the group we just created:
Finally we need to log off and back onto the client to trigger a refresh and we will find we now have VLC Player published:
If we hit the publishing server URL as a user to will noticed that VLC doesn’t appear in the list of applications, this is of course because the package is published to the machine:
One last thing to note is that if you change the global refresh settings back to false the applications published to the machine will remain on the client, even after logging off and back on. We need to unpublish the package on the management server while the settings are still enabled on the client to successfully remove the package.
Followed your article but only packages assigned to the user are being deployed to my client computer.
The client computer is in the AD group that is assigned to the package, and I have updated the GPO that applies the App-V client configuration. Also I have manually tried updating the App-V client
Not sure what else to check?
thanks in advance
Can you verify the following:
- The GlobalRefreshEnabled and GlobalRefreshOnLogon settings are both set to true when doing a Get-AppvPublishingServer.
- The client has been rebooted after the change
- The AD group membership has been applied to the client machine
thanks the The GlobalRefreshEnabled and GlobalRefreshOnLogon settings were still set to false, despite the GPO being applied.
I manually set them and bang it worked. Need to work out why my GPO is not doing this
thanks for your time
happy to help!
Do you know if computer based targeting is now enabled for the RDS client also? Full appv infrastructure.
Hi Kevin, this works fine on the RDS client too!
hey Kevin, i followed the steps but the app doesn't show up on the target computer. do I need to install anything on the target computer....eg another appv client...so it syncs??