Categories
ConfigMgr

ConfigMgr : Refresh Scenario Error 80070002 Post 2012 R2 Upgrade

Issues with the Network Access Account following an SCCM 2012 R2 upgrade are not uncommon:

Despite creating a new account, deleting the old account and recreating boot images we were still running into issues on some refresh scenarios with Task Sequences failing with a 80070002 error code – bare-metal deployments of new machines were fine, using the same boot images.

It turns out that the clients targeted by the refresh Task Sequence we’re still running the legacy, non-R2, SCCM client. After upgrading the client to the R2 version all Task Sequences ran without issue.

Categories
Presentation Server

Citrix : Slow Login, Profile Cleanup Script

Ran into a strange issue today with two Citrix servers, both suddenly started to exhibit extremely long logins of ~3 minutes – this initially meant that users could not access any published applications on the servers due to the default LogoffCheckerStartupDelayInSeconds timeout of 60 seconds. Sessions would start, hang at the “Welcome” stage of the Citrix application startup and then the session would terminate after 60 seconds.

We modified this registry key to 180 seconds and applications would then launch, workaround in-place, but what was really causing the issue?

After a LOT of troubleshooting it was discovered that there were 100+ profile folders on the servers. We scripted cleanup of these profiles using the script below, login times dropped to ~25 seconds.

Categories
ConfigMgr

ConfigMgr : Application Catalog Cannot Connect to the Application Server

Ran into an issue with our applictaiobn catalog site this week – no changes had been made, no certificates renewed etc. Not sure what triggered it!

 

Categories
ConfigMgr

ConfigMgr : Deploy MSU Windows Updates not in WSUS catalog

A revised version of a script I found here:
http://ccmexec.com/2012/02/installing-multiple-windows-7-hotfixes-msu-with-sccm/

Use this script in an SCCM package that contains MSU fuiles to mass install updates. You can include as many MSU files as you like.

Categories
ConfigMgr

ConfigMgr : 2012 SP1 Upgrade to R2 CU1

Recently completed an R2 upgrade of a Primary Site with multiple Secondary Sites, as expected this was ‘interesting.’ I’ve captured our experiences below – hopefully this will be useful for someone else about to go through a similar excerise.

Categories
ConfigMgr

ConfigMgr : Managing DirectAccess Clients

We’re currently testing a Windows 2012 R2 DirectAccess deployment, part of this is includes a swathe of application testing. During this testing we found that SCCM clients were unable to download content from any DPs, meaning Software Deployment was failing when connected via DirectAccess. The solution is not suprising – you need to modify the SCCM Boundaries and ensure you have defined a boundary for your IPv6 Prefix, assigned to your DirectAccess clients.

To find the prefix, view the properties of a DirectAccess-enabled device in SCCM – you’ll see the detected IPv6 prefixes within the captured properties. Simply add the correct prefix to your SCCM boundary configuration.

Categories
ConfigMgr

ConfigMgr : Application Catalog DPI Scaling Issues

This has been a personal bugbear of mine for a while – if DPI settings on a client device are set to 125% or even 150% the SCCM Application Catalog is terrible, requiring users to scroll in virtually every direction to use the website.

I came across the following MS connect post today that offers a temporary workaround.

Modify the Main.css file located under: <SCCM install directory>\SMS_CCM\CMApplicationCatalog\Content\Main.css, change the #ASPcontainer element to look as follows:

#ASPcontainer
{
position: fixed;
height: 99.5%;
width: 100%;
}

This will not survive re-installation of the AppCat role, nor will it survivce AppCat upgrades. Change requires no restart/iisreset – effective immediately.

Categories
Microsoft

SharePoint 2010 ; Photo Library Multiple Upload

So we have some SharePoint 2010 Photo Libraries that users want to bulk-upload photos to, these users however are running Office 2013 which means they do not have the “Microsoft Office Picture Manager” utility – in fact this was depreciated with Office 2013.

Rather than deploying an Office 2010 application specifically for this purpose we simply advised the user to map a network drive to the Picture Library – just as you would a normal drive, however specify the HTTP/HTTPS path to the library itself, i.e. https://intranet.domain.local/photos – users can then drag and drop as many files as they want.

Categories
Microsoft

OpsMgr : Agent Deployment Error; Already in the process of being managed

Came across this error recently when trying to push the agent using discovery wizard:

One or more computers you are trying to manage are already in the process of being managed

From SCOM OPS SQL Database use the following TSQL to resolve this issue:

{code lang:sql showtitle:false lines:false hidden:false}USE OperationsManager
GO

SELECT AgentPendingActionId, AgentName
FROM AgentPendingAction
WHERE AgentName like ‘ServerName%’

–As long as the above returns something useful, then run

DECLARE @ActionId uniqueidentifier
SET @ActionId =
(
SELECT AgentPendingActionId
FROM AgentPendingAction
WHERE AgentName like ‘ServerName%’
)
EXEC p_AgentPendingActionDeleteByIdList @AgentPendingActionIdList = @ActionId{/code}

Categories
ConfigMgr

ConfigMgr : Windows 8.1 Build Modern App Tiles Wrong Language

We’re currently testing a ML Windows 8.1 build – 30+ languages, so languages are injected on demand, based upon network location. One thing we ran into was that the Modrn App tiles were still in the base OS language (en-US).

This appears to be a known bug as outlined here: http://support.microsoft.com/kb/2928948/en-us

The solution? Simply add a Run Command Line task to your Task Sequence after “Setup Windows and Configuration Manager” stage to execute the following command:

{code lang:text showtitle:false lines:false hidden:false}Schtasks.exe /change /disable /tn “\Microsoft\Windows\AppxDeploymentClient\Pre-staged app cleanup”{/code}