I ran into an interesting thing at work. I wanted to perform an in-place upgrade of a Windows 2003 R2 domain controller to Windows 2008. When I ran the upgrade utility it said that before I could continue that I have to uninstall Windows Powershell. Easy enough right? Well, not in this case.
I went into add/remove programs and neither Windows Powershell was in there, and neither was the update associated with it which is KB926139. WTF? How am I supposed to remove it if it's not there to remove? I hate this kind of stuff, and this is why most people don't go through with in place upgrades. The only reason I'm doing it is it's the quickest way for my to get my environment up to a 2008 functional level in Active Directory without have to do a whole lot of FSMO role changes, and what not.
Anyhoo, I was finally able to remove it, but in order to do it I had to trick Windows into thinking it wasn't there by doing the following:
- In the registry I exported the following key then deleted it:
- After that, I downloaded KB926139 and manually installed it
- In add/remove programs I found the KB926139-V2 Update, and uninstalled Powershell
After that I was ready for my in-place upgrade to Windows 2008. Were you in a similar situation? Did you find a different way to fix it? Let me know in the comments.