Hey–why does it sometimes take so long to delete a virtual machine from the Hyper-V console?

You may have noticed that it sometimes take quite some time to delete a virtual machine from within the Hyper-V console. It can take hours in some cases. This happens if the virtual machine has snapshots and it is by design. What actually happens when you delete the virtual machine is that the snapshot(s) is being merge into the VHD file and then the virtual machine is deleted from the Hyper-V console. I have created a virtual machine and installed Windows Server 2008 R2. It is just a basic install. After the install I created a snapshot while the virtual [...]

By |2011-04-13T22:46:40+01:00april 13th, 2011|Application Virtualization (App-V)|1 Kommentar

Restart a service and all antecedent from a Task in OpsMgr

Now its time to use a vbs script to ensure that all services are stopped and started in the correct way – so if any services are dependent on other they will be restated as well. First Create a new task from your Console: Let it be an Agent Tasks and Remember the Management Pack: Give it a Name and a Target like this: Add a Parameter – either your Service shortname or a text like this: Press [OK] and [Create]. Choose a server and [Restart a Services and its dependencies] When running te task you need to create a [...]

By |2011-04-12T21:37:00+01:00april 12th, 2011|Operations Manager (SCOM)|3 Comments

“How to Raise Alert from Microsoft Outlook in OpsMgr 2007” or a New Outlook Connector to Operations Manager 2007 R2

Have you ever thought on creating Alerts directly from a mail? Or Send a mail to your OpsMgr to raise an alert in your Operations Manager? A few weeks ago I was talking with a guy participating on one of the Advanced OpsMgr courses, his existing monitoring environment currently delivered an mail to a group mailbox in which they used to react and resolve issues from a Nagios/IPMonitor installation. But what he really would like to was gather all issues in the Operation Manager Console, after a quick talk with Jakob Svendsen https://blog.ctglobalservices.com/jgs/outlook-2010-auto-export-body-of-new-e-mails/ he came up with a “How To” [...]

Hey, what is Custom Client Settings in Configuration Manager 2012!?

In Configuration Manager 2007 most of the client agents settings you can configure are site wide except for a few such as Policy Polling interval and restart settings. These two can be configure on a collection basis – but that is it. But here comes Configuration Manager 2012 to the rescue – You can now create Custom Client Settings and assign them to a collection. The Default Client Agent Settings are applied across the network and are site wide in nature.   You simply select the settings you want in your “custom settings object” by ticking the checkbox next to [...]

By |2011-04-06T21:12:44+01:00april 6th, 2011|Configuration Manager (SCCM)|4 Comments

Cannot use comma when defining SLA in OpsMgr 2007

  If you are one of the guys who unfortunately live in other countries than an english spoken one – you could have problems with defining your SLA on e.g. a distributed application. But try to Log in on your RMS with the service account and change regional setting to your locale, and then you should be able to define SLA with commas…. ,,,, Have a great day…

By |2011-04-06T13:16:46+01:00april 6th, 2011|Operations Manager (SCOM)|Kommentarer lukket til Cannot use comma when defining SLA in OpsMgr 2007

Report based on Agent Install Date

Need to see all your Agents and the Install date / time – run this query – or download the report and import it. SELECT Path, InstallTime FROM BaseManagedEntity INNER JOIN MT_HealthService ON BaseManagedEntity.BaseManagedEntityID = MT_HealthService.BaseManagedEntityId Where InstallTime > ‘2009-21-02’ And a Report file, if you want to deliver your Operations Manager Administrators the nice view: [download id="33" format="1"]

By |2011-04-06T10:21:02+01:00april 6th, 2011|Operations Manager (SCOM)|1 Kommentar

Hey, where did my PXE Service Point go in Configuration Manager 2012?!

The PXE Service Point is no longer a separate site system role in Configuration Manager 2012. Instead it is a function of the Distribution Point Role.   In the Distribution Point Role Properties, you can find the PXE tab and you have the same configuration options as you did in Configuration Manager 2007 You can configure/setup the PXE Service Point in Configuration Manager 2012 in the following ways: Select the Enable PXE service point as per the above screen shot When you install/setup a Distibution Point you will have the option of enabling the PXE Service Point Note: You will [...]

By |2011-04-05T18:31:00+01:00april 5th, 2011|Configuration Manager (SCCM)|Kommentarer lukket til Hey, where did my PXE Service Point go in Configuration Manager 2012?!

Perform a scripted installation of Configuration Manager 2012 Beta2

