You are browsing the archive for Tips & Trics.

SCE 2007: Agent deployment issues

6:55 pm in Uncategorized by mikeresseler

Hey All,

Today I was with a customer and they told me that the system administrators weren’t able to deploy an agent to a certain workstation.  This workstation was just deployed clean with MDT.

The error they got is the following:

The MOM Server could not start the MOMAgentInstaller service on computer <computername> in time

Also, I received error 80070102.

Since I never saw this error, and the logs didn’t really told me a lot, except somewhere in the installation log file that the firewall exceptions couldn’t be made.

This was quite strange since I deployed the firewall exceptions through GPO (it is not only for SCE so I used 1 GPO for all firewall exceptions).

So I started surfing on the net for solutions.

Not much info there, but finally I came across a blog post from Kevin Holman

Ok, since this was one isolated case, I could have gone to the user and installed it manually, as many people advised on the internet, but since I’m quite lazy I didn’t feel like it.

According to Kevin, and I quote:

Sometimes – the Windows Firewall service – even if disabled – will have a stuck rule. Run: (netsh advfirewall firewall delete rule name=”MOM Agent Installer Service”)

So I fired up psexec from my workstation and checked if this could be true.  And yes, there was a rule that called Mom Agent Installer Service.

Since the program wasn’t installed, it was not necessary so I used the command to delete the rule.

Tried the remote installation again, and it worked.

Thanks Kevin :-) I didn’t had to leave my chair today



System Center Data Protection Manager 2007 SP1: Errors

8:36 pm in Uncategorized by mikeresseler

Hey All,

Last week I had a strange error with a customer.  Here’s the situation:

One primary DPM server with quite a lot of Protection groups and protected servers that handled the disk to disk backup.  A secondary DPM server that did the backup to tape and of course the backup off the first DPM server.

All backups on the first DPM server went most of the times without any problem, and if there was a problem it could be solved with a consistency check or a rerun of the failed job.

However, everything on the second server failed completely. 

After investigation, I’ve noticed that many times the DPMRA service crashed on the primary server each time the backup server was doing a backup of the first.

I’ve read log files, event viewers but every error described on newsgroups and blog posts were about DPM servers that didn’t had the latest hotfix rollup.  This server and the secondary server however had all the hotfixes installed till date.

So because I couldn’t figure it out, I decided to log a call together with the customer.  Because I am not often with that customer I let him handle it but requested to forward me the steps taken by Microsoft support and hopefully the solution. 

After one week, they found the solution together with the Microsoft engineer.

Just as extra information, here is the error they got on the secondary server

Error Messages: The protection agent on primaryserver.FQDN was temporarily unable to respond because it was in an unexpected state. (ID 60 Details: Internal error code: 0x809909B0) followed by DPM failed to communicate with the protection agent on primaryserver.FQDN because the agent is not responding. (ID 43 Details: Internal error code: 0x8099090E)

So here are the steps taken and the solution.

1) They needed to run an MPS report as described on

2) They needed to run the following command (run as administrator!)

MOUNTVOL >c:\mountvol.txt

The engineers from Microsoft quickly viewed the problem

As you can see in the following exctraction out of the mountvol.txt file


        Q:\Program Files\Microsoft DPM\DPM\Volumes\Replica\servername\MSDEWriter\naamdatabase

        D:\Program Files\Microsoft DPM\DPM\Volumes\Replica\servername\MSDEWriter\naamdatabase


Q:\Program Files\Microsoft DPM\DPM\Volumes\Replica\Servername\Non VSS Datasource Writer\Computer\SystemState\SystemState\

        D:\Program Files\Microsoft DPM\DPM\Volumes\Replica\Servername\Non VSS Datasource Writer\Computer\SystemState\SystemState\


        Q:\Program Files\Microsoft DPM\DPM\Volumes\DiffArea\Servername\File System\D-2a56f4ae-783c-11de-8b69-005056ac1ad1\

        D:\Program Files\Microsoft DPM\DPM\Volumes\DiffArea\Servername\File System\D-2a56f4ae-783c-11de-8b69-005056ac1ad1\

The whole file was full with duplicate paths to the same volume, although this was not seen in a normal explorer

