Thursday, January 26, 2017

Appsense AM and network exes

Appsense Application Manager (very sensibly) be preventing exe on network location from running.

If you want to add an exe as an Accessible Item be aware of the following.

AM may interpret the real location i.e. the server name which the exe file is being delivered from.  If you use a path to specify the exe file location then this could fail if the path you are using is a distributed file system (DFS) type.  Consider not using the path as part of the specification.

RALogger.exe - this is the AM rules analyser.  Run this elevated while executing an exe file.  The XML logs which this tool creates will log the rules involved in blocking / allowing the file to run.

Monday, January 23, 2017

Don't forget your carrots.


I mean carats.  ^ is a carat.

In Appsense Environment Manager Personalisation if you are specifying the version of the application executable version in the RegEx field it is a important to use

^11.*  for a exe with a 11.0.2600.0 version.  The carat makes appsense read the string from the beginning and without it, it probably will not work.



https://www.myappsense.com/documentation/20140723/AppSense%20Environment%20Manager%20Personalization%20Product%20Guide.pdf

Friday, December 16, 2016

Internet Explorer (IE) Get those tabs back and other annoying lockdowns


Group policy turns them off, you turn them on :)
(with your admin access obviously)

HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel
or
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Control Panel

AdvancedTab 0
SecurityTab 0
PrivacyTab 0

etc

cmd command console disabled:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System
DisableCMD 0

Tuesday, December 6, 2016

Visual Studio 2012 error


This Visual Studio 2012 error can be easily rectified


 " 'Microsoft.VisualStudio.Editor.Implementation.EditorPackage' 
package did not load correctly". 
 
 
Just delete the files and folders in


%LOCALAPPDATA%\Microsoft\VisualStudio\11.0\ComponentModelCache

https://connect.microsoft.com/VisualStudio/feedback/details/800087/getting-error-microsoft-visualstudio-editor-implementation-editorpackage-package-did-not-load-correctly

Wednesday, November 9, 2016

Find the App-V 5 PackageID VersionID

It is possible to find the PackageID and VersionID of an App-V 5 package by opening the MSI and reading the Properties Table:

PACKAGE_GUID = PackageID
ProductCode = VersionID

Keywords: GUID

Thursday, September 8, 2016

Disable-AppvClientConnectionGroup does not work


Connection groups are enabled globally or for users.

Disable-AppvClientConnectionGroup can be run in the system context with -usersid <usersid> to target the relevant user. The -GroupID <GUID> -VersionID <GUID> can be used to target a particular connection group.

This command

Disable-AppvClientConnectionGroup * -usersid <usersid> 

should disable all the connection groups for the user, however this command will cause an error if other connection groups exist which are not enabled for the user.  At first this looks confusing however, because not all the connection groups are enabled for the user, it is unable to disable any of them and errors are reported:

disable-appvclientconnectiongroup : Operation cannot be completed because connection group is not enabled for the target of the operation. Please make sure that the connection group is enabled.
Operation attempted: Disable Connection Group.
AppV Error Code: 020000050A.
Please consult AppV Client Event Log for more details.
    + CategoryInfo          : InvalidResult: (:) [Disable-AppvClientConnectionGroup], ClientException
    + FullyQualifiedErrorId : DisableConnectionGroupError,Microsoft.AppV.AppvClientPowerShell.DisableAppvClientConnectionGroup

Friday, August 19, 2016

Web site zone information

In later versions of IE the zone the website is identified as being in is shown under properties in the file menu.  The Menu Bar must be turned on first.