As you might already know, there are a lot of nice changes in Configuration Manager 2012. As part of a site server installation Configuration Manager will generate a file called ConfigMgrAutoSave.ini and store that in the %temp% folder. This file can be used to perform a scripted installation. If you want to perform a scripted installation perform these steps: Navigate to <ConfigMgr Install source\SMSSetup\Bin\X64\ Type setupwpf.exe /script L:\Labfiles\Install\PS1Script\ConfigMgrAutoSave.ini (Notice that setupwpf.exe will not perform basic checking for .Net those components must be present otherwise it will fail. The scripted installation can also be performed by running setup.exe – thanks Johan). [...]

By |2011-04-04T10:37:38+01:00april 4th, 2011|Configuration Manager (SCCM)|3 Comments

Dude, where’s my Trace32 in Configuration Manager 2012

There is no Configuration Manager toolkit (yet). As with the previous versions of Configuration Manager and SMS you need a good log reader - unless you go the “Wally style” and use Notepad Configuration Manager 2012 Trace32.exe will ship with the product and can be found on the DVD in the Tools folder. Happy reading and look forward to see brand new friends in CM2012 like

Awarded Configuration Manager MVP 2011

Dear Kent Agerlund, Congratulations! We are pleased to present you with the 2011 Microsoft® MVP Award! This award is given to exceptional technical community leaders who actively share their high quality, real world expertise with others. We appreciate your outstanding contributions in System Center Configuration Manager technical communities during the past year.   And Yes, I know it’s April 1st.

By |2011-04-01T16:54:34+01:00april 1st, 2011|Personal|3 Comments

Downloading Configuration Manager 2012 prerequisites

If you like I have a demo environment with no Internet connection then you are also required to download the Configuration Manager 2012 prerequisites file prior to starting the installation.   Open a command prompt with administrative permissions Navigate to .\Configuration Manager 2012 Install source\smssetup\bin\X64 Run SetupDL.exe target dir (in my example SetupDL.exe D:\CM2012DL The total download size is 192 mb. and the total number of files is 14 with SQL Express and .Net Framework 4.0 being the largest files.  

By |2011-03-31T17:55:43+01:00marts 31st, 2011|Configuration Manager (SCCM)|13 Comments

Coretech SCCM Manager 1.0.4 – Freeware Download

[download id="32"] This week a customer contacted us, claiming that the tool did not work on sundays! I thought that was pretty strange, so I asked for log file/event log messages, and it was true. It did fail! It was even “Kernelbase.dll” or “kernel32.dll” that was throwing the exception! I tested it on our test environment, and got the same errors.! I turned out to be an old Visual Basic function, that is used to retrieve the name of the current day, that was failing on sundays. This new version has an updated logfile writer, which writes the correct format [...]

Outlook 2010: Auto Export Body of new e-mails

This macro is made for a opsmgr management pack, soon to be published on this blog. It is written in VBA in outlook 2010 (could work in other version too, but it is not tested). It shows how to create a macro function, that is usable in a rule. 1. Enable Developer Ribbon to be able to create scripts 2. Open visual Basic 3. Select “ThisOutlookSession” 4. Type/ this Sub into Visual Basic. Changed the strExportPath to the folder you want to use. Sub SaveMessageOnRule(Item As Outlook.MailItem) Dim strExportPath As String strExportPath = "C:\Temp\Mails\" Dim FileName As String FileName = [...]

By |2017-08-21T21:17:06+01:00marts 28th, 2011|Scripting & Development|10 Comments

First look at System Center Update Publisher 2011

  Here at MMS 2001 day 1, I have had the pleasure of attending two great SCUP 2011 session. From my test drive I have made my personal top list of new and improved features. 1. Performance a. The application has undergone a major improvement when it comes to performance. Where it could take 10-15 minutes to load some of the larger catalogs in SCUP 4.5 the same process today takes less than a minute.   2. New UI a. The admin UI has moved away from the MMC (big applause) and is now built to look like the other [...]

By |2011-03-22T19:29:43+01:00marts 22nd, 2011|Configuration Manager (SCCM)|3 Comments

Changing Alert Resolution State automatically

If you need to change the Resolution State when a new Alert appears, or change the status of an alert from a specific source or a given period of time, it could be done with a script. The script will be called by creating a Notification. Often you specify a SMTP, SMS or IM as a Channel but lets instead call a script – In this sample I will use a Powershell script to change new alerts Resolution state to the “Print Guys”. Lets start with creating a Command Notification Channel - Give it a name like this one: Start [...]

By |2011-03-21T18:30:42+01:00marts 21st, 2011|Operations Manager (SCOM)|6 Comments