2012R2 SP1 / 2012 SP2 Update failure

The service pack replaces perf_msg.dll and smsperf.dll, but for some reasson this might fail as you see in the log below.                       When this happens and you restart the upgrade process you will run into another problem. The setup will fail to run the stored procedure spHandleDviewUpgrade, because that sp deletes a table that was deleted in the former run.                         To fix this you need to run the query below that creates the...

Local Administrator Group controlled th...

Local admin should always contain as few users and groups as possible, it makes the IT security team happy and the audit people loves it too. An easy way to control your local administrator groups is through Active Directory by creating an AD administrator group for every computer or server. The problem is if this task isn’t automated it won’t be done or some groups might be missing, so i created some simple scripts that does all the work for you. Two things are needed: – 1st Scheduled task on a machine with the AD powershell module installed. – 2nd...

Software Compliance – Modify the e...

As many of you know, the SCCM compliance reports are not that great, they do include all the needed data we want to know, but the way they are presented isn’t really that great. If you take a look at the “Compliance 5 – Specific computer” it shows you the list off all patches that are available in SCCM, no matter if they are deployed or not. You don’t have an easy overview why the machine actually isn’t compliant and which updates are needed to make it compliant. This can easily be fixed by editing the existing report and add some...

MDT 2013 Capture Process Fails: Return C...

Recently i’ve had an issue captureing Windows 7 SP1 and Windows Server 2008 R2 images in MDT2013,  but when i captured Windows 8.1 or Windows 2012 R2 on the same system it worked perfectly. After some troubleshooting i’ve figured out that the issue was related to the customsettings.ini file, actually the “BackupShare=\\LabServer\DeploymentShare$” after i changed the BackupShare to the computer IP address instead og the computer name “BackupShare=\\10.250.204.25\DeploymentShare$” everything worked...

OSD no updates are installed during capt...

Recently is ran into this problem were the installing updates part failed with the awesome error massage 0x80004005 generic error code :/ when i investigated the logs i found this one in the updateshandler.log which lead me in the direction of boundaries, but everything was set correctly. The boundaries were set to use AD sites and services, which is ok. The only issue is that the computer you are about to capture is not a member of the domain and thereby do not have access to the AD to determine the AD site. So in order to solve this you need to create the boundaries...

OSD Deployment reboots right after Windo...

I had a strange issue, causing the deployment to restart right after entering the Windows PE desktop, usually this a caused by missing NIC or storage driver or a missing package on the DP, but that wasn’t the case. The only log file generated was smstslog.log and the only errors in the logs are shown below. After some research i figured out that the reboot was caused by a wrong date and time in the BIOS, after fixing that everything was working as...

Configuring DCM To Check Java Version

Let’s say you are familiar with SCCM2012, then these screen dumps should be enough to set it up. This guide can also be used for other apps, but not all apps are registrating itself in the...

Cleanup Disabled Computers

In order to have a clean SCCM environment it’s important to have a clean AD, and depending on how the AD guys do their job, there are different ways to do your job. Let’s say the computer account never gets deleted in AD but only disabled, for that I’ve made this tiny PowerShell script which grabs all disabled computer accounts in AD and deletes them in SCCM, just create an scheduled task and you have one problem less to care about…   Import-Module “D:\Program Files\Microsoft Configuration Manager`...