onsdag den 11. april 2018

SCCM Applications hang during OSD

Case:

Installing applications during OSD task sequence. This applies to static applications as well as dynamic applied applications using variables.

Error:

Application started to hang and randomly installed on some clients and not others.
You see lots of errors in different logs.

CAS.log


SMSTS.log





DataTransferService.log












So the client running OSD are trying to access the peers to access the content which will not be allowed during this stage. When it finally tries to access the correct distribution point stated in the boundary group it is already exhausted.


Solution:

Disable peer cache in client settings.

It should be enough, but it isn't. Clients will not change this setting back to normal. So I used Umair Khan's guide to help the client's understand that they should react normal and not as peers.

This is still not enough. Found out that if there exist information in the sccm database in the following 2 tables:

SuperPeers
SuperPeersContentMap

The client running OSD will still try to access content on peers. Therefore we need to delete all content of these tables: (make sure to backup you system first. If it is virtual then shutdown the server and make a snapshot)

Go to SQL Management studio and run query on the sccm database:

Delete from SuperPeers
Delete from SuperPeersContentMap

Then your OSD will work as expected, and your application will install like before this setting was applied.

SoftwareCentral 5.7 release - What's new!?

What’s new in SoftwareCentral 5.7? To start with, this blog will not show all new changes, but the once that I thought would be great to ...