Solved

Error when installing PowerShell 2.0

Posted on 2010-09-22
9
3,082 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
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)

 
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)

Question has a verified solution.

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

Suggested Solutions

This script checks a path to see if a folder exists. If the folder does exist you will get output "The folder has previously been created. No action taken" If not it will create the folder. Then adds one user modify permission to the folder. It …
In this previous article (https://oddytee.wordpress.com/2016/05/05/provision-new-office-365-user-and-mailbox-from-exchange-hybrid-via-powershell/), we made basic license assignments to users in O365. When I say basic, the method is the simplest way …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 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

25 Experts available now in Live!

Get 1:1 Help Now