Thursday, February 19, 2015

RunVirtual Key may finally be the answer in App-V 5 SP3


RunVirtual enables App-V packages to run on locally installed applications e.g. add-ons

Set the new registry subkey’s value to the PackageId and VersionId of the package, separating the values with an underscore.

Syntax: <PackageId>_<VersionId>

Example: 4c909996-afc9-4352-b606-0b74542a09c1_be463724-Oct1-48f1-8604-c4bd7ca92fa

The application in the previous example would produce a registry export file (.reg file) like the following:

Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppV\Client\RunVirtual] @="" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppV\Client\RunVirtual\MyApp.exe] @="aaaaaaaa-bbbb-cccc-dddd-eeeeeeee_11111111-2222-3333-4444-555555555

SP3 finally seems to have this all covered off.  Imagine there are 3 different addons for 3 different users.  One app can only have a relationship with one GUID string so a connection group is required.

According to the SP3 doc link below the users will only get the individual App-V packages in the connection group - the ones they are entitled to and not the ones they are not supposed to have.

FINALLY !

references
http://stealthpuppy.com/app-v-5-0-delivers-internet-explorer-plugin-nirvana/
SP2 related - it still wasn't *total* nirvana when this was written though.

https://technet.microsoft.com/en-us/library/dn858703.aspx

https://technet.microsoft.com/en-us/library/dn858700.aspx#BKMK_runvirtual_reg_key

http://www.tmurgent.com/TMBlog/?p=2211

http://virtualvibes.co.uk/everything-you-need-to-know-about-app-v-5-0-sp3/
http://virtualvibes.co.uk/connection-groups-2-0-in-app-v-5-0-sp3-more-manageable-more-flexible/
http://virtualvibes.co.uk/runvirtual-comes-to-the-user-in-appv-5-0-sp3/


Another reason why you need SP3.

Sequence an addon in SP2 - say a lovely ActiveX control with a shortcut to launch IE pointing to the relevent website.  Deploy, test and marvel at your wonderful package.

Now close your IE session and start a normal IE session which is just running normally.  NOW try your lovely package - ain't gonna work is it? cause it gives you a some kind of IE session spawned from the original.  Your ActiveX control is no where !  SP3 might sort that out for ya.

Wednesday, February 11, 2015

SCCM 2012 Configuration Manger Console may require the MDT


Could not load file or assembly file:///C:\Program Files (6)\Microsoft Configuration Manager\AdminConsole\bin\Microsoft,BDD.CM12.Actions.dll’ or one of its dependencies. The system cannot find the file specified.










The above occurs because files named Microsoft.BDD* are not present. These are not installed by the SCCM Admin Console installation but by the Microsoft Deployment Toolkit (MDT). The files then have to be copied over to the required folder shown in the error message

Tuesday, February 3, 2015

KMS


Key Management Service (KMS) clients use DNS to locate a KMS server.  The DNS entry is a SRV type  with a name of _VLMCS

slmgr /dlv on the client to display the license information and which server has been selected for KMS.

this command queries the DNS for the KMS server addresses.
nslookup -type=SRV _vlmcs._tcp.<forward lookup zone>

Use cscript slmgr.vbs to get screen text output.  The default just pops up text windows which can be useless if there is a lot of text.

More information here https://technet.microsoft.com/en-us/library/ff793434.aspx

Some Microsoft products which are volume licensed use KMS servers to activate. Office 2016 is an example run the following to check the activation status.

change directory to C:\Program Files (x86)\Microsoft Office\Office16
run

cscript ospp.vbs /dstatus