Wednesday 2 November 2011

Replace HDD in Linux LVM Software RAID

Lets say a drive fails and it happens to be /dev/sdb and you insert a new
unformatted drive we need to take the following actions to get the LVM SW
RAID up and running again. The OS in question is Citrix XenServer 5.6 so
the commands are specific to that partition layout.

1. Copy the partition table from /dev/sda to /dev/sdb you can use dd

dd if=/dev/sda of=/dev/sdb bs=512 count=1

2. Now set the partition table up on /dev/sda the way it should be for
Linux RAID. This means setting the partition types to 0xfd.

echo -e "\nt\n1\nfd\nt\n3\nfd\nw\nx" | fdisk /dev/sdb

3. Now we need to add the drive to RAID partitions

mdadm -a /dev/md0 /dev/sdb1
mdadm -a /dev/md1 /dev/sdb3

4. Check to see both partitions are rebuilding.

mdadm -D /dev/md0

...at the end of output you should see

Rebuild Status : 6% complete

UUID : 5ab2841a:99cd3850:17d24f1b:97040b83
Events : 0.52

Number Major Minor RaidDevice State
2 8 1 0 spare rebuilding /dev/sda1
1 8 17 1 active sync /dev/sdb1

run the same command for the /dev/md1 partition


mdadm --monitor /dev/md0 -1
(change to /dev/md1 for second partition)

If you get the output below - the array is still rebuilding. If you get no
output, the RAID is in sync.

Nov 2 15:18:20: DegradedArray on /dev/md0

Thursday 27 October 2011

Exchange Autodiscover URL

When starting Outlook 2010 accessing an Exchange server you get a SSL
certificate name mismatch error.

You have already checked that Outlook Anywhere, the DNS server and the
Outlook profile have the correct configuration and settings. You could be
looking at an Exchange Autodiscover problem.

Open the EMS and type this to check the current Audiscover settings

Get-AutodiscoverVirtualDirectory | fl

You should something similar to this:

Name : Autodiscover (SBS Web Applications)
InternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated}
ExternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated}
BasicAuthentication : True
DigestAuthentication : False
WindowsAuthentication : True
MetabasePath :
IIS://SERVER.domain.local/W3SVC/3/ROOT/Aut...
Path : C:\Program Files\Microsoft\Exchange
Server\...
Server : SERVER
InternalUrl : https://server.domain.com/Autodiscover/...
ExternalUrl : https://server.domain.com/Autodiscover/...
...

The ExternalUrl and InternalURL should be set to the correct external FQDN
of the server. If this is not correct you can change the settings as
follows:

Set-AutodiscoverVirtualDirectory -identity "Autodiscover (SBS Web
Applications)" -InternalUrl
"https://remote.domain.com/Autodiscover/Autodiscover.xml" -ExternalUrl
"https://remote.domain.com/Autodiscover/Autodiscover.xml"


The server in question is a SBS 2008 running Exchange 2007.

Monday 10 October 2011

Sharepoint Repair

If you are experiencing many errors relating to Sharepoint - run the
following to repair permissions, etc.

C:\Program Files\Common Files\Microsoft Shared\Web Server
Extensions\<VERSION>\BIN\psconfigui.exe

Tuesday 4 October 2011

Friday 30 September 2011

ADSL Connection Quality

Connect to router and check the following stats when troubleshooting
troublesome ADSL connections

Attenuation:
< 20dB : Excellent
30dB - 50dB : Good
> 50dB : Poor and will probably have connectivity problems

Signal to Noise Ratio (SNR)
> 20db - Excellent
8dB - 20dB : Good
< 7dB : Poor and will probably have connectivity problems

ShadowProtect Recovery Notes

Recovery Options

Set the following on all volumes
- Allways restore MBR
- Restore 'Original Windows MBR' if boot partition
- Restore 'Disk Signature'
- Resotre 'Disk Hidden Track'

Policy Changes needed:
- IF
- RAID Controller and Firmware is different
- AND/OR
- Disk and Disk Firware is different
- Set recovery policy to 'Sector Alignment'

Ctrl-Shift F10 - Allows access to command shell to do CHKDSK

Allways check Boot Configuration on Tools menu to make sure system is
bootable and drive letters are good.

Friday 2 September 2011

Install XenServer 5.6 on software RAID 1

