Solved

Error when installing PowerShell 2.0

Posted on 2010-09-22
9
3,050 Views
Last Modified: 2016-01-13
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
Comment
Question by:msartoris
  • 4
  • 4
9 Comments
 
LVL 9

Expert Comment

by:x3man
ID: 33737034
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
 

Author Comment

by:msartoris
ID: 33742197
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
 
LVL 9

Expert Comment

by:x3man
ID: 33742259
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
 

Author Comment

by:msartoris
ID: 33745377
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 9

Expert Comment

by:x3man
ID: 33752003
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
 

Author Comment

by:msartoris
ID: 33780774
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
 
LVL 9

Accepted Solution

by:
x3man earned 500 total points
ID: 33852152
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
 

Author Comment

by:msartoris
ID: 33852519
"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
 

Expert Comment

by:tornadog
ID: 41409874
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
How to sign a powershell script so you can prevent tampering, and only allow users to run authorised Powershell scripts
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now