Categories
Lansweeper

LANSweeper : Specific Software Deployment Report

Use the following query to find a specific applictaion and its deployment data, change the softwareName and softwarePublisher fields to suit.

{code lang:sql showtitle:false lines:false hidden:false}Select tblAssets.AssetName,
tblAssets.Domain,
tblAssets.AssetUnique,
tblSoftwareUni.softwareName,
tblSoftware.softwareVersion,
tblSoftware.Installdate

From tblAssets
    Inner Join tblSoftware On tblAssets.AssetID = tblSoftware.AssetID
    Inner Join tblSoftwareUni On tblSoftware.softID = tblSoftwareUni.SoftID

Where tblSoftwareuni.softwareName Like ‘%Helper Object%’ And tblSoftwareUni.SoftwarePublisher Like ‘%microsoft%’

Order By tblAssets.Domain, tblAssets.AssetUnique, tblSoftwareuni.softwareName{/code}

Categories
ConfigMgr

ConfigMgr : X64 and X86 Device Collection Query

Use the following WQL queries to identify devices by architecture – this makes rolling out SCCM client updates a little easier.

The WQL below can be used to create an X64/64-bit device collection. Simply modify X64-based PC to “X86-based PC” to create a collection for X86/32-bit devices.

{code lang:text showtitle:false lines:false hidden:false}select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_SYSTEM.SystemType = “X64-based PC”{/code}

Categories
ConfigMgr

ConfigMgr : USMT 5 and Offline Files

I was under the impression that USMT will save/copy any unsynchronised offline files, whilst ignoring files that are safely synchronised elsewhere – until recently.

On performing an in-place refresh from Windows Vista x86 to Windows 7 x86 SP1 we had a single user who’s un-sync’d offline files were not saved/copied by USMT. Unfortunately there was little we could do after the event, other than try and work out why, without the scanstate.log files.

I then came across the following Microsoft KB: http://support.microsoft.com/kb/2736596

So USMT should protect and migrate these files… it just doesn’t.

Categories
ConfigMgr

ConfigMgr : Dell Latitude E7240/7440 wdf1000.sys BSOD

In further testing on the E7x40 series I’ve run in to Blue Screen errors under Windows 7. Using DaRT Crash Analyzer the offending driver looks to be the Intel Management Engine Driver, TeeDriver.sys:

To resolve, download and install: https://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=23276&keyword=Intel(R)+Management+Engine+9.5&DownloadType=Drivers&lang=eng

Import this driver to SCCM and integrate this into the SCCM driver pack to resolve this on future deployments.

Categories
Windows 8.1

Windows 8.1 : Modern Applications and Cookie-Based Authenticated Proxies

I’ve been testing Windows 8.1 within the organisation for a few weeks – and have been experiencing issues with Modern (Metro) Applications when interacting with our zScaler proxy. The issue with this, amongst other cookie-based authenticated proxy servers, is that Modern Applictaions do not support the use of the users cookie to provide authentication to the proxy. Essentially we would see issues such as:

  • The Windows Store displays no images / complained about not being connected to the Internet
  • Application downloads would fail from the store
  • XBox Music and other streaming applications would play no content

For example:

 

Categories
ConfigMgr

UE-V 2.0: End-to-End Deployment

Microsoft User Experience Virtualization is a relatively straightforward technology to deploy – there is no server-side application installation, all you need is a couple of file shares and then an agent deploying to each device. The components of my production deployment are as follows:

DFS shares, each with offline files disabledUE-V 2.0 doesn’t play well with offline files:

\\domain.local\DFSNOCACHE\UEV2\Settings : All Users that use computers with the agent should have permissions as outlined here

\\domain.local\DFSNOCACHE\UEV2\Templates : All Computer Objects that have the agent should have read permissions, again as outlined here

Rather than using all of the built-in templates, copy those that are of interest into the Templates folder, and ensure that you do not register the MS templates at Agent Install (I’ll show you in a moment). I encountered lots of issues with the built-in templates and Office 2013 – see here. For reference I copied:

When it comes to settings synchronisation, you have two options:

  1. Per-User – ensure the users gets the same look and feel across multiple devices
  2. Per Device – ensure all users of one device get the same look and feel

We opted for a per-user model, this means that if a user loses their device they can logon to a new laptop – one which we have associated their user account with in SCCM – their personal, user assigned applications install via SCCM and UE-V 2.0 applies their personal settings such as IE homepage, Outlook Signatures, Desktop Background. Essentially its a poor-man’s USMT, it will never provide the incredibly rich capability of USMT as on a per-user basis we’re seeing <5MB per user, in fact typically 2MB.

Finally, to deploy the agent via SCCM use the following command – be sure to update the UNC path with a valid location! The important parts here are:

  • RegisterMSTemplates=FALSE ; ensures the built-in templates rae not imported
  • SettingsStoragePath=\\<UNC PATH>\Settings\^%username^% ; the DFS share to store per-user settings. Command is specifically for SCCM deployments, ^%username^% will ensure the username environment variable is used.
  • SettingsTemplateCatalogPath=\\<UNC PATH>\UEV2Templates ; the DFS share with the XML UE-V 2.0 templates
AgentSetup.exe /quiet /norestart /log "%temp%UE-VAgentInstaller.log" RegisterMSTemplates=FALSE SettingsStoragePath=\\domain.local\DFSNOCACHE\UEV2\Settings\^%username^% SettingsTemplateCatalogPath=\\domain.local\DFSNOCACHE\UEV2\Templates

Remember, with UE-V 2.0 settings are synchronised in different ways:

  • Logon/Logoff
  • Lock/Unlock
  • Launch/Close of an application
Categories
ConfigMgr

ConfigMgr : Dell Latitude E7240 and E7440 wPci.sys

I extended the Windows 7 and Windows 8.1 Task Seqeucnes today to support the latest Latitude models – the E7240 and E7440. Both are nice machines.

The Windows 7 builds, despite importing the Driver Pack supplied by Dell, were failing with the error:

Windows failed to load because a critical system driver is missing or corrupt. WindowsSystem32driverswPci.sys

After removing the associated drivers from both the E7240 and E7440 Driver Packages the build issues were resolved – ironically, there were no unknown devices following completion of the Task Sequence.

The driver to remove is “wPCI Up stream port (marlon)

Don’t forget that for Windows 7 you’ll also need the KMDF 1.11 driver, integration instructions here: /microsoft-articles/34-configmgr/2075-configmgr-kernel-mode-driver-framework-1-11-kb2685811

Categories
ConfigMgr

UE-V 2.0: Basic Office 2013 Template

Microsoft, as of 28/01/14, have now issued official Office 2013 UE-V 2.0 Templates – available here: https://blogs.windows.com/windows/b/springboard/archive/2014/01/28/announcing-ue-v-office-2013-template-support.aspx?Redirected=true

Categories
ConfigMgr

UE-V 2.0: RDS Client Template

Here is a Microsoft RDS Client template I created to sync recent connections and associated logon names between devices.

No warranty implied, use at your own risk.

Categories
ConfigMgr

UE-V 2.0 : Excel There was a problem sending the command to the program.

It’s never as simple as it should be with Microsoft Technologies – UE-V 2.0 is another good example of this. We’ve been trialing this internally for a couple of weeks and noted a strange issue affecting Office 2013:

 

There was a problem sending the command to the program.

Update 14/02/2014: There is now a hotfix for this issue: http://support.microsoft.com/kb/2927019