![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | PowerShell Uninstall Error I'm going to deploy 2003 SP2 on some servers. I want to uninstall PowerShell and reinstall it after applying SP2. When I tried to uninstall PowerShell via 'Add/Remove programs', I got this error message: Uninstaller Error An error occurred while trying to remove Hotfix for Windows Server 2003 (KB926139). It may have already been uninstalled. Would you like to remove Hotfix for Windows Server 2003 (KB926139) from the Add or Remove programs list? I clicked NO, then I launched PowerShell through its shortcut and it is still alive and kickin'. When I checked the windows directory I didn't find the uninstall files for PowerShell ('$NtUninstallKB926139$'). What happens if I apply SP2 to the servers? Will I be able to install PowerShell v2 when released without uninstalling SP2 first? Needless to say that this is very ANNOYING!. What if one forgets to remove PowerShell prior to SP install. Is he doomed to live with PowerShell v1? Removing SP from production servers is not a trivial matter. ----- Shay Levi $cript Fanatic http://scriptolog.blogspot.com |
My System Specs![]() |
| | #2 (permalink) | ||||||||||||
| Guest | Re: PowerShell Uninstall Error If I understand things correctly, PowerShell v1.0 is technically a hot fix. If you install it prior to SP2 and then install SP2, you won't be able to uninstall it. The recommended course was to uninstall PowerShell, install SP2 and then reinstall PowerShell if you wanted to be able to uninstall it later. We'll have to see what happens with v2.0. I'm assuming eventually it will be able to upgrade an existing installation. -- Jeffery Hicks MCSE, MCSA, MCT Microsoft PowerShell MVP http://www.scriptinganswers.com http://www.powershellcommunity.org http://jdhitsolutions.blogspot.com Now Available: WSH and VBScript Core: TFM Now Available: Windows PowerShell v1.0: TFM 2nd Ed. "Shay Levi" <no@xxxxxx> wrote in message news:8766a9441c1f28ca307c6d6ce20a@xxxxxx
| ||||||||||||
My System Specs![]() | |||||||||||||
| | #3 (permalink) | ||||||||||||||||||||||||
| Guest | Re: PowerShell Uninstall Error Thanks Jeffery I'm aware of the uninstall process and its downsides that's why I triedto uninstall PowerShell in the *official way* prior to installing W3K SP2. What happend later was another thing. Clicking the uninstall in Add/Remove raised an error... and the uninstall files we're not present on windows directory, and still I can launch PowerShell. So, I wonder.. how can I uninstall it now *officialy*? SP2 needs to be deployed to that server.. don't know how much time can I wait. Anyway, I was thinking to copy the '$NtUninstallKB926139$' directory from another server and execute it on the other. Not sure I want to do that ![]() ----- Shay Levi $cript Fanatic http://scriptolog.blogspot.com
| ||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||
| | #4 (permalink) | ||||||||||||||||||||||||||||||||||||
| Guest | Re: PowerShell Uninstall Error Sorry, I misunderstood your post. I missed that you had uninstalled PowerShell prior to SP2. So now you have an SP1 server with PowerShell installed. When you went to Add/Remove, Windows said it wasn't installed but it really is? I might try reinstalling PowerShell and then trying to uninstall it. Then you should be able to install SP2. -- Jeffery Hicks MCSE, MCSA, MCT Microsoft PowerShell MVP http://www.scriptinganswers.com http://www.powershellcommunity.org http://jdhitsolutions.blogspot.com Now Available: WSH and VBScript Core: TFM Now Available: Windows PowerShell v1.0: TFM 2nd Ed. "Shay Levi" <no@xxxxxx> wrote in message news:8766a9441c42b8ca30bdf0eca4ee@xxxxxx
| ||||||||||||||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||||||||||||||
| | #5 (permalink) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Guest | Re: PowerShell Uninstall Error On Jan 29, 6:08*pm, "Jeffery Hicks [MVP]" <jhi...@xxxxxx> wrote:
answer to your problem, as Jeffery said. But be aware of the following: You cannot install Windows PowerShell 1.0 if it is already installed. To determine whether Windows PowerShell 1.0 is installed, locate the Install registry entry in the following registry path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Powershell\1\Install If the value of the Install entry is 1, Windows PowerShell 1.0 is installed. If the Install entry is not present, Windows PowerShell 1.0 is not installed. So, maybe it's needed to modify registry entry before reinstallation. -aleksandar http://powershellers.blogspot.com | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| | #6 (permalink) | ||||||||||||||||||||||||||||||||||||
| Guest | Re: PowerShell Uninstall Error Thank you Jefferey and Alexendair, I'll give it a try. ----- Shay Levi $cript Fanatic http://scriptolog.blogspot.com
| ||||||||||||||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||||||||||||||
| | #7 (permalink) | ||||||||||||||||||||||||||||||||||||
| Guest | Re: PowerShell Uninstall Error Here's what I did: 1. Run powershell setup. 2. PowerShell cannot be installed, plz remove old version. 3. deleted powershell's registry keys and run setup again. 4. Setup runs and installs powershell. 5. Removing powershell from Add/remove, I get the same error: Uninstaller Error An error occurred while trying to remove Hotfix for Windows Server 2003 (KB926139). It may have already been uninstalled. Would you like to remove Hotfix for Windows Server 2003 (KB926139) from the Add or Remove programs list? Now '$NtUninstallKB926139$' do exist in windows directory but it contains two files only: 1. PSCustomSetupUtil.exe 2. PSSetupNativeUtils.exe ----- Shay Levi $cript Fanatic http://scriptolog.blogspot.com
| ||||||||||||||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||||||||||||||