Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - Can somebody help me uninstall powershell RC2?

Reply
 
Old 11-21-2006   #1 (permalink)
Gil Novak


 
 

Can somebody help me uninstall powershell RC2?


It's not appearing in my "add/remove programs" list.

I've done this:
Get-Process -Name powershell | Format-List -Property ProcessName,FileVersion
,StartTime,Id

ProcessName : powershell
FileVersion : 6.0.5429.0 (winmain(wmbla).060830-0116)
StartTime : 11/21/2006 7:30:52 PM
Id : 5392


The shortcut brings it up just fine:
%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe

Does any of this information either confirm which version (RC2 or 1.0, which
I'm 99.9% certain I hadn't installed yet) I have?

And can somebody tell me how to uninstall it even though it doesn't appear
in my "add/remove programs" list?

Thanks,
Gil Novak

My System SpecsSystem Spec
Old 11-21-2006   #2 (permalink)
dreeschkind


 
 

RE: Can somebody help me uninstall powershell RC2?

Be sure to have updates displayed in the add/remove programs dialog. There
must be a check box somewhere to do this.
Based on the Fileversion I think this is RC2 which is basically the same as
RTW 1.0 (which just comes with a different installer).

--
greetings
dreeschkind

"Gil Novak" wrote:

>
> It's not appearing in my "add/remove programs" list.
>
> I've done this:
> Get-Process -Name powershell | Format-List -Property ProcessName,FileVersion
> ,StartTime,Id
>
> ProcessName : powershell
> FileVersion : 6.0.5429.0 (winmain(wmbla).060830-0116)
> StartTime : 11/21/2006 7:30:52 PM
> Id : 5392
>
>
> The shortcut brings it up just fine:
> %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe
>
> Does any of this information either confirm which version (RC2 or 1.0, which
> I'm 99.9% certain I hadn't installed yet) I have?
>
> And can somebody tell me how to uninstall it even though it doesn't appear
> in my "add/remove programs" list?
>
> Thanks,
> Gil Novak

My System SpecsSystem Spec
Old 11-22-2006   #3 (permalink)
Gil Novak


 
 

RE: Can somebody help me uninstall powershell RC2?

I do have "Show updates" checked and it really isn't on my list. Is there no
command line equivalent way to uninstall? Or even some detailed steps on
what files to delete, and what registry entries to remove?

Thanks,
Gil

"dreeschkind" wrote:

> Be sure to have updates displayed in the add/remove programs dialog. There
> must be a check box somewhere to do this.
> Based on the Fileversion I think this is RC2 which is basically the same as
> RTW 1.0 (which just comes with a different installer).
>
> --
> greetings
> dreeschkind
>
> "Gil Novak" wrote:
>
> >
> > It's not appearing in my "add/remove programs" list.
> >
> > I've done this:
> > Get-Process -Name powershell | Format-List -Property ProcessName,FileVersion
> > ,StartTime,Id
> >
> > ProcessName : powershell
> > FileVersion : 6.0.5429.0 (winmain(wmbla).060830-0116)
> > StartTime : 11/21/2006 7:30:52 PM
> > Id : 5392
> >
> >
> > The shortcut brings it up just fine:
> > %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe
> >
> > Does any of this information either confirm which version (RC2 or 1.0, which
> > I'm 99.9% certain I hadn't installed yet) I have?
> >
> > And can somebody tell me how to uninstall it even though it doesn't appear
> > in my "add/remove programs" list?
> >
> > Thanks,
> > Gil Novak

My System SpecsSystem Spec
Old 11-22-2006   #4 (permalink)
dreeschkind


 
 

RE: Can somebody help me uninstall powershell RC2?

Check the result of this oneliner:

ls HKLM:/software/Microsoft/Windows/CurrentVersion/Uninstall |
%{gp $_.pspath} |
?{$_.DisplayName -match 'PowerShell'} |
select DisplayName, UninstallString

--
greetings
dreeschkind

"Gil Novak" wrote:

> I do have "Show updates" checked and it really isn't on my list. Is there no
> command line equivalent way to uninstall? Or even some detailed steps on
> what files to delete, and what registry entries to remove?
>
> Thanks,
> Gil
>
> "dreeschkind" wrote:
>
> > Be sure to have updates displayed in the add/remove programs dialog. There
> > must be a check box somewhere to do this.
> > Based on the Fileversion I think this is RC2 which is basically the same as
> > RTW 1.0 (which just comes with a different installer).
> >
> > --
> > greetings
> > dreeschkind
> >
> > "Gil Novak" wrote:
> >
> > >
> > > It's not appearing in my "add/remove programs" list.
> > >
> > > I've done this:
> > > Get-Process -Name powershell | Format-List -Property ProcessName,FileVersion
> > > ,StartTime,Id
> > >
> > > ProcessName : powershell
> > > FileVersion : 6.0.5429.0 (winmain(wmbla).060830-0116)
> > > StartTime : 11/21/2006 7:30:52 PM
> > > Id : 5392
> > >
> > >
> > > The shortcut brings it up just fine:
> > > %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe
> > >
> > > Does any of this information either confirm which version (RC2 or 1.0, which
> > > I'm 99.9% certain I hadn't installed yet) I have?
> > >
> > > And can somebody tell me how to uninstall it even though it doesn't appear
> > > in my "add/remove programs" list?
> > >
> > > Thanks,
> > > Gil Novak

My System SpecsSystem Spec
Old 11-22-2006   #5 (permalink)
dreeschkind


 
 

RE: Can somebody help me uninstall powershell RC2?

If it does not show up, then try my uninstall string:

DisplayName : Windows PowerShell(TM) 1.0
UninstallString : "C:\WINDOWS\$NtUninstallKB925228$\spuninst\spuninst.exe"

--
greetings
dreeschkind

"Gil Novak" wrote:

> I do have "Show updates" checked and it really isn't on my list. Is there no
> command line equivalent way to uninstall? Or even some detailed steps on
> what files to delete, and what registry entries to remove?
>
> Thanks,
> Gil
>
> "dreeschkind" wrote:
>
> > Be sure to have updates displayed in the add/remove programs dialog. There
> > must be a check box somewhere to do this.
> > Based on the Fileversion I think this is RC2 which is basically the same as
> > RTW 1.0 (which just comes with a different installer).
> >
> > --
> > greetings
> > dreeschkind
> >
> > "Gil Novak" wrote:
> >
> > >
> > > It's not appearing in my "add/remove programs" list.
> > >
> > > I've done this:
> > > Get-Process -Name powershell | Format-List -Property ProcessName,FileVersion
> > > ,StartTime,Id
> > >
> > > ProcessName : powershell
> > > FileVersion : 6.0.5429.0 (winmain(wmbla).060830-0116)
> > > StartTime : 11/21/2006 7:30:52 PM
> > > Id : 5392
> > >
> > >
> > > The shortcut brings it up just fine:
> > > %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe
> > >
> > > Does any of this information either confirm which version (RC2 or 1.0, which
> > > I'm 99.9% certain I hadn't installed yet) I have?
> > >
> > > And can somebody tell me how to uninstall it even though it doesn't appear
> > > in my "add/remove programs" list?
> > >
> > > Thanks,
> > > Gil Novak

My System SpecsSystem Spec
Old 11-22-2006   #6 (permalink)
Keith Hill [MVP]


 
 

Re: Can somebody help me uninstall powershell RC2?

"Gil Novak" <GilNovak@discussions.microsoft.com> wrote in message
news:CCFA791F-6B1F-4135-97B4-8D199A0DA733@microsoft.com...
>I do have "Show updates" checked and it really isn't on my list. Is there
>no
> command line equivalent way to uninstall? Or even some detailed steps on
> what files to delete, and what registry entries to remove?


This happened to me on one of my PCs. Here is what I did:

Delete the C:\Windows\System32\Windows PowerShell directory
Delete the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell

Now try to install it. BTW this is likely to leave older PoSH assemblies in
the GAC but that shouldn't cause any problems other than taking up some
extra disk space.

--
Keith


My System SpecsSystem Spec
Old 11-22-2006   #7 (permalink)
Keith Hill [MVP]


 
 

Re: Can somebody help me uninstall powershell RC2?


"Keith Hill [MVP]" <r_keith_hill@mailhot.moc.nospam> wrote in message
news:%23o27cjlDHHA.992@TK2MSFTNGP03.phx.gbl...
> "Gil Novak" <GilNovak@discussions.microsoft.com> wrote in message
> news:CCFA791F-6B1F-4135-97B4-8D199A0DA733@microsoft.com...
>>I do have "Show updates" checked and it really isn't on my list. Is there
>>no
>> command line equivalent way to uninstall? Or even some detailed steps on
>> what files to delete, and what registry entries to remove?

>
> This happened to me on one of my PCs. Here is what I did:
>
> Delete the C:\Windows\System32\Windows PowerShell directory
> Delete the following registry key:
>
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell
>
> Now try to install it. BTW this is likely to leave older PoSH assemblies
> in the GAC but that shouldn't cause any problems other than taking up some
> extra disk space.


You might want to try dreeschkind's suggestion first. In my case the
$NtUninstallKB925228$ dir in Windows no longer existed so I couldn't
uninstall it that way.

--
Keith


My System SpecsSystem Spec
Old 11-22-2006   #8 (permalink)
Gil Novak


 
 

RE: Can somebody help me uninstall powershell RC2?

Very nice! Thank you very much! That worked :-)

Happy Thanksgiving!

--Gil

"dreeschkind" wrote:

> Check the result of this oneliner:
>
> ls HKLM:/software/Microsoft/Windows/CurrentVersion/Uninstall |
> %{gp $_.pspath} |
> ?{$_.DisplayName -match 'PowerShell'} |
> select DisplayName, UninstallString
>
> --
> greetings
> dreeschkind
>
> "Gil Novak" wrote:
>
> > I do have "Show updates" checked and it really isn't on my list. Is there no
> > command line equivalent way to uninstall? Or even some detailed steps on
> > what files to delete, and what registry entries to remove?
> >
> > Thanks,
> > Gil
> >
> > "dreeschkind" wrote:
> >
> > > Be sure to have updates displayed in the add/remove programs dialog. There
> > > must be a check box somewhere to do this.
> > > Based on the Fileversion I think this is RC2 which is basically the same as
> > > RTW 1.0 (which just comes with a different installer).
> > >
> > > --
> > > greetings
> > > dreeschkind
> > >
> > > "Gil Novak" wrote:
> > >
> > > >
> > > > It's not appearing in my "add/remove programs" list.
> > > >
> > > > I've done this:
> > > > Get-Process -Name powershell | Format-List -Property ProcessName,FileVersion
> > > > ,StartTime,Id
> > > >
> > > > ProcessName : powershell
> > > > FileVersion : 6.0.5429.0 (winmain(wmbla).060830-0116)
> > > > StartTime : 11/21/2006 7:30:52 PM
> > > > Id : 5392
> > > >
> > > >
> > > > The shortcut brings it up just fine:
> > > > %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe
> > > >
> > > > Does any of this information either confirm which version (RC2 or 1.0, which
> > > > I'm 99.9% certain I hadn't installed yet) I have?
> > > >
> > > > And can somebody tell me how to uninstall it even though it doesn't appear
> > > > in my "add/remove programs" list?
> > > >
> > > > Thanks,
> > > > Gil Novak

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
uninstall powershell 1.0 PowerShell
Can't Uninstall Powershell!!! PowerShell
How to uninstall PowerShell 1.0 on Win XP? PowerShell
Cannot uninstall powershell Vista installation & setup
Uninstall Windows PowerShell RC 2 PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46