Community tools from System Center Universe 2014

These are some of the tools the I used in my demonstraiton @SCU 2014 in houston Remember to hug your community contributers today!!! Infrastructure and Client Management Johan Arwidmark ConfigMgr R2 Hydration Kit - Mikael Nyström System center Hydration Kit - Startup Script - Right Click tools - Right click took - Client Center - David’s Inventory Script PowerShell - Garth’s Inventory Script vbSript - CM12Healthcheck toolkit - ConfigMgr 2012 Registration Request - PowerShell Right Click tools - RegkeyToMof - Now Micro Right Click tools - Http:// ConfigMgr 2012 [...]

By |2014-01-30T16:36:03+01:00January 30th, 2014|Configuration Manager (SCCM), Events, General info|6 Comments

Coretech HTA

The main idea with this HTA is to assist small and medium sized organizations with an easy way to implement a custom OSD solution without having any developer or HTML skills. The HTA solutions can be used when booting directly into WinPE and to prestage computers. Why; You might ask, Why, do Coretech create this tool instead of using the built-in tools in Configuration Manager or using the UDI wizard in Microsoft Deployment Toolkit?  The answer is straight forward. We often run into customers who do not have the knowledge it takes to build custom solutions or use the UDI [...]

Dealing with Network Printers in Configuration Manager 2012

There are multiple ways how you can add a network printer to a PC and of course you can do that also with Compliance Settings in Configuration Manager. In PowerShell we can use Add-Printer cmdlet and if you don’t have the latest PowerShell version, then you can use Win32_Printer WMI class to add the Printer. If you don’t want to depend on a specific PowerShell version, then maybe the easiest way is to use Win32_Printer WMI Class. Here are the scripts/cmdlets that you can use Discovery Scripts Option 1 Win32_Printer WMI Class query Get-WmiObject -Class Win32_Printer -Filter "Name='\\\\CTTERM\\CTColorPrint01'" | Measure-Object [...]

SCSM & SCO – Management Pack Transfer Tool Beta 3 – Freeware!

New version out! a few bugs have been fixed, and the mappings are now kept properly! (see changelog below)   Download from TechNet Gallery   Have you ever tried to transfer some Request Offerings that contains runbooks from one environment to the other? You will notice that is it not possible by default. Problem is that the links to the runbooks do not work anymore since all the runbooks has been re-imported and have been assigned new IDs. by using this easy 4 step procedure you can accomplish a successful transfer!   How to (also in ReadMe): Step 1 – [...]

By |2014-01-29T15:03:04+01:00January 29th, 2014|Automation, Service Manager (SCSM)|6 Comments

AD-Connector – Running with Error: Stopping at 92% – Object instance not set to an instance of an object

Yesterday I encountered an error I haven’t seen before when trying to set up a new AD Connector in SCSM. The connector always stopped at 92% and generated the following error in the eventlog: [crayon-5cb8db54c8863877656809/]   As I couldn’t find anything on the net, I started digging into the error. The error says something about Managers relationship, so I figured I needed to look there. It turned out that there was 10 disabled users in AD that still had Direct Report Users in their AD User. So in other words: some people had a Manager that was disabled. And since [...]

By |2014-01-29T10:47:38+01:00January 29th, 2014|Service Manager (SCSM)|1 Comment

Upgrading to SCOM 2012 R2

Over the past months I have collected a number of “pitfalls” when upgrading to R2 – please be sure to have a backup before you start and check the following before you begin upgrading to SCOM 2012 R2 Installation Account must be a member of the local administrators group on: a. SQL Server (both in cluster or always-on) b. Management Servers c. Reporting Servers Install Account must be a member of the Sysadmin role on the SQL Server On the SQL Server the Modal Database must not be more than 100 MB The Operationsmanager database must have 50% free space [...]

By |2014-01-28T03:56:01+01:00January 28th, 2014|Operations Manager (SCOM)|1 Comment

Auto activate Trusted Platform Module on Fujitsu computers using DeskView and MDT/SCCM

Recently I have been working on a way to auto activate the TPM chip on Fujitsu computers during the Operating System Deployment. Until recently, this has been limited to customers that have purchased DeskView advanced client from Fujitsu. Now, it is possible to work around this issue, and the way I have done it before is to use manage-bde.exe to activate TPM and BiosSet.exe to set a BIOS-password. However, using the manufacture own software to do everything is always considered best practice and with a script it is now possible. First the challenge: When using DeskView to activate TPM you [...]

By |2017-08-22T10:35:41+01:00January 27th, 2014|Configuration Manager (SCCM), OS Deployment|2 Comments

Why I can’t convert my Windows Server 2012 R2 Core to GUI

Let’s assume that you installed some time ago one Windows Server 2012 R2 Server Core and you have installed also latest Windows Updates to that server and this server does not have an internet connection. Here are the updates that are installed In one day you discover that you need to add graphical user interface and you execute the following command [crayon-5cb8db54cc21f641732420/] You will see that it reaches to 68% and fails with following error Install-WindowsFeature : The request to add or remove features on the specified server failed. Installation of one or more roles, role services, or features failed. [...]

By |2014-01-23T11:53:34+01:00January 23rd, 2014|Operating Systems, Powershell, Windows Server|17 Comments

