[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3262
  • Last Modified:

Error when installing PowerShell 2.0

Hello everybody,

I am trying to install Powershell 2.0 on my Windows XP SP3 workstation, but I am getting the following error message:

"Setup cannot proceed. Windows Management Framework Core is already installed on your system."

I thought I had to unistall Powershell 1.0, but I cannot see it in the list of installed software.

Any ideas?

Thank you in advance

0
msartoris
Asked:
msartoris
  • 4
  • 4
1 Solution
 
x3manCommented:
To remove Powershell go to add/remove programs and tick show updates option. This should show powershell as being installed. You can then remove. If this doesn't work go to C:\Windows and look for \$NtUninstallKB926139$\spuninst\spuninst.exe. Run this and it should remove Powershell 1.0 (Also look for KB926140 and KB926141 (although these may be server 2003 specific?)
0
 
msartorisAuthor Commented:
The add/remove program list (with the show updates option checked) does not show a Powershell entry, nor can I find the files that you have mentioned, they have probably already being uninstalled.
0
 
x3manCommented:
Try installing Powershell 1.0 again. Here's a link to the download page :http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6ccb7e0d-8f1d-4b97-a397-47bcc8ba3806

Then try to uninstall using the above methods.
0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 
msartorisAuthor Commented:
I tried but without success. The error message I get when installing Powershell 1.0 is the following:

"Cannot install this version of the product. You must first remove anyearlier versions of Windows PowerShell 1.0 before you caninstall this version. Please click OK to close the setup wizard. Next open the Add/Remove Programs Control Panel, uninstall any versions of the Windows Powershell 1.0 and run the WIndows PowerShell 1.0 setup again."

Now, as I was telling you before, I don't have any Powershell entriy in the Add/Remove Programs item list.
0
 
x3manCommented:
Does this path exist?
C:\WINDOWS\$NtUninstallKB926139-v2$\spuninst\spuninst.exe
If so run spuninst.exe.

If this doesn't work try the following:
Delete powershell registry entry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell
(If you can't delete them change the Install value from 1 to 0.)
Delete the powershell directory.
Then try installing again.
0
 
msartorisAuthor Commented:
The path you mentioned does not exist. I did delete the registry key and I could install and uninstall powershell 1.0.
But then when I installed Powershell 2.0 I get the error message

"Setup cannot proceed. Windows Management Framework Core is already installed on your system"

 
0
 
x3manCommented:
Sounds like it is already installed.

Check that KB968930 Windows management Framework which includes Powershell 2 (see http://www.microsoft.com/downloads/en/details.aspx?FamilyId=60cb5b6c-6532-45e0-ab0f-a94ae9ababf5&displaylang=en) is not already installed.

Go to control panel/Add or Remove Programs and make sure Show Updates is checked. Look for "Windows management Framework Core". If it's there then you already have Powershell 2 installed.
0
 
msartorisAuthor Commented:
"Windows Management Framework Core" was there, but Powershell was not working. I uninstalled it and re-installed it again, and now Powershell is working.
0
 
tornadogCommented:
I found that the local Administrators group did not not have Full Control of the registry key HKLM\Software\Microsoft\Windows NT\CurrentVersion\Svchost .
This fixed my issue....hope this is help to you.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now