Search This Blog

Monday, May 21, 2012

WMI error 0x80041003 in event log

Another error that has shown up lately is this error:

Event filter with query "SELECT * FROM __InstanceModificationEvent WITHIN 60 WHERE TargetInstance ISA "Win32_Processor" AND TargetInstance.LoadPercentage > 99" could not be reactivated in namespace "//./root/CIMV2" because of error 0x80041003. Events cannot be delivered through this filter until the problem is corrected.

With event ID 10.


This error is very annoying but can easily be removed by running a vbs script provided by Microsoft, so to fix this go to this support case:

Event ID 10 is logged in the Application log after you install  Service Pack 1 on Windows Server 2008 R2

Thursday, May 17, 2012

The WinRM service failed to create the following SPNs

I am starting to see this error on many newly created Windows 2008 R2 SP1 domain controllers:

The WinRM service failed to create the following SPNs the event id is 10154


The solution is to find the domain controller in Active Directory Users and Computers.

Select Advanced Features and right click and select Properties on the DC with the error.


Select the Security tab and click on the Advanced button.

Select Add and enter the name NETWORK SERVICE.


Select OK

Change the Apply to so that This object only is selected and allow the Validated write to service principal name right.

Now use the OK button all the way back.


The last thing we need to do is to restart the Windows Remote Management service and the error is no longer shown in the event log.


Tuesday, May 15, 2012

Download link for Citrix Receiver on the Web Interface

You might find yourself in a situation where you would like not to activate the client detection feature on the Citrix web interface, but you still like your clients to be able to download Citrix receiver from your web interface.

First we disable client detection on the web interface:


Then to add a download link, we select Web Site Appearance and select Content - we will add the download link to the footer on all pages.

In the Content window select Add and English as language. Select Footer Text and enter a dummy text.


Now close the Citrix Web Interface Management, this is important because the management interface might overwrite your changes to the weinterface.conf we are going to work with.

Open the webinterface.conf file in the conf folder of your site, the default location is c:\inetpub\wwwroot\Citrix\XenApp\conf in the end of this file you will find our dummy text.


Change the dummy text to the required download link.

<a href="http://ctxweb/Citrix/XenApp/Clients/CitrixReceiver.exe" target="_blank">Download Receiver for Windows</a>


The target=”_blank” will open it in a new window or tab.

And then remember to copy the desired Receiver version to your clients folder and backup your new Webinterface.conf file.

Now we have the download link in the button of the screen.


Monday, May 14, 2012

DNS and timestamp replication

You might notice that the timestamps on your Active Directory integrated zones don’t replicate around to all your DNS servers.

The reason for this is probably that scavenging is not enabled at the zone.
Active Directory will first replicate this information when scavenging is enabled, because the information is really not needed when scavenging is not active on the zone.


Remember is will take some time, the timestamp will be replicated next time the client update its registration.

You can find a very good article about DNS and scavenging here:

Don't be afraid of DNS Scavenging. Just be patient.

Friday, May 11, 2012

Visio 2010 and KMS keys

When you deploy Microsoft Visio 2010 and set the MSP file to use a KMS server, it will by default use a Visio Premium 2010 KMS client key. If this is not the version you intent to use you can change the key in the MSP file to one of these:

Edition Key
Visio Premium 2010 D9DWC-HPYVV-JGF4P-BTWQB-WX8BJ
Visio Professional 2010 7MCW8-VRQVK-G677T-PDJCM-Q8TCP
Visio Standard 2010 767HD-QGMWX-8QTDB-9G3R2-KHFGJ

Wednesday, May 2, 2012

Missing domains on login dropdown?

Here is a small issue new to me, when you set up trust between forests and define it as a transitive one, users can log on as expected from sub-domains if you use the UPN or domain\user syntax.

This is quite as expected, but on older Windows versions, users are presented with a dropdown list showing the domains available to use at logon. This list will not show the subdomains of the forest trust.

In order to see the subdomain you will have to create shortcut trusts for every subdomain.

More information about shortcut trusts can be found here:

Tuesday, May 1, 2012

XenApp 6.5 deployed from a SCCM 2007 OSD Task Sequence

I have in the past made heavily use of MDT 2010 to automatic deploy XenApp servers and applications. One of the major advantages is that the servers are always installed exactly the same way and it is also very easy to replace or update components in the future.

So when I recently had the opportunity to move it all to an SCCM 2007 R3 OSD Task sequence, my first thought was that it would be a very easy task, but I was wrong.

It quickly became clear that I was facing three challenges that were not so straightforward.

• XenAppSetupConsole.exe failed when it was started from a SCCM OSD task sequence.
• XenAppConfigConsole.exe also failed when it was started from a task sequence.
• The installation of the Citrix Receiver stopped but continued if a user moved the mouse.

When you consider that it works like a charm from a MDT 2010 task sequence, I must admit that it came as a surprise that there were this kind of problems.

Fortunately, it could be solved, but maybe in a rather unconventional way. I am sure that there are other ways around this, but this worked.

XenAppSetupConsole.exe can work from an SCCM task sequence by using a good old favorite PSEXEC. PSEXEC is available at
XenAppConfigConsole.exe can be successfully completed by using a MDT 2010 tool called serviceUI.exe. See more information at
And finally the problem with the installation that would only continuing when the mouse was moved. I knew that I had seen this before, so here I was glad to find that I had made a note of it in OneNote. By hiding the "Progress bar" before the installation starts, the installation succeeded.

See more information about hiding the Progress bar at
Now I can deploy XenApp servers from SCCM 2007 as well as from MDT 2010. This also means that I do not need introduce new products such as Provisioning Server, but can use a tool which is already well known and in corporate use.