If you for some reason are not able to use MDT and the UDI wizard, you may want to create a HTA Application to handle roles or special choises during deployment.
I have created a simple HTA that reads a config file and generates a dropdown list and defines task sequence variables, feel free to use this as an example.
PS! Excuse my vbscript code, i’m not really a Developer…
To run HTA applications in Windows PE you will need to add HTA support to your boot images. Please see my previous post on how to add winpe components in SP1.
The HTA solution consits of two files.
- app: tshta.hta, this is the application if you want to download the source code you can get the solution here.
2. file: Config, this is the configuration file that let’s you define dropdown menu entries and task sequence variables related to each entry. This has the following syntax:
3. You need to add the HTA to your task sequence. Notice that I have created a package that contains the HTA Application, added a command line step and selected “start in package”.
4. Use the variables in a TS step. In this example I’ve just added a group, this can for example contain spesific applications.
One of the big new features in SCCM 2012 SP1 is is the PowerShell module. Powershell is really great for automation.
If you are using AD group membership together with dynamic collection rules to target and deploy applications, you probably have spent hours creating collections, ad groups and queries.
I have created a simple PowerShell script to automate this task, feel free to modify the script to fit your needs.
For the script to be able to create AD Group, install the active Directory PowerShell module on the server or client that you run your ConfigMgr Console from. You will also need to enable AD Group discovery in SCCM.
Code: Download here
- Two collections is created for the application.
- Install collection Properties
- Uninstall collection properties
Microsoft has produced a step-by-step guide on how to upgrade to Service Pack 1. One thing to notice is that Windows Automated Installation kit now is replaced With Windows Assessment and deployment kit for Windows 8.
Installation error 0x800b0101: System Center 2012 Configuration Manager Service Pack 1 Client.
This issue occurs because the MicrosoftPolicyPlatformSetup.msi file is signed with a digital certificate that does not have the proper timestamp attributes. Microsoft Security Advisory 2749665 has more information on this certificate issue.
Apply this hotfix before upgrading Clients,
Download HotFix here: http://support.microsoft.com/kb/2801987/en-us
If you get this error when trying to start powershell.exe in Windows PE: “Internal Windows PowerShell error. Invoking managed Windows PowerShell failed with error 8007000e.” It’s probably because your client ran out of memory.
In my case I was too cheap on memory in my virtual lab environment.
If you are using collections with Direct Membership and want to clean up the membership rule after deployment. One common example is to have a Deploy Collection With a required deployment targeted. Jörgen Nilsson has created a great solution using vbscript and status Filter rules on the server side. Another option would be to use a web service or a script on the client side.
SCCM 2012 SP1 Introduce Linux/Unix support.
If you are curious on this subject, I recommend you to spend 30min and watch this episode of TechNet Radio (published in the link below)
This will give you:
- Valubale Information on support and limitations
- Walktrough on installing the Linux Agent.
- HP-UX 11i v2 (IA64)
- HP-UX 11i V3 (IA64)
- HP-UX 11i v2 (PA-RISC)
- HP-UX11i V3 (PA-RISC)
- AIX 5.3 (Power)
- AIX 6.1 (Power)
- AIX 7.1 (Power)
- SLES 9(x86)
- SLES 10 (X86 and X64)
- SLES 11 (X86 and X64)
- Solaris 10 (SPARC)
- Solaris 11 (SPARC)
- Solaris 9 (SPARC)
- Solaris 10 (x86)
- Solaris 11 (x86)
- RHEL 6 (x64)
- RHEL 6 (x86)
- RHEL 5 (x64)
- RHEL 5 (x86)
- RHEL 4 (x64)
- RHEL 4 (x86)
Max OS X Lion and Snow Leopard are also supported trough internet management and will require a site system With a management configured for HTTPS.
Link to video: http://blogs.technet.com/b/keithmayer/archive/2012/10/30/supporting-linux-unix-and-mac-clients-with-system-center-2012-configuration-manager-sp1.aspx#.UO3hIWbKzq5
Recently I have deployed Linux OS With SCCM. This is currently unsupported, and i’m only able to dump a image to harddrive. Still It may be useful in some cases. I will create a howto on this soon.
System Center 2012 Configuration Manager SP1 Introduces a new graphical user interface. You can «almost» forget everything you knew about dism.exe. New in SCCM 2012 SP1 and Windows PE 6.2 is the ability to add Powershell and .Net 4 support (no more vbscripts). In my example below I add theese components.
- Navigate to: Software library > Boot Images > Boot Image (x64) or (x86), right click and select properties.
- Navigate to: «Optional Components»
- Click on the button with yellow icon (star) to select optional components.
- Select components of your choise. In this example Powershell and .Net support is added.
- Click ok and run trough the «update distribution points wizard» to update your boot image.
If you need to verify that a task sequence variable has been set or if it’s value is correct, you can use this script to read out all SCCM TS variables. Store the script in a .vbs file and execute with cscript.exe readTSvar.vbs on a Client during deployment.
Set TSEnv = CreateObject(“Microsoft.SMS.TSEnvironment”)
For Each Var In TSEnv.GetVariables
WScript.Echo Var & “=” & TSEnv(Var)
System Center 2012 SP1 is now available to download for MSDN or Technet subscribers! If you have a registred account, access http://msdn.microsoft.com. Hopfully we will see RTM in the start of January!
The Microsoft System Center Marketplace is specifically designed to help business customers find trusted Microsoft System Center experts, and applications and services that enhance and easily integrate with Microsoft System Center products.
CU2 released to System Center 2012 Configuration Manager, fixes broken monitoring of Management Point (0B) introduced in CU1 and broken computer naming when using dynamic site based media.
Yes! They exist, If you are planning an implementation of a Microsoft System Center 2012 or other Microsoft Products or just seeking information on what is new, recommended planning steps or an overview of the product architecture. The Infrastructure Planning and Design (IPD) Guide Series provides you with quick an concrete information specified to each Product.
Great Tools whether you are a product specialist, receiving customer, a technical sales resource or project manager. Read up!
This tool is designed for IT Professionals to troubleshoot SCCM Client related Issues. The Client Center for Configuration Manager provides a quick and easy overview of client settings, including running services and Agent settings in a good easy to use, user interface.
Link to codeplex Project: https://sccmclictr.codeplex.com/
In some cases, you may want to set a fixed screen resolution for all clients. Then you will have the Challenge with the Picture was not scaled to fit the monitor. In my case, it was due to a Intel driver setting. I found no registry setting, no documented API or command line reference, so as a last measure I had to use keyboard shortcuts, as the Intel software listens for ctrl + alt + f11 to change monitor scaling. I created a simple script to find the Intel video adapter in WMI and used sendkeys to utilize the keyboard shortcut. This script must be run at user log on.
set WshShell= WScript.CreateObject(“WScript.Shell”)
‘Connect to WMI
Set objWMIService = GetObject(“winmgmts:\\.\root\cimv2”)
Set colItems = objWMIService.ExecQuery(“Select * from Win32_VideoController”)
‘Get Video Card
For Each objItem in colItems
VideoCard = objItem.Description
‘Check if VideoCard is Intel then Send Ctrl + Alt + F11
If VideoCard = “Intel(R) HD Graphics” then
Set colItems = Nothing
Set objWMIService = Nothing
Some times you may need to force a BSOD on a Client or server for testing purposes. There is a feature in Windows that let’s you do this:
- Create DWORD Value: CrashOnCtrlScroll
- Assign CrashOnCtrlScroll Value 1
- Exit Registry Editor.
You will now be able to BSOD Your Client/server With right ctrl and hitting scroll Lock twice.
If you struggle to read the official documentation and identify witch ports to open for System Center 2012 Configuration Manager.
Odd-Magne Kristoffersen has done the job for everyone and created a Excel spreadsheet documenting all the ports.
Please read his blogpost and download the spreadsheet.
Microsoft Documentation: http://technet.microsoft.com/en-us/library/gg682180.aspx
If you are about to invest in new or re-use old hardware, a good tip is Microsoft’s compatibillity center. Chanses are you will get answers there about Windows compatibillity.
Service pack 1 beta for System Center 2012 Operations manager includes following new features:
- Support for IIS 8
- Monitoring of WCF, MVC and .NET NT services
- Azure SDK support
- Monitoring of SharePoint 2010 with APM (.NET application performance monitoring)
- Integration with Team Foundation Server 2010 and Team Foundation Server 2012
- Conversion of Application Performance Monitoring events to IntelliTrace format
- Support for monitoring of CentOS, Debian, and Ubuntu Linux
- Improved Heartbeat monitoring for Unix/Linux
- ACS support for Dynamic Access Control in Windows Server 2012
- Global Service Monitor – cloud based capability to monitor the health of your web applications from geo-distributed perspective
- Additional network devices models supported
- Visibility into virtual network switches in vicinity dashboard – thru integration with Virtual Machine Manager
Download the beta here: http://www.microsoft.com/en-us/download/details.aspx?id=34607
SCCM will Return System Error Codes from failed Application installations. Microsoft have published the complete list With for Developers for troubleshooting purposes.
Example Return codes:
- 1633 (0x661) – This installation package is not supported by this processor type. Contact your product vendor.
- 1603 (0x643) – Fatal error during installation.
Complete list: http://msdn.microsoft.com/en-us/library/windows/desktop/ms681381(v=vs.85).aspx
In some cases you may have to run a script or application after completion of your task sequence. In my case this was related to pre-staging of applications (more of this later).
Anyway Michael Murgolo have written a great blogpost describing how to implement this. If you are not in a hurry i recommend you to wait for SCCM SP1 RTM then you will have this included.
If you are in a hurry like me..
Using System Center 2012 Configuration Manager together with the MDT integration and the new UDI wizard I discovered that using comma (,) in the application name will cause the deployment to break.
Make sure the application is marked for dynamic app install Policy download failed, hr=0x80004005. The operating system reported error 2147500037: Unspecified error
Working with SCCM 2012 I got this message and was unable to edit a application. Some solutions online suggests you to alter the database. This is the last resort first try this:
Stop the SMSEXEC service on the server. You will get access to the package. Then start the service again.
The System Center Monitoring Pack for Windows Server Operating System provides the fundamental monitoring basics for computers running the Windows 2000 Server and Windows Server 2003, 2003 R2, 2008, 2008 R2 and 2012 Operating System.
If you have been using SCCM 2007 and now SCCM 2012 for a while you may see that your deployment time has increased, if you used the “Access content directly from distribution point option” in SCCM 2007.
Microsoft introduced the new content library, the idea is to save space by saving all files in a library but only save identical files once, and refer to the location for all other instances of the file. The idea is good, but it comes with a price. All content stored in the library must be extracted during installation. This slows down the deployment meaning all files will have to be downloaded by the client.
If you want to change this and store your content in a share, you can. Please be aware that this has a cost in disk space.
On all your content in the task sequence meaning packages, boot, images, drivers even the configuration manager agent, select “copy the content in this package to a package share on distribution points.”
After doing this you will be able to select “access content directly from..” on your deployments.
This limits you to use the old package model. So you have to decide what’s most important to you. A workaround could be to use the MDT integration for installing apps. Then you will have the best from both worlds.
If you want to monitor File Shares with SCOM, try out this management pack. It will create a new class, and you are able to monitor shares, files. Probably this will cover most of your needs.
After installing System Center 2012 Operations manager you need to activate the product with a license key. This article describes the process.
Windows Server 2012 is released, I get a lot of questions regarding Hyper-V and how it compares to VMware. I recommend reading this whitepaper to get an overview. In my point of view, Hyper-V has evolved to a powerful virtualizing platform. Add the System Center 2012 suite and you got some really powerful tools 🙂
Microsoft has released a whitepaper where they compare private cloud solutions from Microsoft and VMware. If you are curious about private cloud technology and what Microsoft has to offer, i recommend reading this whitepaper.
Download it her: http://download.microsoft.com/download/F/3/6/F36D9AE8-6238-4EA3-9ABC-BF7BB848BF70/MicrosoftPrivateCloudWhitepaper.pdf
Look at this video demonstrating how to add computers to a group from a list, using dynamic rules in a creative way!
Recently I got this error: “Operations Manager cannot connect to the Web service” when trying to connect to the management pack catalog in System Center 2012 Operations Manager.
First of all, Sysinternals Process monitor is a great tool to troubleshoot this. Filter out the SCOM console process and you will be able to see where it connects.
I did not find any good information on this, so I did some investigation and figured out where it tries to connect.
First it connects to ip: 220.127.116.11 over the http protocol next is 18.104.22.168 https. Put these ip adresses in your browser from the SCOM server and see if you are able to connect. If not, talk to your networking guys 🙂
Update: Seems like might also connect to other IP adresses. So far i’ve found these: 22.214.171.124 and 126.96.36.199.
List of all SQL Server versions with version number and direct links to cumulative updates download.
Quick way to check that you are running a supported version of SQL server before installing a System Center product.
Check it out: http://support.microsoft.com/kb/321185
Want to deploy Windows 8 and Server 2012 with SCCM, start the preparation in your test/lab environment now!
- Deployment and management of Windows 8 and Windows Server 2012
- Distribution point for Windows Azure to help reduce infrastructure costs
- Automation of administrative tasks through PowerShell support
- Management of Mac OS X clients and Linux and UNIX servers
- Real-time administrative actions for Endpoint Protection related tasks
Kevin Holman have provided a PDF file that some of the Premier Field Engineers wrote to help customers getting started with SCOM. This is a great introduction to the product.
This is also also valid for the 2012 version, the basics are just about the same 🙂
Get it here: http://blogs.technet.com/b/kevinholman/archive/2010/09/02/operations-manager-101-download.aspx
Cameron Fuller have created a great guide on how to use color to represent state on a object in Visio with the System Center 2012 Operations Manager integration.
Read it here:
Microsoft press has released a FREE E-book on server 2012 rtm. The Windows Server team, Microsoft Support engineers, Microsoft Consulting Services staff are among the contributors to this book. Get it here:
If you are spending most of your time on the HP driver download page, installing, testing and importing drives into SCCM. Please take a look under the “Software – System Management” node. Chances are HP already did the work for you 🙂
If you get this error: “Not loaded. A runtime error occurred during the loading of the COM Add-in.” after installing the Visio Add-in for System Center 2012 Operations Manager. Please check the requirements, you are probably missing the Visual Studio 2010 Tools for Office runtime.
Get it here: http://www.microsoft.com/en-us/download/details.aspx?id=20479
I have created a simple vbscript that can be useful in agent migration.
- Notify user, display popup (click ok to start installation now or wait 5 minutes)
- Install SCCM 2012 Agent
- Wait for installation to complete
- Notify user (installation completed)
- Reboot client to complete installation.
get the script here
Create and share custom diagrams showing current health state data for your IT environment with this Microsoft Visio 2010 add-in and Microsoft SharePoint 2010 extensions for Microsoft System Center 2012.
Great walktrough from Bill Hodgehead on how to install and configure the System Center 2012 Operations Manager WEB Part for Sharepoint 2010.
Update Rollup 2 contains a number of fixes for System Center 2012 Operations Manager.
Great case study by Cameron Fuller regarding using a common SQL for multiple SC 2012 products.
Included updates to System Center 2012 for compatibility with Windows Server 2012 Release Candidate including support for Azure VM and capabilities for Hosted Service Providers.