A problem I have encountered is that the XenServer 5.6 boot install media
does not recognise a two SATA disk RAID 1 set configured using the Intel
SW RAID BIOS - it sees the two drives separately. The SR RAID set is on a
separate Intel RAID adapter with separate SAS drives.

The first step is to disable the BIOS RAID and configure the two SATA
drives as independent drives (AHCI mode).

Then install XenServer onto the first disk /dev/sda and don't configure any
SRs at this point - once the install completes and server restarts go to
the console screen (ALT-F3) and follow these instructions:

The original source for these instructions is this blog - thanks Todd!

I copied and updated his instructions and numbered them for easier reference.
http://www.toddsmith.org/wordpress/uncategorized/configure-xenserver-50-free-for-software-raid-1/

1. To copy the partition table from /dev/sda to /dev/sdb you can use dd

dd if=/dev/sda of=/dev/sdb bs=512 count=1

2. Now set the partition table up on /dev/sdb the way it should be for
Linux RAID. This means setting the partition types to 0xfd.

I used the following command:

echo -e "\nt\n1\nfd\nt\n3\nfd\nw\nx" | fdisk /dev/sdb

That tells says to fdisk, “tag partition 1 as type 0xfd, tag partition 3 as
type 0xfd”

3. Check to make sure the /dev/md? devices are present

[ -e /dev/md0 ] || mknod /dev/md0 b 9 0
[ -e /dev/md1 ] || mknod /dev/md1 b 9 1

4. Startup the degraded RAID devices

mdadm --create /dev/md0 --level=1 --raid-devices=2 missing /dev/sdb1
mdadm --create /dev/md1 --level=1 --raid-devices=2 missing /dev/sdb3

pvcreate /dev/md1
volume_group=`vgscan | grep VG | awk -F \" '{print $2}'`
vgextend $volume_group /dev/md1

>> I have had to replace the next line
pvmove /dev/sda3 /dev/md1
>> with
dd if=/dev/sda3 of=/dev/md1 bs=8M
>> this is because in XenServer 5.6 the /dev/sda3 partition is of type 8e(LVM) rather than 83 - http://daniel-albuschat.blogspot.com/2008/02/converting-lvm-to-normal-partition.html

vgreduce $volume_group /dev/sda3

5. Now we’re ready to copy the filesystem over to the RAID device /dev/md0

mkfs.ext3 /dev/md0
cd / && mount /dev/md0 /mnt && rsync -a --progress --exclude=/sys \
--exclude=/proc --exclude=/dev/shm --exclude=/dev/pts / /mnt
mkdir /mnt/sys
mkdir /mnt/proc

6. Now let’s setup initrd

mkdir /root/initrd && cd /root/initrd
zcat /boot/initrd-`uname -r`.img | cpio -i && \
cp /lib/modules/`uname -r`/kernel/drivers/md/raid1.ko lib

7. Now we have to edit the init file

q="echo Waiting for driver initialization."
sed -r -i "s,^${q}$,\n\necho Loading raid1.ko module\ninsmod
/lib/raid1.ko\n${q}\n,g" init

q="resume /var/swap/swap.001"
sed -r -i "s,^${q}$,${q}\necho Running raidautorun\nraidautorun
/dev/md0\nraidautorun /dev/md1,g" init

r=`grep mkroot /root/initrd/init`
sed -r -i "s|^${r}$|${r/sda1/md0}|g" init

8. Now we’ll copy the initial ramdisk to the /boot on the new RAID


>> This is a key step - replace
find . -print | cpio -o -c | gzip -c > /boot/initrd-`uname -r`.img
>> with
find . -print | cpio -o -c | gzip -c > /mnt/boot/initrd-`uname -r`.img


sed -r -i 's,LABEL=root-\w+ ,/dev/md0 ,g' /mnt/etc/fstab
sed -r -i 's,LABEL=root-\w+ ,/dev/md0 ,g' /etc/fstab

9. And setup the boot loader

sed -r -i 's,root=LABEL=root-\w+ ,root=/dev/md0 ,g'
/mnt/boot/extlinux.conf
sed -r -i 's,root=LABEL=root-\w+ ,root=/dev/md0 ,g' /boot/extlinux.conf
cat /usr/lib/syslinux/mbr.bin > /dev/sdb
cd /mnt
extlinux -i boot/

