Author Archives: bap

Manually publish the default management point to DNS on Windows Server

It is sometimes useful to publish the default management point in DNS. I use this option when the ConfigMgr agent is unable to locate the management point in Active Directory. 1.In the DNS management console, configure the DNS zone for … Continue reading

Posted in SCCM 2012 | Leave a comment

Cross Forest Firewall Ports

The following table lists the ports that needs to be open for cross forest client management. Local Domain Direction Remote Domain TCP UDP Primary Site server <-> Domain Controller 135 123 139 137 3268 138 3269 389 389 464 445 … Continue reading

Posted in SCCM 2012 | Leave a comment

Triggering an Orchestrator Runbook from Powershell

Orchestrator is an awesome tool to automate and streamline processes, but as soon you would like to trigger some of those awesome runbooks you have created from outside orchestrator it can get a bit complicated. In this post I will … Continue reading

Posted in SCORCH 2012 | Leave a comment

Listing Task Sequence Variables and their values

I often need to know what Task sequence variables has been defined during an OS deployment, to do that I use the following VBS script. Dim Var, TSEnv Set TSEnv = CreateObject(“Microsoft.SMS.TSEnvironment”) For Each Var in TSEnv.GetVariables()    wscript.echo var … Continue reading

Posted in Operating System Deployment | Leave a comment

Extracting 3rd party drivers from OS

Often when I create new SCCM OS deployment solutions I need to repeatedly find drivers for numerous computer models and upload them into the SCCM driver repository. The process of finding the driver, extracting the driver and then installing the … Continue reading

Posted in Operating System Deployment | Leave a comment

Error installing SCOM 2012 Console

When installing the OpsMgr 2012 console on a computer with .NET 4.0 you might get the following error in Omconsole.log System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.NotSupportedException: This method explicitly uses CAS policy, which … Continue reading

Posted in SCOM 2012 | Leave a comment

Changing the SCUP Database location

When installing and configuring System Center Update Publisher 2011 (SCUP), the SCUP database is automatically added to the %LOCALAPPDATA% folder, this means that only the person who installs SCUP will have access to the SCUP Console. To resolve this issue, … Continue reading

Posted in SCCM 2012 | Leave a comment

Triggering SCCM agent actions

Here are some tips on how to execute SCCM agent actions without using the SCCM Agent GUI. First a list of all the actions and the ScheduleID associated with the actions. Application Global Evaluation Task {00000000-0000-0000-0000-000000000123} MSI Product Source Update Cycle {00000000-0000-0000-0000-000000000107} … Continue reading

Posted in SCCM 2012 | Leave a comment

Join Domain Permissions

An AD Service account is needed for joining a computer to a domain during an unattended OS installation. The service account password will often be in clear text in the unattend.xml file, it should therefore only be granted the absolute … Continue reading

Posted in Operating System Deployment | Leave a comment

Create Dynamic Group with Health Watchers

When creating a dynamic group in OpsMgr 2007 R2 containing computer objects. Then only the Computer object class will be added to the group. To add the Health Watchers to the dynamic group do the following: Create the dynamic group … Continue reading

Posted in SCOM 2007 | Leave a comment