Thursday, September 24, 2015

Lenovo Thinkserver Windows cannot be installed to this disk. This computer's hardware may not support booting to this disk. Ensure that the disk's controller is enabled in the computer's BIOS menu

When trying to install Windows Server 2012 R2 Standard, I cancelled (red X after installation started) the first installation because I accidentally chose the wrong partition when starting the installation, so this brought me back to the install menu, I tried to delete all the partitions and start repartitioning (I wanted a 50gb, 50gb, and remainder (467GB or something, from the 600GB Raid I had).  It would not let me delete the 467GB partition, and showed it was using a little bit of space.  It said the partition was in use, so I assumed that since I hadn't rebooted since cancelling the installation, that the first install had left it in use.  So I proceeded to go back to the first install menu and chose Repair instead (no reboot in between yet).  Using diskpart I tried to delete the partition once again, and I couldn't.  There was a folder and a winPE swap file on the partition.  At this point I figured I had to reboot to get any further.

I rebooted, proceeded through the install steps to the partitioning screen again, was then able to delete the partition, but when trying to create a new partition, it created it, but didn't put any of the regular special partitions in front of it... I knew something was wrong at this point, and after creating a new 50GB partition, there was a message at the bottom of the install window stating "Windows can't be installed on this drive. (Show Details)" and clicking details showed the next error window:

Windows Setup
Windows cannot be installed to this disk. This computer's hardware may not support booting to this disk. Ensure that the disk's controller is enabled in the computer's BIOS menu.

At this point I'm starting to get frustrated.  I go into the windows repair options, run a command prompt, run diskpart, delete all the partitions (if any), try a "select disk 0" or whichever disk you are trying to use ("list disk"), "clean disk".  I'm thinking this is going to cure everything.

I reboot back into the windows install but get the same message at the partitioning screen.

I'm stumped, googling doesn't find too much, other then one entry for SAN's and similar systems where a flag may have to be set manually to allow windows to install to the disk (over-riding a security/safety feature), I try using diskpart to see if I can set this option but can't find a way, and try setting Boot Disk to yes using diskpart, but can't seem to do that or find how to do that either.

I revert back to trying to re-initialize the RAID-10 I've created on the 720ix raid controller that's built into the Lenovo Thinkserver TD350 server, this doesn't seem to help.  I try resetting the Virtual disk (erasing it), etc etc

Finally 2 hours into this endeavour I go back into the TDM (Thinkserver Deployment M....), and stumble upon the deployment tab/menu option that allows me to pick all my Windows options (partition, windows key, admin password, etc) and proceeds to do an automated install of Windows onto the Raid (one minor issue, it wouldn't let me create a partition smaller than 67GB for installing on, and I had only chosen one role (Hyper-V)... I was planning to do it with 50GB, oh well.

Before stumbling on the automated deployment tool in the bios, I was prepared to attempt clearing the Raid using Linux (in case windows MBR or something was still on the drive)... I don't really think this would have helped, but I was grasping at straws at this point, and wondering what had changed from the initial successful attempt to install windows (which I so wrongly chose to cancel apparently), and now... at this point I had reset bios settings, tried to see if there was a specific option to set the raid controller to a bootable device (thinking this was causing the error message during the partitioning and install phase)...

All I know is that at this point, the automated deployment I did from the Bios seemed to get things back in order again... I can't explain why it was failing to allow me create new partitions and continue the installation.

Thursday, September 3, 2015

Windows 10 upgrade local Search not working, Cortana search not working, local search index failing

After a fresh upgrade from Windows 7 Pro to Windows 10 Pro on a laptop, I had a OneDrive.exe crash message that I wanted to save to research later, so I went to load up Snipping Tool to grab a copy of it, but I couldn't find Snipping tool using the Search bar beside the start menu.  The search menu would provide some web results, but nothing local that I could see.  I took a brief look through the Start Menu All Apps list and couldn't find Snipping Tool either, so I figured it may be missing from Windows 10 for some reason so I headed for some google searching to figure it out.

After researching Snipping Tool on Windows 10, everything pointed toward it being included by default, and it should just "be there"... eventually I stumbled across something that said to look under All Apps > Windows Accessories > Snipping Tool ... and there it was.. awesome, one issue solved and I get my screen shots of the OneDrive error.

This brings us to the issue at hand... why didn't the Search bar find Snipping Tool in the menu?  After a bunch of research, I tried a few things, tried the troubleshooters (built-in, etc), nothing worked until I did this:


  1. Traverse to C:\ProgramData\Microsoft\
  2. Rename the "Search" folder to "Search.old" or something similar
  3. A new Search folder should appear almost immediately if the Windows Search Index is trying to generate a new index (you may need to trigger this otherwise)
  4. eventually after the search index was recreated, my Search bar beside the Windows 10 Start menu now works and successfully found my beloved Snipping Tool, among other things obviously.

Notes:
There was something in the windows event viewer logs mentioning
C:\ProgramData\Microsoft\Search\Data\Applications\Windows\edb.log

SearchIndexer (5628) Windows: Error -1811 (0xfffff8ed) occurred while opening logfile C:\ProgramData\Microsoft\Search\Data\Applications\Windows\edb.log.

This is what led me to the folder we renamed, I saw files being created and deleted in real time while the index was trying to rebuild, but it could not rebuild and had other related error messages in the event log (none super helpful).

Caveats: I don't know if this will have any repercussions, but it recreated the folder in question, so I assume it will be okay.

Tuesday, July 7, 2015

RSYNC escaping local filenames to deal with "The source and destination cannot both be remote."

I was having issues rsyncing a local file to a remote web server, I'm assuming it was because there was colons in the filename of the local file.

I tried single quotes and double quotes to escape it, and backslashes to escape the colons manually, none of which worked alone or together.

After a little googling, I came up with trying the ./ in front of the file, mixed with the manual escaping of each colon using backslashes, this worked!

rsync -aP ./mysql.servername.com.sql.2015-07-04T02\:45\:59Z.gz 'root@servername.com:/root/backups/'

Figured I would share it as I had to go through a couple articles (and actually found it in the comments of an article).

Sunday, September 15, 2013

Windows 8 Create a Recovery Drive fail, wipes all partitions on target drive, not just partition/drive letter you specify

Just thought I would document an unexpected behavior while creating a Windows 8 Recovery drive. Scenario: - had a 750GB USB External drive attached that had 5+ partitions on it, including a couple empty 150GB NTFS partitions - I had a Windows 8 machine that I wanted to "create a recovery drive" for - attached the USB drive, one of the 150GB empty partitions was drive letter G: - started Windows 8 "Create a Recovery Drive" from Start > Apps > Create a Recovery Drive - it quickly scanned the system for available target storage drives - it listed a few drives, I chose the G: drive as I had verified it was an empty 150GB NTFS partition - it promptly deleted *every* partition on the drive, created a 32GB Fat32 partition at the beginning of the drive, and copied the "Recovery Partition" (I checked that checkbox ON during he Create Recovery Disk steps - luckily I didn't have anything important on the 750GB external drive (I think! .. with age, my memory isn't 100% anymore you know) I was not expecting it to wipe the entire physical drive, only the G: drive I had pointed it to Wow.. thanks Microsoft.

Monday, August 19, 2013

ubuntu 10.04 to 12.04 kvm guest can't boot after upgrade

After upgrading a virtual machine from Ubuntu 10.04 to 12.04, the upgraded guest couldn't boot.  I had left the 2.6.38.x kernel on, and it seemed to allow the machine to boot just fine.

The 3.2.0.x kernel would just boot to busybox, whether I chose regular mode or recovery mode.  The kernel messages didn't seem to show any errors during bootup, but it just jumped to busybox after loading the network driver (in busybox, run dmesg, then continue to use SHIFT&PAGEUP to scroll backwards to see the kernel messages).

I tried googling for a bit without much success, but I decided to try installing the linux-image-generic kernel instead of using the linux-image-virtual image that was already installed.

The virtual machine managed to bootup just fine after this change.  I tried googling some more for answers, for the differences between linux-image-generic and linux-image-virtual, and only came up with the answer that they are pretty much the same, minus extra drivers and such.  I'm not sure which driver was missing, but it won't kill me to run the linux-image-generic image I guess.

If anyone knows a way to track down what driver might be missing in the linux-image-virtual images, I don't mind troubleshooting it a little more to try and help ubuntu developers maybe add the missing driver to the virtual images.  I'll provide the qemu virtual machine definition below in hopes it may help suggest what might be missing from the linux-image-virtual images.

WORKS:
ii  linux-image-2.6.38-16-virtual          2.6.38-16.67~lucid1                        Linux kernel image for version 2.6.38 on x86/x86_64
ii  linux-image-3.2.0-51-generic           3.2.0-51.77                                Linux kernel image for version 3.2.0 on 32 bit x86 SMP

DOESN'T WORK:
ii  linux-image-3.2.0-51-virtual           3.2.0-51.77                                Linux kernel image for version 3.2.0 on 32 bit x86 Virtual Guests


<domain type='kvm'>
  <name>server2</name>
  <uuid>195bcf90-2aa5-5e9f-db88-eeeeeeeeeeee</uuid>
  <memory>1310720</memory>
  <currentMemory>1310720</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch='x86_64' machine='pc-0.12'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/kvm</emulator>
    <disk type='block' device='disk'>
      <driver name='qemu' type='raw'/>
      <source dev='/dev/bigvg/server2_root'/>
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </disk>
    <disk type='block' device='disk'>
      <driver name='qemu' type='raw'/>
      <source dev='/dev/bigvg/server2_swap'/>
      <target dev='vdb' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </disk>
    <disk type='block' device='disk'>
      <driver name='qemu' type='raw'/>
      <source dev='/dev/bigvg/server2_space'/>
      <target dev='vdc' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/storage/iso/ubuntu-10.04.2-server-i386.iso'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
      <shareable/>
      <address type='drive' controller='0' bus='1' unit='0'/>
    </disk>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:d5:ee:ee'/>
      <source bridge='br0'/>
      <model type='rtl8139'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/>
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </memballoon>
  </devices>
</domain>
Posts I used to learn how to insert code snippets in my blogger posts:
http://www.craftyfella.com/2010/01/syntax-highlighting-with-blogger-engine.html

http://www.opinionatedgeek.com/dotnet/tools/htmlencode/Encode.aspx

http://www.restlessprogrammer.com/2013/02/adding-code-snippets-to-your-blog.html

Wednesday, December 12, 2012

Windows 7 Pro with XP Mode

This isn't always obvious to people who get Windows 7 (unfortunately it requires Professional or Enterprise or Ultimate to support XP Mode directly), but you can have a Virtual XP Pro installation that you can either run as a second virtual computer simultaneously as Windows 7, or, can use specific apps that are only installed on the virtual xp (known as XP Mode integration or so). Here's the info you need: Microsoft download page: http://www.microsoft.com/windows/virtual-pc/download.aspx

Samsung SGH-i727R Root and upgrade from ICS to Jelly Bean


  • Download Odin3 v1.85 
  • Download Odin tar.md5 recovery image (CWM or TWRP)
  • Download and Install Samsung Kies (this provides the correct drivers for the phone)
  • Reboot computer to allow Samsung Kies drivers to complete installing
  • Download SuperSU-0.93-Busybox-1.20.2.zip and copy it to your phone using USB storage mode (/downloads folder works well )
  • Unplug phone from computer
  • power off phone
  • Reboot phone into ODIN Download mode by following the next steps
    • phone should be powered off to start with
    • while holding down volume key, press and hold power key
    • release power key when phone vibrates
    • release volume key when black screen appears, or download warning screen appears
    • to enter download mode, accept the warning by pressing the volume up key (the warning should mention to press Volume up to continue into Download mode)
  • run Odin on the computer
    • uncheck all options except Auto Reboot (important!)
    • click on PDA button to choose your tar.md5 file (CWM 5.5.0.4 or TWRP 2.2.0.2)
  • connect phone to computer using usb cable
  • Odin should recognize the phone (a few visual cues), nothing should change on phone's screen
  • click on the Start button in Odin
  • the Odin log window should show success, and it will reboot your phone (assuming you selected the auto reboot checkbox)

  • Root your phone
    • shutdown phone
    • while holding volume up AND down together, press and hold the power button down
    • release the power button when the phone vibrates
    • release the volume buttons after the Samsung screen flashes and then goes to a black screen
    • wait for CWM or TWRP to load (up to a few seconds of black screen first)
    • choose install zip from sdcard
    • choose instlal from internal memory (or external if you put SuperUser on the external card
    • browse to and highlight the SuperUser file and press the enter button
    • with CWM you should see in the log lines that it was successful
    • with TWRP you have to press the bottom middle button on screen to see the log to see if it was successful
    • return to main menu and choose to reboot the phone
    • run SuperSU#, accept its offer to update its files
    • close SuperSU
    • reboot into recovery mode (if doing this via Rom Manager, SuperSU will ask you to give Rom Manager root permissions to reboot the phone, Grant Rom Manager access, you may get an "internet not connected" or similar error message, simply choose okay for the boot process to continue, or it may continue without interaction and they are just warnings while processes are being killed during the shutdown process)

  • Backup your phone's stock ROM before installing any custom ones
    • reboot into recovery (CWM in this example)
    • choose backup current ROM
    • choose Backup to internnal SD card (or external, whatever floats your boat)
    • this will take up to a few minutes
    • reboot phone
    • when booted up again, take a copy of the backup file over to your computer for safe keeping

  • Install custom Jelly Bean 4.1 or 4.2 ROM
    • Download your preferred Jelly Bean 4.1 or 4.2 ROM from xda-developers
    • save it to your internal or external sd card on the phone
    • boot into recovery mode

  • Notes:
    • I did all of the above steps with no SD Card installed and no SIM card installed, Wifi was on, Airplane mode was not enabled
    • Always do things with a near full battery
    • wipe data / factory reset, TWICE (x2)
    • wipe cache partition, TWICE (x2)
I'm publishing this post, it's been sitting in draft for quite a while, and I don't know what (if anything) may be missing, I forgot to finish it while it was fresh in my mind.  I've since given the i727r phone back to it's owner.

Tuesday, July 10, 2012

HTC Raider LTE ICS (Ice Cream Sandwich) Update goes to white HTC Screen


HTC Raider LTE ICS (Ice Cream Sandwich) Update goes to white HTC Screen

notes:
- phone is a Rogers HTC Raider LTE
- I cellular unlocked / carrier unlocked the phone months ago before this
- I HTC Dev unlocked the phone
- The phone is S-ON / Security-ON still, as I haven't S-OFF'd it yet

I went to do the Rogers ICS 4.03 update that was finally released on July 7th.

- downloaded the update over wifi
- initiated the ICS update
- during the update, the phone showed a download/progress bar several times in between reboots (at least 4 or 5 reboots, and new progress bars)
- it seemed to be stuck on a white HTC screen
- after waiting about 30 minutes for the update to finish (while still on the white HTC screen), I finally pulled the battery
- tried booting the phone several times
- started researching on the net
- came to the conclusion that I should try re-locking it first
- installed HTC Sync for this phone (including all 4 pieces of software and drivers that it suggested), no reboot of the desktop was necessary
- installed Android SDK
- second stage of Android SDK prompted to install the 4.1 (API 16) kit, I didn't install this, instead, I made sure to pick and install the following from the SDK Manager:
  - Under Tools: Android SDK Tools
  - Under Tools: Android SDK Platform-tools
  - Under Extras: Google USB Driver
- once again, no reboot of the desktop was required
- plugged my HTC Raider into USB on my computer
- held-down VOLUME-DOWN button while pressing and holding the POWER button until I saw something on the screen (should be HTC boot menu for Fastboot, Recovery, Factory Wipe, etc, etc)
- after it finished loading (it tries to run any updates on the internal (or SD?) flash cards first, I then chose the FASTBOOT option
- I opened a command prompt in windows (right-clicked and ran as administrator)
- ran "cd \Program files (x86)\android\android-sdk\platform-tools" to change to the correct directory where my android SDK tools were installed
- then ran "fastboot oem lock" which returned with:
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot oem lock
...
(bootloader) Lock successfully...
FAILED (status read failed (No such file or directory))
finished. total time: 0.115s

- I then either powered off the phone or it rebooted, I don't remember
- I then held-down VOLUME-DOWN button while pressing and holding the POWER button until I saw something on the screen (should be HTC boot menu for Fastboot, Recovery, Factory Wipe, etc, etc)
- this time I chose Recovery.. I should have just booted it normally instead, I don't think I needed to choose recovery, but I'm including it here for completeness
- it then continued to show a black screen with a small phone and three green arrows (2 arrows circling another green arrow), and a progress bar
- I continued to watch it (the phone was still plugged into my computer USB cable)
- it got to the end of the progress bar, and sat there, I got a little impatient and was googling while I was waiting, and someone had suggested (on another phone model) that during their update when it stopped on a similar screen, they unplugged their USB cable from the phone, and it continued on, so I did the same, I don't know that it really needed to be unplugged... your mileage may vary, maybe having just waited a littler longer, it might have continued on anyways.
- the phone continued to reboot
- it eventually started showing a more light-green/bluey colored arrows (the first hint that the ICS upgrade is continuing!! yay!)
- it continued to do this for a bit, and eventually got to a new screen saying it was updating components or packages (I forget the exact words)
- it eventually finished updating and I was able to use the phone again
- I had one touchwiz (I think) crash fairly quickly after the update.. but everything has been alright since then (these touchwiz crashes were common when I was using/reorganizing my Producteev todo lists, so I can always try that again and see if I have more crashes)

Anyways... maybe this will help some people out.

Friday, March 9, 2012

Windows XP Update KB2481109 won't install

Ran into a few computers that would continually try to install Windows Update KB2481109 and fail. The logfile in c:\windows\KB2481109.log (or .txt?) mentioned that it didn't have the correct prerequisite.

Researching led to suggesting to install KB969084 first, and then try the KB2481109 update again if it comes up.

KB969084 is available here, or just google it:
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=20609

I followed this method and it fixed the problem on several Windows XP machines.

Saturday, February 4, 2012

Ubuntu Server 11.10 black screen no video after install

After installing Ubuntu Server 11.10 x64 on a freshly built server, after the eject disc and press Enter to reboot option, the system reboots, goes through grub, then shows a black screen, then shows nothing but a blank / black screen.

Thinking it was locked up at first, I decided to try my luck with a CTRL-ALT-DEL (control alt delete), and was greeted with the system rebooting, posting, going through grub, then black screen again. I first thought it was an issue of needing to use the new GRUB_GFXPAYLOAD_LINUX=KEEP, but I decided to google it, and found the post that my post title links to, and it suggested adding the nomodeset kernel option. I'm not sure if the other option might have worked as well, and if it is/would be a better solution... I didn't need to try it as the nomodeset option worked, and its very similar in how to go about fixing it anyways (editing the grub config).

Following the linked to poster's description (a good description for newbies) of what to edit in Grub didn't quite match the new grub menu / editing selection of Ubuntu 11.10 during bootup (I didn't see splash or quiet options that he mentioned in this new interface / menu), but I simply added the nomodeset to the end of the line that loads the kernel and its options.

After successfully booting, edit /etc/defaults/grub and add nomodeset to the following option in grubs config file for future boots:

sudo nano /etc/defaults/grub

add / update the following: GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"

then run "sudo update-grub"

Now during bootup, the screen still goes blank temporarily, but then comes back and works as normal.

Windows 7 Backup fails saying it skipped files

Using Windows 7 built-in backup system with the automated settings is simple... sometimes too over-simple, and lacking for easy adjustment.

Certain programs you install create their own user account on Windows 7 (and Vista or XP I assume). In my case, I was working on a system that has two programs installed that Windows 7 Backup complains about, Logmein Remote support Software and Quickbooks (2010, 2011, 2012 are all the same I believe).

When the Windows 7 Backup runs, it completes, but gives you a system warning saying that it has failed since it wasn't able to backup certain files (listed below in my instance).

C:\Users\LogmeinRemoteUser\Contacts
C:\Users\LogmeinRemoteUser\Searches
C:\Users\QBDataServiceUser20\Contacts
C:\Users\QBDataServiceUser20\Searches
C:\Users\QBDataServiceUser22\Contacts
C:\Users\QBDataServiceUser22\Searches

The article I've linked to in the title had a response from someone mentioning a microsoft Knowledge base (KB) article:

http://support.microsoft.com/kb/979281

I used one of the Resolutions listed for Scenario 2, the 1st bullet point / resolution says:

- Create the missing LocalLow, Contacts, and Searches folders that are listed in the error message.

So I simply traversed to one folder below the folders listed in the error messages about files being skipping, and created new Empty folders with names that match the error message names (I had to provide / confirm administrative privileges to continue and take ownership to get into the folders).

I created new empty folders the same as the following:

C:\Users\LogmeinRemoteUser\Contacts
C:\Users\LogmeinRemoteUser\Searches
C:\Users\QBDataServiceUser20\Contacts
C:\Users\QBDataServiceUser20\Searches
C:\Users\QBDataServiceUser22\Contacts
C:\Users\QBDataServiceUser22\Searches

I then re-ran the backup and it didn't complain about files being skipped anymore, and now I can assume/presume that when (if ever) there actually is an error about a file being skipped, I will get the system warning message, and I will know there's a real problem instead of "ignoring" the warnings and never looking too closely since it used to warn after every backup saying the backup had either not finished successfully or had completed with errors (skipped files).

Wednesday, January 25, 2012

Troubleshooting Outlook 2000 Won't Start

This information is what I referenced during my research, which the poster also copied from an unreferenced source:

A couple things and posts I found while researching Outlook 2000 not starting:

--------------------------------------------------------------------------------

Try starting Outlook once with the /safe command line switch for example from the Start > Run > type "c:\Program Files\Microsoft Office\Office\Outlook.exe" /safe with the quotes and the space before the forward slash. Note your path to outlook.exe may be different. If Outlook starts this way then the most common causes for the locking up are:

1. Corrupt messages in your Inbox.
2. Corrupt or damaged Toolbar.
3. Damaged view.
4. Add-in causing the error.

Resolution
For No.1 remove the first or last message in your Inbox depending on how you sort the Inbox.

If it is No 2 then renaming outcmd.dat (with Outlook closed) should clear the toolbars, search your hard drive for a file called outcmd.dat and rename it to outcmd.old then start Outlook (if this doesn't cure your problem then you can rename the file back to outcmd.dat and regain any customization of the Toolbars).

For No. 3 the running the /cleanviews command line switch will reset all views to default for example from the Start > Run > type "c:\Program Files\Microsoft Office\Office\Outlook.exe" /cleanviews with the quotes and the space before the forward slash. Note your path to outlook.exe may be different.

For No. 4 go to Tools > Options > Other > Advanced Options > Add-ins and uncheck all the add-ins. Close and restart Outlook, then add the add-ins one by one (closing and restarting Outlook each time) until you get to the problematic add-in. Depending on the add-in you may be able to remove it completely via Add/Remove Programs in Control Panel and then re-install a
fresh copy. If after a re-install you are still getting problems with the add-in then uninstall it again close Outlook do a search for a file called extend.dat and rename it to extend.old and repeat the installation of the add-in.

--------------------------------------------------------------------------------

Another one:

How to find and run the Inbox Repair tool in Outlook

Let me fix it myself
The Inbox Repair tool is automatically installed with all English-language Microsoft Outlook installation options depending on your operating system.

For Microsoft Windows NT and Microsoft Windows 2000:
C:\Program Files\Common Files\System\Mapi\1033\NT

For Microsoft Windows 95 and Microsoft Windows 98:
C:\Program Files\Common Files\System\Mapi\1033\95

The Inbox Repair Tool installs automatically during Microsoft Outlook 2002 and Microsoft Office Outlook 2003 setup. Unlike the Microsoft Office 97 version of the tool, Microsoft Office 2000 does not place the Inbox Repair tool on a menu. To use the Inbox Repair tool, locate one of the folders by using Microsoft Windows Explorer, and then double-click the Scanpst.exe file.