This happened because they once changed the location of the volumes.

Now the customer can use the mountvol command (with /d to remove the duplicates one by one, or take the the old disk offline and use the /R for all in once) to clear out the duplicate paths.

That solved the case



Monitoring % Free disk space on a windows server 2000

2:54 pm in Uncategorized by mikeresseler

Hi All,

Today I felt like an extreme idiot.  I was creating a huge report for a customer based on several servers.  The customer asked me to create a scheduled report based on certain performance counters.  So I started off and created some servers.  Quite a few of his servers are still Windows 2000.  This was problematic as I couldn’t found the % free disk space 2000 counter, only the one for 2003 was shown (2008 Management pack isn’t imported here…)  I started to check the monitors and rules because I thought the rule was maybe disabled.  After quite some time searching and playing on google, I decided to read the MP Guide for the base OS.  And yes, there it was…

To enable Logical Disk object for Windows 2000 Server operating systems
1.    On the Start menu, click Run to open the Run dialog box.
2.    Type cmd and press ENTER.
3.    At the command prompt type diskperf -yv and press ENTER.    


Next time, I will follow up my own advice quicker and read the manuals first 😉



IE7.0 Handy Command Lines

8:42 am in Uncategorized by mikeresseler

Hey All,

Today I was working on a Terminal Server 2008 environment that had problems with his local drive.  The main issue here was that they had published internet explorer with the default settings.  That caused a lot of temporary files and cookies etc left on the server.

Of course I could easily create some GPO’s to prevent cookies and temporary files etc.. but this was not an option as I was not allowed to touch the GPO’s in this environment.  Fair enough, so I started to google to find another solution. 

I came across this site:

This site provided me with a lot of commands to clean those things up through command line.  I told this to the customer, and this was agreed that they could be put in a logoff script on the terminal servers.

Anyway, here are the commands:

Temporary Internet Files

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8


RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2


RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1

Form Data

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16


RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32

Delete All

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255

Delete All – "Also delete files and settings stored by add-ons"

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351


Enjoy and thanks to the howtogeek website.



Windows server 2008: A quick reference guide

10:36 am in Uncategorized by mikeresseler

I found some great information on some commands for Windows Server 2008 on the blog of Mark Empson’s.

Set the computer name

Netdom computername [origcomputername] /add FQDN

Netdom computername [origcomputername] /makeprimary FQDN

Configure IP address

Netsh int ipv4 set address “Local Area Connection” static IPADDRESS SUBNETMASK GATEWAY
Netsh int ipv4 set address “Local Area Connection” static

Netsh int ipv4 set address “Local Area Connection” source=dhcp

Netsh int ipv4 set dnsserver “Local Area Connection” static IPADDRESS primary

Netsh int ipv4 set winsserver “Local Area Connection” static IPADDRESS primary

Change the name of the network interface

Netsh int set interface name = “Local Area Connection” newname = “NameForTheInterface”

Manage Firewall

Netsh firewall set opmode enable

Netsh firewall set opmode disable

Enable Remote Administration

Netsh firewall set service remoteadmin enable

To set up the registry for remote admin

Cscript C:\Windows\System32\ Scregedit.wsf /ar 0

If you are using an older version of TS client, then you need to drop the security levels on core

cscript C:\Windows\System32\Scregedit.wsf /cs 0

To enable automatic updates

cscript C:\Windows\System32\Scregedit.wsf /AU 4

To use the Disk Management MMC snap-in remotely

Net start vds

To view main hardware/software details of core


Reset the administrator password

Net use administrator *

To activate the server

Slmgr.vbs –ato

To join the domain

Netdom join <computer name. /domain:<domainname> /userd:<username> /password:<password>

Restart core

Shutdown /r

To remotely find out if this server a core build using WMI

wmic path win32_operatingsystem get OperatingSystemSKU /value

To list installed drivers:

Sc query type= driver

Installing a driver that is not included:

Copy the driver files to Server Core

Pnputil –i –a <path>\<driver>.inf

List of installed patches:

wmic qfe list

These commands helped me a lot in my research towards Core server.  (And of course for managing them through Opsmgr)