Pxeboot over slow line - speed it up

Playing around with TFTPWindowsSize can result in faster pxeboot process over a slow line.

One of my colleagues has optimized the pxeboot process by adjusting the TFTPWindowsSize.
In our case the load of the pxe wim vent down from 20 min to 2 min.

The default value i 1, and the test ended with 16.
it migth be required with some test in your environment to find the "right" value for you.

The change did not impact the pxe process on VMWare.

PS/ Do not change the TFTPBlocksize, this will break the pxe process!

Next step will bo to implement BranchCache, to get additional performance improvements

Just a link to the old blog..

SCCM CB Monitoring | Deployment Reporting using SQL

I have been look for a way to report deployment status, without using Monitoring | Deployment in the console. The trick was to monitor SMSPROV.LOG while I activated the monitoring  | deployment in the console. After some digging around in the log, I found the select statement below.

I have modified it a bit and added some comments.

selectall SMS_DeploymentSummary.ApplicationName, SMS_DeploymentSummary.AssignmentID, SMS_DeploymentSummary.CI_ID, SMS_DeploymentSummary.CollectionID, SMS_DeploymentSummary.CollectionName, SMS_DeploymentSummary.CreationTime, SMS_DeploymentSummary.DeploymentID, SMS_DeploymentSummary.DeploymentIntent, SMS_DeploymentSummary.DeploymentTime, SMS_DeploymentSummary.DesiredConfigType, SMS_DeploymentSummary.EnforcementDeadline, SMS_DeploymentSummary.FeatureType, SMS_DeploymentSummary.ModelName, SMS_DeploymentSummary.ModificationTime, SMS_DeploymentSummary.NumberErrors, SMS_DeploymentSummary.NumberInProgress, SMS_DeploymentSummary.NumberOther, SMS_DeploymentSummary.NumberSuccess, SMS_D…

Download an appx application locally to be used in SCCM CB

Download an appx application locally to be used in SCCM CB I got some inspiration to this blogpost from:

Here is an easy way to download an appx from Microsoft store.
This can be used to add an appx application in SCCM CB and the distribute it to devices.

Why all this hazzle, when you can get the app from the store?
Quite simple: our company policy don't allow app update over the Internet

The application must be installed, to be able to copy the download link.

Search for the application and chose share.
(Sorry for the danish. Lommeregner = Calculator)

In the share dialog box, select copy link

Browse to this URL: and paste the URL into the textbox

Find lines with the version number you would like to download and place them all in the same folder.
Also download the files for x86 & x64

or an easier way....
from a Win10 device.
Fire up Powershell as an a…

Agent fail to download policies

Agent fail to download policies Agent fails to download it’s policies and there is no errors on management point and the ClientIDManagerStartup.log shows [RegTask] – Client is already registered. Exiting. Uninstall of the agent (ccmsetup.exe /uninstall) and reinstalling do not help at all.The issue is that the uninstall do not clean up in ROOT\CCM in WMIRun this line in a admin powershell prompt:Get-WMIObject -namespace “root” -query “SELECT * FROM __Namespace where name = ‘ccm’” | remove-wmiobjectThen run the agent installation and grab a cup of coffe, and the agent will installed and are able to download it’s policiesAfter a few SCCM minutes it will be active and have the “green” icon in the console

List applications in a task sequence

List applications in a task sequence
Ever needed to list all applications in a Tasksequence via powershell?

Function TaskSequenceReferences()
  $AllTS = Get-CMTaskSequence | select Name, sequence
  Foreach($TSName in $

  $TS = Get-CMTaskSequence -Name “$TSName” | select Sequence
  $TSxml = ConvertTo-Xml $TS#.Sequence
  [xml]$XML = $TSxml.OuterXml.Replace(‘&gt;’,’>’).Replace(‘&lt;’,'<‘)
  #Application info
  $AppList = ($XML.SelectNodes(“//defaultVarList/variable”) | Where-Object {$ -like    “AppInfo*DisplayName”}).’#text’

     Foreach($Appl in $AppList)
    Write-Host $Tsname”,”$Appl