How to deploy Windows Management Framework 5.1 with SCCM. Microsoft released Windows Management Framework 5.1 in January 2017, and with it comes PowerShell 5.1 that includes new featues and cmdlets. This blog post covers how you can deploy Windows Management Framework 5.1 with SCCM. Read More
This post explains how to work with ODBC connections in Powershell. Powershell 4 introduced new cmdlets that make it very easy to create and manage ODBC connections. We use the .NET assembly system.data.odbc.odbcconnection to use ODBC connections present on the system to query the database. Read More
Have you ever seen a picture on the Windows 10 lock screen that you really liked and wanted to save? That happend to me many times. The pictures in the Windows 10 lock screen changes frequently, and there are no built in function to save them.
Task Sequence has failed with the error code 0x80070070 and how to solve it. We got this error last week for a customer who is still running Windows 7, but ADK is version 1511 (Windows 10). The error code indicates there is not enough disk space on the drive, and is usually a result of weird disk partitioning or WinPE booting into a small Bitlocker partition. Read More
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. Read More
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. Read More
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. Read More
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. Read More
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. Read More
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. Read More
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. Read More
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. Read More
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. Read More
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. Read More
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. Read More
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. Read More
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. Read More
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.