cp /mnt/boot/extlinux.conf /boot/
cp /mnt/boot/initrd-`uname -r`.img /boot

10. Unmount /dev/md0, sync, and reboot

cd ; umount /mnt || umount /dev/md0
sync
reboot

11. After the server boots up again we tag the partitions as type Linux
raid, then we have to add /dev/sda to the RAID.

echo -e "\nt\n1\nfd\nt\n3\nfd\nw\nx" | fdisk /dev/sda
mdadm -a /dev/md0 /dev/sda1
mdadm -a /dev/md1 /dev/sda3

reboot

12. Allow the serve to boot up and wait for the RAID to rebuild
To check whether the RAID is completed run the following:

mdadm --monitor /dev/md0 -1
If you see "DegradedArray" its still rebuilding. Once completed reboot a couple of times to make sure all is well.

That's it!
----------


You can configure RAID monitoring to send an email as follows:
http://www.review-ninja.com/2009/10/how-to-monitor-raid-devices-on-linux.html

There are a couple of things are beware of with this config.
1. Don't apply any patches as this will probably break the LVM setup.
2. Citrix Licensing policies may require you to install some patches in the
future to renew licenses.

Tuesday 19 July 2011

Exchange 2007: Internal Certificate Expired

We need to install a valid certificate and enable it or create a new self
signed one.

See here for details:
http://exchangeinbox.com/article.aspx?i=114

Friday 1 July 2011

Citrix XenServer Notes

Started cutting my teeth on this plaform recently and I am impressed with
it so far. I have had a few roadblocks along the way - one of which
involves the fact that the default install for XenServer is to format the
Local Storage has LVM rather than EXT3. The advantages are speed and you
can do cool things like live migration, etc. Disadvantages include the
tree or chain style of block allocation that makes it impossible to delete
VDIs once created, or to resize them. Once you delete a VDI you seem to
lose the allocated disk space forever as they become part of the "base
copy" mess and if you remove any of the "base copy" VDIs you can corrupt
the SR entirely and will result in having to re-create the SR from
scratch. So LVM is good if you plan it out properly and have more than one
SR in your system so you can move things around and free up space that way

Some commentary:
http://forums.citrix.com/thread.jspa?threadID=265331&start=0&tstart=0


Another way is to replace the default LVM SR with a file-based EXT3 SR. The
advantages are VDIs are easily resizable and you can copy them around
easily as they are just files. Once you delete them - they are gone,
freeing up any space used. Another thing is they are sparsely allocated so
they won't actually use any physical disk space until they contain data.
Another advantage is you can use the Head-Start restore feature provided
with StorageCraft ShadowProtect among other things.

Follow these instructions to create the EXT3 SR:
http://www.thegenerationv.com/2010/02/direct-booting-vhd-in-xenserver.html

XenServer 5.6 Documentation:
http://support.citrix.com/product/xens/v5.6/#tab-doc

Thursday 30 June 2011

Terminal Server user profile troubleshooting

Users calls in to report they are logged into the system with a temporary
profile - as the user's actual profile may be damaged.

On a Terminal Server the users registry hives are still locked by the
system even after logging off. This will prevent you from renaming the
user's profile directory due to file locks. The solution is to restart the
server to free all the locks on the folder - this is obviously not really
an option on a production system. There is an alternative - use regedit to
unload the user's registry hive under

HKEY_USERS\S-1-5-21-...

To identify the relevant hive - first browse to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\

and browse through the entries there looking at the ProfileImagePath value
until you spot the right SID then select the correct SID under
HKEY_USERS\
and click File > Unload Hive
this should release the file locks on the profile folder and allow you to
repair the corrupt profile.

Another thing is that the system may have merely locked the profile - go
back to the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\

and if the profile key ends with .bak we should be able to rename the key
and remove the .bak extension. Then make sure you modify the State value
to 0x10(16). Now try logging on as the user again and if the profile is
not corrupted, it should logon without any further problems.

Note: This was performed on a Server 2003 based system and may be slightly
different with other versions.

Monday 27 June 2011

Apple Mac: Outlook 2011

Outlook 2011 for Mac is only compatible with Exchange 2007 or higher -
Exchange 2003 is only supported using IMAP.

http://www.mactalk.com.au/56/93913-outlook-2011-mac-not-supporting-exchange-server-2003-a.html

Thursday 23 June 2011

