I have released an update to my ConfigMgr Client Health script due to feedback from the community. This version includes minor bug fixes and small improvements in how the script fixes errors.
To Run a PowerShell script inside a vbs script can be usefull for many reasons, and its a quick and dirty way to run PowerShell scripts in environments where execution policy normally stops you from running your scripts. A vbs wrapper script is what I use to launch PowerShell scripts in those scenarios.
Clients with a broken Configuration Manager Client is the worst. You lose management of the client, and it drags down compliance. I have even seen some broken clients report back as compliant while they are not. I’m aware about other community solutions to reinstall the client if broken, and they are all great solutions but I one of my customers had two specific issues with their clients that caused about 10% of the computers to not receive patches, and none of those solutions would fix their problem. I needed a way to consistently check the health sccm client and automatically attempt to fix known errors. ConfigMgr Client Health was born.
One of my customers had a lot of computers that didn’t receive patches because of an old group policy setting cached on the client pointing to a decommissioned WSUS server. Specifying a WSUS server in GPO is not necessary when patching clients with software updates in SCCM. Removing this group policy fixed the issue on a lot of computers, but we still had too many computers that where not compliant. GPO cache on the clients was the issue. and this is how we fixed it.
Virtual desktop in Windows 10 is a feature I use all the time, and I love it. It makes so much sense to use virtual desktops, especially at work where I work with several customers at the same time. It is so easy to switch between customers view and systems now. This is how I use virtual desktop and the important hotkeys.
I want the OSD process to install all user applications if the primary user on the device is known. This is very simple to achive, all you need is an active deployment of the application to the user with the setting “pre-deploy software to the user’s primary device” enabled on the deployment. Only one problem, I had to enable it for 300+ deployments. Its easy with PowerShell.
Windows 10 ADK 1607 is now available for download. I will update my scripts to use ADK 1607 instead of 1511. Hopefully we don’t need any hotfixes to this version. You can download ADK 1607 from Microsoft: http://download.microsoft.com/download/9/A/E/9AE69DD5-BA93-44E0-864E-180F5E700AB4/adk/adksetup.exe
How to configure DaRT with ConfigMgr boot image. DaRT (Diagnostics Repeair Tools) is part of the Microsoft Desktop Optimization Pack and is a great tool to enable remote access into the boot image during an OS installation. Here is how you configure it in your sccm boot image.
SCCM Firewall ports and network ports must be defined if you want manage clients across multiple networks. Configuration Manager to properly manage clients if some ports are not been defined and opened to allow for traffic to flow properly. Typical symptoms of failed network connectivity can be clients stuck with old configuration manager client, trouble to patch and deploy software. Here is a copy of my cheat-sheet that I use (or send to the network technicians) to make sure all required traffic is let through.
How to deploy Windows Management Framework 5 with Configuration Manager. Windows Management Framework 5.0 provides a lot of new features, including PowerShell version 5 and Windows Remote Management. This is how you deploy Windows Management Framework 5 to your devices with SCCM.
With this post I want to explain the CCMSetup install switches as I get asked a lot how and when to use them. The Configuration Manager client is installed by launching ccmsetup.exe. This happens to all client installations, even if client push installation from the Configuration Manager console and task sequence installations with the setup windows and configuration manager step.
There have been a lot of discussion how to write a proper PowerShell detection method and how to tell Configuration Manager if the application was detected. This post explains how a PowerShell detection method for sccm works and what it should return if the applications is detected as installed.
Keyboard layout in boot image is something I change for my customers as we have non-english keyboards in Europe. Both Norwegian and Swedish keyboards have a different key layouts and we also have extra characters in our alphabet. It looks very unprofessional when what you type is different from what is written. This is how we change the keyboard layout in boot image with wpeutil.
Microsoft released a ADK 1511 hotfix earlier this year to fix problem with network connectivity in the boot image. This hotfix provides a file (schema.dat) that you manually need to replace in your boot images, which involves 9 manual steps an a lot of typing. It took too much time to update this for the customers I work with so I wrote a PowerShell script that makes the job easy for me.
In the first part of my SCCM Performance Tuning series we went through disk performance and SCCM collection evaluation updates. Part 2 of the series covers optimization of SQL database and antivirus exceptions for your SCCM server, which are two areas where the wrong configuration can cause huge loss in performance.
How to connect SQL with PowerShell. PowerShell has built in functionality to connect to SQL databases, which makes it very powerful. Here is how you do it.
How to deploy Acrobat Reader DC with SCCM using the application model. The installation will be unattended and silent as every good SCCM deployment should be. It also supersedes old versions of Adobe Acrobat Reader to make sure they get uninstalled before we install the new version.
Fragmented indexes in your SQL database can make your application slow down your significantly. And the indexes on SCCM database get fragmented very quickly. Ola Hallengren developed a maintenance solution for SQL that I use on every SQL server I manage, there is a huge performance gain in the SCCM console after optimizing sql database with this solution. This tutorial will go through how to implement his SQL Maintenance Solution and schedule it to run every night.
This series will go through SCCM performance tuning and look at typical issues that may slow down your SCCM server. These are the same guidelines I follow when I install and configure SCCM for my customers. It is my impression that many SCCM installations are done with default settings, and no maintenance tasks are configured on SQL or the server to increase performance. The result is a horrible slow console to work with. These are things we will look at in this series. When your brakes fail and lock on your car, a bigger engine is not the solution. A hardware upgrade for your SCCM server may not be the solution to a slow and unresponsive SCCM console.
Powershell execution policy is misunderstood and often looked upon as a security feature that stops you from running your scripts. But it’s not intended as a security feature, and it was not designed to make your life hard. In this post I will explain what Powershell execution policy is, how to set it, and finally how to bypass it.