We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

How to clean up restore health as an administrator

2

Comments

  • peter021072
    peter021072 Posts: 470 Forumite
    Seventh Anniversary 100 Posts Photogenic Name Dropper
    vacheron said:
    What's the error?
    740. I need to somehow 'Run DISM and SFC to repair system files Open Command Prompt as Administrator and run: DISM /Online /Cleanup-Image /RestoreHealth SFC /SCANNOW'


    Please see my first reply above, this suggests you are not running CMD as an administrator.

    When you type CMD in the search bar, before hitting enter, you need to select "Run as admninstrator" from the option list to the right.


    Unfortunately, all I get is the black 'DOS type' screen when I type cmd in the search bar, nothing like the above.
  • peter021072
    peter021072 Posts: 470 Forumite
    Seventh Anniversary 100 Posts Photogenic Name Dropper
    Yes sorry I copied the wrong screen.  This is the administrator command prompt

    error 87

    I doubt if I can just add the DISM command it is expecting some other file directory.


  • vacheron
    vacheron Posts: 2,460 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Photogenic
    vacheron said:
    What's the error?
    740. I need to somehow 'Run DISM and SFC to repair system files Open Command Prompt as Administrator and run: DISM /Online /Cleanup-Image /RestoreHealth SFC /SCANNOW'


    Please see my first reply above, this suggests you are not running CMD as an administrator.

    When you type CMD in the search bar, before hitting enter, you need to select "Run as admninstrator" from the option list to the right.


    Unfortunately, all I get is the black 'DOS type' screen when I type cmd in the search bar, nothing like the above.
    don’t hit enter immediately after you’ve typed CMD just type CMD and wait a little.
    • The rich buy assets.
    • The poor only have expenses.
    • The middle class buy liabilities they think are assets.
  • debitcardmayhem
    debitcardmayhem Posts: 13,267 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    edited 18 November at 5:17PM
    Surely they are different commands first run
    SFC /SCANNOW

    THEN
     DISM etc afterwards
    4.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed dec 24 @ 5.74 tracker again+ Octopus Intelligent Flux leccy
  • peter021072
    peter021072 Posts: 470 Forumite
    Seventh Anniversary 100 Posts Photogenic Name Dropper
    Surely they are different commands first run
    SFC /SCANNOW

    THEN
     DISM etc afterwards
    If I type cmd in the search line then - without pressing return - there is a right hand list. I press Run as Administrator, then this black screen I've posted below comes up with c:windows/system32/system32  prompt (with the backwards slashes). 

    I can't do anything with that command except insert the clean up image statement in front of the line.  Then I get error 87.  Clearly that isn't the correct way of running the file and directory.  I just can't seem to manipulate it even if I knew what to type.

  • What do you mean, 'in front of the line,' you insert after the flashing cursor.
  • vacheron
    vacheron Posts: 2,460 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Photogenic
    edited 18 November at 7:03PM
    Surely they are different commands first run
    SFC /SCANNOW

    THEN
     DISM etc afterwards
    If I type cmd in the search line then - without pressing return - there is a right hand list. I press Run as Administrator, then this black screen I've posted below comes up with c:windows/system32/system32  prompt (with the backwards slashes). 

    I can't do anything with that command except insert the clean up image statement in front of the line.  Then I get error 87.  Clearly that isn't the correct way of running the file and directory.  I just can't seem to manipulate it even if I knew what to type.

    You are now in the administrator command line console which is good, but you are still typing the entire command into the line at once. 

    Please try entering it as two separate commands as I explained in my first reply back on page one. 👍
    • The rich buy assets.
    • The poor only have expenses.
    • The middle class buy liabilities they think are assets.
  • peter021072
    peter021072 Posts: 470 Forumite
    Seventh Anniversary 100 Posts Photogenic Name Dropper
    vacheron said:

    You are now in the administrator command line console which is good, but you are still typing the entire command into the line at once. 

    Please try entering it as two separate commands as I explained in my first reply back on page one. 👍
    That's precisely what I've been trying to do.  How?  The original command prompt C:windows...... is there whatever, you just can't get rid of it. It's not possible to backspace or carriage return as with a normal word processor or program. I have no control over the command line  except adding it on.
  • vacheron
    vacheron Posts: 2,460 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Photogenic
    edited 18 November at 7:45PM
    vacheron said:

    You are now in the administrator command line console which is good, but you are still typing the entire command into the line at once. 

    Please try entering it as two separate commands as I explained in my first reply back on page one. 👍
    That's precisely what I've been trying to do.  How?  The original command prompt C:windows...... is there whatever, you just can't get rid of it. It's not possible to backspace or carriage return as with a normal word processor or program. I have no control over the command line  except adding it on.
    It doesn't matter. As many have said, ignore everything listed before the ">" it is there by necessity and cannot be deleted, stop concerning yourself with it! :D 

    Enter this part ONLY after the prompt - DISM /Online /Cleanup-Image /RestoreHealth 

    So the command line will now look like this:

    C:\WINDOWS\system32> DISM /Online /Cleanup-Image /RestoreHealth

    Hit ENTER
    • The rich buy assets.
    • The poor only have expenses.
    • The middle class buy liabilities they think are assets.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 352.8K Banking & Borrowing
  • 253.8K Reduce Debt & Boost Income
  • 454.7K Spending & Discounts
  • 245.9K Work, Benefits & Business
  • 601.9K Mortgages, Homes & Bills
  • 177.8K Life & Family
  • 259.8K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.