Solved

Error when installing PowerShell 2.0

Posted on 2010-09-22
9
3,132 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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

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
 
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

733 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