Outlook 2010 hangs when importing PST file

"Connecting to pst-files located on a network share is not supported by
Microsoft as it can lead to poor performance, data corruption and even
data loss. As indexing is an I/O intensive process, the fact that Outlook
gets unresponsive for network connected pst-files is to be expected; keep
your pst-files on your local hard disk when you want to work with them in
Outlook "

http://answers.microsoft.com/en-us/office/forum/office_2010-outlook/outlook-2010-hangs-when-importing-a-large-e-mail/552bd4db-5255-4ef9-a351-d1ff9bef95a2?page=4

If you are working with a PST on a network share - expect problems. Rather
copy the file to the local HDD and import the data from there into Exchange.

Wednesday 22 June 2011

Force Printer Properties - Konica Minolta

Customer has a AD network with a server that manages the printer queues for the network.

I setup different printer queues for each basic setting they require. e.g. Monochrome, Color, Letterhead(different tray).

This particular printer driver stores its setting configs in the registry in the USER profile(HKCU). This complicates things as each user profile has its own set of settings for each printer queue and these settings overide the server defaults. In addition when the printer is mapped on the workstation - it has the default config that ignores the settings configured on the server.

So trick in the end was to re-map the printers and replace the HKCU registry settings for the printer queues at logon.

The relevant keys are:

HKEY_CURRENT_USER\Software\KONICA MINOLTA\KONICA MINOLTA C360SeriesPCL\SERVERNAME\
and
HKEY_CURRENT_USER\Printers\Connections\,,SERVERNAME,PRINTER SHARE

Once you have configured the settings appropriately - export the keys to a file on the server in a location that is accesible from any domain workstation on the network (e.g. NETLOGON) and call a script at logon that replaces these keys at logon. This way we can ensure a consistent printer configuration.

Recreate User Profile - Windows 7

http://windows7forums.com/windows-7-support/40444-recreate-users-profile.html

Monday 20 June 2011

SBS 2003 to SBS 2008 Migration - Part 1

In most cases - with smaller SBS environments it is generally easier and quicker to just replace the existing SBS 2003 domain with a new SBS 2008 and then integrate all the workstations and devices and data into the new network.

This customer was in a situation where due to the size of the network and the complexity of the application & database servers on the network (third party vendor installation and configuration, etc) switching to a new network was not the most cost effective option and we opted to attempt a migration using the Microsoft published SBS 2003 to SBS 2008 migration plan.

This was successful, but not without its challenges - the main stumbling blocks I encountered was to do with the preparation of the existing server.

The old server was deployed with ISA 2004 and was configured as a web-proxy and firewall for the network and the server had already been through a P2V conversion. So the actual migration took place within a Citrix XenServer hypervisor.

These are the steps I followed to get the migration done:

  1. Uninstalled ISA
  2. Removed any Anti-Virus and Spam filtering software.
  3. Removed any Disk optimising programs. e.g. Diskeeper.
  4. Removed any remote access or monitoring applications.
  5. Next we needed to manually remove the existing network configurations from the registry. http://garclak-kb.blogspot.com/2011/06/nic-configurations-in-registry_14.html
  6. Run the Connect to the Internet SBS wizard.
  7. Run CHKDSK on the system volume - if this results in the system repairing zillions of SID errors - you may need to adjust permissions in the System32 folder as some services will not start properly due to access denied errors.
  8. Applied the NTFRS registry fix to allow the system to repair the Journal Wrap condition.
  9. Ran DCDIAG and fixed any problems encountered.
  10. Ran the SBS 2003 BPA and resolved any problems
  11. Raised Domain and Forest functional levels
  12. Set Exchange to run in Native 2003 Mode.
  13. Checked the Administrator accounts - there should be a second account setup to replace the Administrator account post-migration. Check group memberships and set primary group to Domain Users.
  14. Apply any Windows Updates.
  15. Take a backup of the system once system is clean as a whistle.
  16. Install the Migration Preparation Wizard.
  17. Install the Migration Preparation Wizard Update. http://support.microsoft.com/KB/981802
  18. Run the Migration Preparation Tool and the server may need to be restarted to apply any changes, etc.
  19. Start the destination server in Migration Mode using the Answer file. You may need to copy this file manually into place if migration mode does not start automatically. Once complete check for any Installation issues - there should be no Red Crosses that indicate a critical problem with the migration process has been encountered. Assess the relevant migration logs and you may need restore the source server back to the last backup and resolve any additional issues before attempting the migration again.

