Author Topic: Trouble with Powershell [SOLVED]  (Read 11673 times)

0 Members and 1 Guest are viewing this topic.

Offline Egrupov

  • Newbie
  • *
  • Join Date: Apr 2013
  • Posts: 14
  • Karma: 0
    • View Profile
Trouble with Powershell [SOLVED]
« on: January 16, 2016, 12:26:48 am »
I get this message in powershell in Windows 10!What can I do :sad:?

Repair-WindowsImage : The restore operation failed. Either the repair source was not found or the component store
cannot be repaired.
At line:1 char:1
+ Repair-WindowsImage -Online -RestoreHealth
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Repair-WindowsImage], COMException
    + FullyQualifiedErrorId : Microsoft.Dism.Commands.RepairWindowsImageCommand

« Last Edit: January 19, 2016, 02:25:19 am by Boggin »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Trouble with Powershell
« Reply #1 on: January 17, 2016, 04:06:49 pm »
Open a Command Prompt (Admin) and enter dism /online /cleanup-image /checkhealth

This cmd will tell you if the system is repairable.

If it says it is then follow that with dism /online /cleanup-image /startcomponentcleanup and then try dism /online /cleanup-image /restorehealth

Otherwise you are looking at a Refresh or Reset. http://www.howtogeek.com/132428/everything-you-need-to-know-about-refreshing-and-resetting-your-windows-8-pc/

Offline Egrupov

  • Newbie
  • *
  • Join Date: Apr 2013
  • Posts: 14
  • Karma: 0
    • View Profile
Re: Trouble with Powershell
« Reply #2 on: January 19, 2016, 01:16:35 am »
Thanks Boggin!I did refresh install and after that no problems :smiley:!

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Trouble with Powershell
« Reply #3 on: January 19, 2016, 02:21:22 am »
I think that's probably the easiest way for Win 10 :) - but glad you got it sorted.

I'll add Solved to your thread title.
« Last Edit: January 19, 2016, 02:24:50 am by Boggin »