windows powershell is not working

Anonymous
2021-09-27T04:19:00+00:00

When I open windows powershell it shows this error as shown below. I guess I have deleted some files.

Windows for home | Windows 10 | Settings

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2021-09-27T04:52:35+00:00

    Hi Kunal_123 -

    I'm Jerico T., I understand that you're having some issues right now and I'd be more than happy to help you today.

    Have you made any recent changes on your computer prior to the issue? Please try to run SFC scan.

    Perform SFC Scan and Repair Windows Image

    -This process will perform scan for any corrupted system files or integrity violation and will attempt to repair it along with the Windows Image.

    1. Open command prompt with administrator access
    2. Type each command below and wait until scan is completed.

    sfc /scannow

    DISM /Online /Cleanup-Image /CheckHealth

    DISM /Online /Cleanup-Image /ScanHealth

    DISM /Online /Cleanup-Image /RestoreHealth

    Quick note: While the command is running, it's expected to see the process stuck at 20 or 40 percent. After a few minutes, the process will complete successfully.

    Once you complete the steps, the Deployment Image Servicing and Management tool will connect to the Windows Update servers to download and replace any damaged files in the local image for Windows 10 as necessary.

    1. Close the command prompt.

    Feel free to reach back if you need any further assistance.

    Hope this help. Have a good day.

    Thank you,

    Jerico T.

    0 comments No comments
  2. Anonymous
    2021-09-28T09:14:58+00:00

    Hi Kunal_123 -

    I'm Jerico T., I understand that you're having some issues right now and I'd be more than happy to help you today.

    Have you made any recent changes on your computer prior to the issue? Please try to run SFC scan.

    Perform SFC Scan and Repair Windows Image
    -This process will perform scan for any corrupted system files or integrity violation and will attempt to repair it along with the Windows Image.

    1. Open command prompt with administrator access
    2. Type each command below and wait until scan is completed.

    sfc /scannow
    DISM /Online /Cleanup-Image /CheckHealth
    DISM /Online /Cleanup-Image /ScanHealth
    DISM /Online /Cleanup-Image /RestoreHealth

    Quick note: While the command is running, it's expected to see the process stuck at 20 or 40 percent. After a few minutes, the process will complete successfully.

    Once you complete the steps, the Deployment Image Servicing and Management tool will connect to the Windows Update servers to download and replace any damaged files in the local image for Windows 10 as necessary.

    1. Close the command prompt.

    Feel free to reach back if you need any further assistance.

    Hope this help. Have a good day.

    Thank you,
    Jerico T.

    I tried all the above steps but still getting the same error. Can you suggest another way.

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2021-09-28T09:31:06+00:00

    Hi Kunal_123 -

    Thank you for your response. I see, please try to perform the methods below.

    Method 1: Check for Windows Update

    1. Open settings by pressing windows key + I
    2. Select Update and security
    3. It will automatically check for available updates, if not, click the Check for updates button
    4. Download and install available updates, restart your computer if necessary and check if the issue still persist.

    Method 2: In-Place Repair

    • In-place repair/upgrade or repair reinstall is a process of re-installing Windows without touching any of your applications or personal files. In this way if there's any data corruption, damaged system files or missing system files on your computer, this repair will fix or repair them.

    To start we need to download an ISO file of Windows 10 and save it to your computer. Please follow the instruction on the link below to create an ISO file

    https://support.microsoft.com/en-us/help/402819...

    After the ISO is created, follow the instructions (video tutorial) on the link below created by PaulSey, Microsoft Agent, on how to perform repair install on your computer.

    https://answers.microsoft.com/en-us/windows/for...

    This process will take some time to complete so you need to be very patient in waiting until the process completes. Once done , restart your computer and check if the issue is resolved.

    Please keep me posted for the result.

    Regards,

    Jerico T.

    0 comments No comments