No Picture

How to Run a PowerShell script inside a VBS script

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.

ConfigMgr Client Health

ConfigMgr Client Health – Fix Broken SCCM Clients

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.

No Picture

Computers not patched by SCCM due to cached Group Policy WSUS setting

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.

How To Use Virtual Desktop in Windows 10 with Multiple Monitors

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.


Automate Pre-Deploy Software to the User’s Primary Device with PowerShell

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.

No Picture

Windows 10 ADK 1607 now Available

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:

SCCM Firewall ports required by clients

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.

Deploy Windows Management Framework 5

Deploy Windows Management Framework 5 with ConfigMgr

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.

CCMSetup Install Switches

CCMSetup Install Switches

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.

PowerShell Detection Method for SCCM

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

Set Keyboard Layout in MDT and SCCM Task Sequence

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.

ADK 1511

ADK 1511 Hotfix – Automate Manual Steps in Boot Image

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.

Deploy Acrobat Reader DC with SCCM

Deploy Acrobat Reader DC with SCCM

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.

Microsoft SQL Server

Optimize SQL Database

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.

sccm performance tuning

SCCM Performance Tuning – How to Fix Slow SCCM – Part 1

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

Powershell Execution Policy Explained

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.