Installing a Domain Controller on Windows Server 2012 R2 Core

In my previous post I showed how you can install Active Directory Domain Services on Windows Server Core and in this post I´m going to show how you can add an additional Domain Controller to your environment because best practice recommends that you have at least two of them. To add an additional Domain Controller we need to do following: 1. Rename the server 2. Set the IP and DNS address 3. Join the server to domain 4. Install Active Directory Domain Services Server Role 5. Deploy the Domain Controller   Before you continue I recommend to read my first [...]

By |2014-01-21T14:18:27+01:00January 21st, 2014|Powershell, Windows Server|2 Comments

Installing Active Directory Domain Services on Windows Server 2012 R2 Core

Installing Active Directory Domain Services on Windows Server Core is really easy. You only need to run 8 commands and your Domain Controller is ready. These steps are: 1. Rename the server 2. Set the IP and DNS address 3. Install Active Directory Domain Services Server Role 4. Promote the server to a Domain Controller Let’s Get Started :) I assume that you already have one Windows Server Core installed. If you log in, then it automatically runs command prompt. To get to PowerShell, then just type PowerShell.exe and you are ready to configure your Domain Controller. I don’t like [...]

By |2014-01-21T11:56:47+01:00January 21st, 2014|Windows Server|10 Comments

Dealing with reboot pending clients in Configuration Manager 2012

Guess most of you are struggling with troubleshooting software update compliance and installing applications in Configuration Manager 2012. What I have found, is that clients in a reboot pending state often is the root cause to the problems. In previous posts I have described how you can use tools like Coretech Shutdown Utility to automatically restart computers that has been in a reboot pending state for X number of hours/days.  The information about the reboot pending state is stored in WMI Root\ccm\ClientSDK namespace as illustrated here with the Coretech WMI & PowerShell explorer: Identify reboot state using PowerShell Launch PowerShell [...]

By |2014-01-19T17:14:28+01:00January 19th, 2014|Configuration Manager (SCCM), General info|19 Comments

NIC 2014 – Deck and links from my ConfigMgr Community session

Once again, to all who has ever contributed to the community – We salute you – keep on working and know that you are making a difference for 1000’s of IT pros “out there”. Download deck Just some of the community tools: Infrastructure and Client Management Johan Arwidmark ConfigMgr R2 Hydration Kit - Mikael Nyström System center Hydration Kit - Startup Script - Right Click tools - Right click took - Client Center - David’s Inventory Script PowerShell - Garth’s Inventory Script vbSript - CM12Healthcheck toolkit - ConfigMgr 2012 Registration Request - [...]

By |2014-01-19T12:01:17+01:00January 19th, 2014|Configuration Manager (SCCM), Events, General info|1 Comment

Nordic Infrastructure Conference 2014

Conference done = everybody’s happy about hopefully new and good knowledge – I did two sessions – One called Be a Hero another one called Create a ScomBot in Azure – Unfortunately they didnt record them – But I have attached both Slideshows to this blog. Agenda for Be a Hero: Introduction to Services Ready Steady – GO! Present SLO and SLA in a Dashboard Bottlenecks – SCOM Performance Whats New in R2 Use cases Agenda for Crete a SCOMBot for Windows Azure Automating everything Internal SCOM Monitoring Real world sample Using and Monitoring Azure Global Service Monitoring Visual Studio [...]

By |2014-01-18T14:35:39+01:00January 18th, 2014|Operations Manager (SCOM)|1 Comment

Capture output from command line tools with PowerShell

A simple task and then again not A customer asked me if it was possible to grab output from a command and analyze the output afterwards. In the particular case he needs to call a telnet session and check if there was a proper response from the server. The easy solution and then again not The very simple solution would be to start the command from PowerShell, redirecting the output to a file, wait for the process to finish and then read the file content. But in this case the process would not end on its own, as the telnet [...]

By |2018-01-24T23:02:52+01:00January 16th, 2014|Powershell|9 Comments

Visual Studio Web Test – without Visual Studio Ultimate

Using the Web Application Transaction Monitor is absolutely one of my favorites in SCOM. Adding GSM to this is nothing but brilliant. I know a lot of companies that wants to monitor their websites from outside the organization, and GSM does the job. But… It is not possible to create a Web App. Transaction monitor with GSM out of the box in SCOM. To do this one needs Visual Studio Ultimate. This is not one of the cheap ones. As a workaround one can you Fiddler2 and Notepad, which does the job. When using Fiddler2 you get a big load [...]

By |2014-01-13T11:34:30+01:00January 13th, 2014|Operations Manager (SCOM)|1 Comment

Error enrolling Apple MAC OS X 10.9.1 client in Configuration Manager 2012 R2

Been spending a few good hours trying to get the super enterprise friendly operating system Apple Mac OS X 10.9.1 (In Denmark we really use irony a lot!). There a some good blog post on how to configure MAC support that I advice you all to follow and if you are working with latest version Maverick 10.9.1 I strongly advise you to read this blog post from Yvette - Here is what I did, the error I saw and how I fixed it. Configuring Apple MAC support according to Technet Enrolled the client on OS X version 10.9.1 (which is [...]

By |2014-01-05T12:26:00+01:00January 5th, 2014|Configuration Manager (SCCM)|1 Comment