
The only thing that remains now is to do a clean install of Windows.ĭon't forget to rename the PowerShell folder in the 64-bit folder! I think that did the trick. Setup program still reports that PowerShell is installed. I still can't do repair install of Windows. shortcuts on Start menu don't work now and running powershell.exe directly from C:\Windows\System32\WindowsPowerShellOld\v1.0 shows a cmd like command prompt with black background and several red error lines that say "file not found".īut the main problem is still not solved. PowerShell is now "somewhat" disabled i.e. So the path is now C:\Windows\System32\WindowsPowerShellOld.
Renamed "WindowsPowerShell" to "WindowsPowerShellOld". But anyway! I was now the owner of the directory and I was able to rename it. I wasn't sure whether I should use the cacls or icacls command and I wasn't sure of the syntax (any input on that?). Successfully processed 0 files Failed processing 1 files No mapping between account names and security IDs was done.Ĭ:\Windows\system32>icacls %windir%\system32\windowspowershell /G administratorsĬ:\Windows\system32>icacls %windir%\system32\windowspowershell /grant administraĪdministrators: No mapping between account names and security IDs was done. SUCCESS: The file (or folder): "C:\Windows\system32\windowspowershell" now ownedĬ:\Windows\system32>cacls %windir%\system32\windowspowershell /G administrators: C:\Windows\system32>takeown /f %windir%\system32\windowspowershell Then I started elevated cmd prompt and I used it to take ownership of the PowerShell directory. Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1 Next, I tried changing the following registry key. Registry change, taking ownership and renaming of folder
Not all of the updates were successfully uninstalled."
"Please wait while the updates are being uninstalled. "Are you sure you want to uninstall this update?" Click Yes. Select "Windows Management Framework Core (KB968930)" from search results. Type in "KB968930" in the Search field. Click on "View installed updates" link on the left. But it's actually only accessible as an update from Installed Update window. I obviously tried uninstalling it from the Programs and Features window in Control Panel. The reason I need to remove it is because the Windows Vista setup program requires that I remove PowerShell before I can do a repair install of Windows.
It's actually named "Management Framework Core".
It's not listed as "PowerShell" in the Installed Updates window. It's actually hidden in the Installed Updates window. It doesn't show up in the Add/Remove program list (Programs and Features). It's start menu group is actually located under Accessories which is. There is no Uninstall option under Start/All Programs. Is it in any way possible to uninstall PowerShell from Windows Vista?