Tuesday 14 June 2011

NIC configurations in registry

NIC configs are found under this key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}

Remove all subkeys to allow the removal of ghost NIC configurations - Windows will then rebuild the keys. After this you will need to go into Device Manager and select "Show Hidden Devices" then remove all the adapters. Reboot the system to re-install the current active NIC.

Wednesday 8 June 2011

Thursday 26 May 2011

List all users and email addresses in Exchange

Use this tool (VBS script) to generate the list:


http://exchangepedia.com/2005/09/how-to-export-all-email-addresses-from-a-domain.html


To get a list of users that have forwarding configured perform this Custom AD search


(&(mailNickname=*)(altRecipient=*))

Friday 20 May 2011

Extact MSI files

Go here:
http://thebackroomtech.com/2007/08/23/howto-extract-files-from-a-msi-file-using-the-windows-command-line/

SQL Server: Database marked as suspect

If SQL Server thinks there is something wrong with a database - it will mark it as suspect to prevent any further damage, and refuse to mount it.

There are a couple of things we can to get things up and running again.

1. Instruct the server to mount the DB. This is done using the Query Analyser and feeding instructions to the server.
2. Check the database for corruption.
3. Put the system into production once we are sure the DB is 100%.

Refer to this for step 1: http://www.sqlservercentral.com/articles/Administration/unmarksuspect/137/

The reset command is:

sp_resetstatus @dbname = "db_name")

* replace db_name with the database name.

For the DBCC checks: http://msdn.microsoft.com/en-us/library/aa258278%28v=sql.80%29.aspx

The check command is:

DBCC CHECKDB('db_name')

* replace db_name with the database name.

Friday 13 May 2011

Replace System Files - Windows 7

Windows 7 has very strict permissions on who can modify or delete files in the System32 and other critical folders. Do the following on particular files you need to replace to allow access:

Take ownership and grant permissions on the file

cd C:\Windows\System32\
TAKEOWN /F spoolsv.exe
ICACLS spoolsv.exe /grant administrators:F

You can now rename and replace the files as required.

Thursday 21 April 2011

Reinstall RPC/HTTP Proxy in SBS 2008

This is generally if you are experiencing problems with the Outlook
Anywhere feature of Exchange - typically you get Exchange Server is down
type errors after authentication.

Disable Outlook Anywhere in EMC.

We are going to have to remove TS Gateway too - as it depends on the RPC
Proxy feature.

Backup the TS Gateway config then remove RPC Proxy feature - it will advise
that TS Gateway will need to be removed too.

Reboot server and uninstall will continue and complete.

Before re-installing the RPC Proxy and TS Gateway features add the
following registry key:
HKLM\SOFTWARE\MICROSOFT\RPC\RpcProxy
Under this key, create a new string value called "Website" and specify "SBS
Web
Applications" for the data.

Re-install RPC Proxy feature and after that install TS Gateway role.
Restore the TS Gateway configuration after installation.

Enable Outlook Anywhere in EMC. Wait around 15 minutes.

At this point you can restart the server to get things going - or restart
IIS and make sure all the Application Pools are running.

Outlook Anywhere should now be working.

Source URL:
http://microsofttoolbox.com/2009/12/how-to-reinstall-the-rpchttp-proxy-feature-in-sbs-2008/

Monday 28 March 2011

Connect Apple iMac to SBS 2008 domain

Read this cheat sheet to connect Apples to Windows domains...

The only thing that got me was that the Directory Access (on OSX 10.6) is
NOT under Utilities - its now integrated under the Accounts in System
Preferences.

http://www.applesource.com.au/how-to/soa/Connect-a-Mac-to-Windows-Small-Business-Server/0,2000451082,339287478,00.htm

Thursday 24 March 2011

Find email addresses in Exchange

Read the Thread here:
http://forums.msexchange.org/m_1800413517/mpage_1/key_/tm.htm#1800414154

Key suggestion:
"...Go to AD Users & Computers, right-click on
your Domain | Find | change the Find drop-down to "Custom Search" (you could
also change the "IN" drop-down to "Entire Directory" if you have more than 1
domains) | go to Advanced tab | type
type this into costum search box

