Solved

Error when installing PowerShell 2.0

Posted on 2010-09-22
9
3,097 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
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

This article will help you understand what HashTables are and how to use them in PowerShell.
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
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…

770 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