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 - http://www.deploymentresearch.com/Research/tabid/62/EntryId/113/The-Hydration-Kit-for-ConfigMgr-2012-R2-is-available-for-download.aspx Mikael Nyström System center Hydration Kit - http://deploymentbunny.com/2013/01/04/hydration-kit-v3-is-out/ Startup Script -http://blog.configmgrftw.com/?page_id=349 Right Click tools - http://psrightclicktools.codeplex.com/releases/view/104529 Right click took - http://myitforum.com/myitforumwp/2012/09/21/sccm-rctools/ Client Center - https://sccmclictr.codeplex.com/ David’s Inventory Script PowerShell - http://www.david-obrien.net/2014/01/30/update-inventory-script-makes-configmgr-life-easier/ Garth’s Inventory Script vbSript - http://www.enhansoft.com/pages/downloads.aspx CM12Healthcheck toolkit - https://www.rflsystems.co.uk/sccm-2012-r2-healthcheck-toolkit/ ConfigMgr 2012 Registration Request - https://configmgrregistratio.codeplex.com/ PowerShell Right Click tools - https://blog.ctglobalservices.com/kaj/sccm-client-actions-tool-powershell-edition-aka-poshcat/ RegkeyToMof - http://myitforum.com/cs2/files/folders/proddocs/entry152945.aspx Now Micro Right Click tools - Http://nowmicro.com/RCT ConfigMgr 2012 [...]

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:00januar 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: Data synchronization failed by DefaultCache.MomStore.ADUsers_Manager.DefaultCache.ADConnector.5f4e989660d749b6b420fb4532c5ed9a:Microsoft.EnterpriseManagement.ServiceManager.Connector.Sql.DataConnectorSql. Exception type:NullReferenceException Exception message:Object reference not set to an instance of an object.. StackTrace: at Microsoft.EnterpriseManagement.ServiceManager.Linking.Consumer.OperationalStore.DataSetTransformer.ComputeManagerDeletes(Dictionary`2 result, IList`1 existingManagers, Dictionary`2 userToNewManager) at Microsoft.EnterpriseManagement.ServiceManager.Linking.Consumer.OperationalStore.DataSetTransformer.DeleteObsoleteManagerRelationships(ManagementPackRelationship relationshipType, Dictionary`2 result, EnterpriseManagementGroup managementGroup) at Microsoft.EnterpriseManagement.ServiceManager.Linking.Consumer.OperationalStore.DataSetTransformer.TransformToEnterpriseManagementObjects(EnterpriseManagementGroup managementGroup, ManagementPackType storeType, SessionSettings sessionSettings, Boolean useStagingSDK, Boolean isGRCSolution) at Microsoft.EnterpriseManagement.ServiceManager.Linking.Consumer.OperationalStore.OperationalStoreConsumer.ConsumeData(DataSet data, SessionSettings sessionSettings) at Microsoft.EnterpriseManagement.ServiceManager.Connector.Datacenter.SessionHost.DataSync()   As I couldn’t find anything on the net, I started digging into the error. [...]

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

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:00januar 28th, 2014|Operations Manager (SCOM)|1 Kommentar

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 [...]

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 Install-WindowsFeature Server-Gui-Shell -Source:wim:D:\Sources\install.wim:2 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 [...]

By |2014-01-23T11:53:34+01:00januar 23rd, 2014|Operating Systems, Powershell, Windows Server|18 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:00januar 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:00januar 21st, 2014|Windows Server|12 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:00januar 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 - http://www.deploymentresearch.com/Research/tabid/62/EntryId/113/The-Hydration-Kit-for-ConfigMgr-2012-R2-is-available-for-download.aspx Mikael Nyström System center Hydration Kit - http://deploymentbunny.com/2013/01/04/hydration-kit-v3-is-out/ Startup Script -http://blog.configmgrftw.com/?page_id=349 Right Click tools - http://psrightclicktools.codeplex.com/releases/view/104529 Right click took - http://myitforum.com/myitforumwp/2012/09/21/sccm-rctools/ Client Center - https://sccmclictr.codeplex.com/ David’s Inventory Script PowerShell - http://www.david-obrien.net/2013/06/20/huge-powershell-inventory-script-for-configmgr-2012/ Garth’s Inventory Script vbSript - http://www.enhansoft.com/pages/downloads.aspx CM12Healthcheck toolkit - https://www.rflsystems.co.uk/sccm-2012-r2-healthcheck-toolkit/ ConfigMgr 2012 Registration Request - [...]

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:00januar 18th, 2014|Operations Manager (SCOM)|1 Kommentar

NIC 2014 – Slides and Software (Runbooks, MPs, Tools)

I have just completed my 2 sessions at NIC2014. As promised i have uploaded my slides and extras Runbooks Management Packs Tools there might be glitches and mistakes in the runbooks, so do not hesitate to contact me [download id="190"] [download id="191"] [download id="192"]

By |2014-01-16T16:14:52+01:00januar 16th, 2014|Automation, Events|Kommentarer lukket til NIC 2014 – Slides and Software (Runbooks, MPs, Tools)

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:00januar 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:00januar 13th, 2014|Operations Manager (SCOM)|2 Comments

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 -http://blogs.technet.com/b/configmgrteam/archive/2013/12/16/mac-os-x-10-9-support-for-sc-2012-config-manager-clients.aspx 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:00januar 5th, 2014|Configuration Manager (SCCM)|1 Kommentar