proxyAddresses=smtp:user@domain.com ..."

Thursday 3 March 2011

Troubleshoot ActiveSync on Exchange 2003

If things are not working - even after restarting and confirmed the port
forwards in the router are working for port 443 and 80 - and you have the
correct server details configured on the mobile device.

Follow these need to rebuild the Exchange ActiveSync setup.

First off reset the IIS Exchange setup:
http://support.microsoft.com/kb/883380
* including the exchange-oma vdir.

Then follow this to configure authenication settings for IIS\Exchange:
http://support.microsoft.com/default.aspx?kbid=817379&product=exch2003

Monday 28 February 2011

Windows 7: User Profile issues

Getting errors like "the user profile service failed the logon..." follow
this walkthrough to resolve

http://www.vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html

Friday 18 February 2011

Windows 7 & Server 2008 tweaking

This is for when you attempt to open a document on a Server 2008 based file
server on a Windows 7 client. The trick is to disable SMB2 on the client
in mixed Windows 7 & XP networks using a server based on Server 2008.

http://www.petri.co.il/how-to-disable-smb-2-on-windows-vista-or-server-2008.htm

The following are for tweaking the network settings for Windows 7

http://www.speedguide.net/articles/windows-7-vista-2008-tweaks-2574

Wednesday 16 February 2011

MSI Error Codes

Ever wondered what those cryptic MSI error messages and codes mean - follow
this link:

http://desktopengineer.com/msierrors

Friday 28 January 2011

DCOM Troubleshooting

Getting thousands of 10009 errors on your server? This is probably because
the server cannot communicate properly with the client workstation due to
firewall or other issues.

Follow this guide to isolate the problem:
http://blogs.msdn.com/b/asiatech/archive/2010/03/16/how-to-troubleshoot-dcom-10009-error-logged-in-system-event.aspx

Tuesday 25 January 2011

WSUS - Clients not updating

If WSUS clients are not connecting to the WSUS server and giving errors
such as "WARNING: GetAuthorizationCookie failure, error = 0x800710DD" in
the WindowsUpdate.log file - you probably have a permissions issue on the
IIS WSUS site. To check that the permissions are set correctly use this:
http://technet.microsoft.com/en-us/library/cc708545%28WS.10%29.aspx

And to check the IIS Anonymous user password is in-sync with IIS follow
this:
http://blog.montopolis.com/2007/06/02/easily-resync-iis-anonymous-user-account/

Thursday 13 January 2011

Exchange 2003 - Anti Spam Configuration

Exchange 2003 has some anti-spam functionality that can be implemented on
the server in a pinch:

Recipient Filtering
Sender Filtering
Intelligent Message Filtering (SCL Rating)
Connection Filtering (RBL Black lists)

These need to be configured and enabled on the SMTP virtual server before
it works.

This link will demostrate how to deal with an NDR type attack and shows how
to configure the filters inside the ESM
http://support.microsoft.com/kb/886208

http://support.microsoft.com/default.aspx?scid=kb;[LN];261087

Tarpitting is another mechanism used to prevent Directory Harvest attacks
http://support.microsoft.com/kb/842851/

If you need to dump the existing SMTP queue as it is filled with spam -
rename the Queue directory found here
http://support.microsoft.com/kb/822933

Friday 7 January 2011

Acronis ABR10 - 'Not enough storage is available to process this command' errors

This is when the temporary snapshot file acronis creates cannot grow big
enough to complete the backup job.

The solution is to either move the snapshot file to a bigger volume or
increase its size or both as per http://kb.acronis.com/content/8032

Thursday 6 January 2011

SBS WMI Performance Monitoring Errors

If the server is sending alerts like this:

Processor : Critical condition. WMI Status: 2147749889 Enumeration failed.
Object not found. Data Collector is misconfigured. 0x80041001 :

Also

PagingFile : Critical condition. WMI Status: 2147749889 Enumeration failed.
Object not found. Data Collector is misconfigured. 0x80041001 :

And

Redirector : Critical condition. WMI Status: 2147749889 Enumeration failed.
Object not found. Data Collector is misconfigured. 0x80041001 :

You may need to rebuild the performance counter libraries as per
http://support.microsoft.com/?id=300956

Source URL:
http://www.winserverkb.com/Uwe/Forum.aspx/windows-server-sbs/23662/What-does-this-mean