Windows 10: Windows Update Problem / Errors with Powershell

Discus and support Windows Update Problem / Errors with Powershell in Windows 10 Gaming to solve the problem; I was trying to fix the downloader with code someone posted on another QnA and it did this and now I'm worried my pc completely broken. Any help would... Discussion in 'Windows 10 Gaming' started by Treymon .J, May 8, 2024.

  1. Windows Update Problem / Errors with Powershell


    I was trying to fix the downloader with code someone posted on another QnA and it did this and now I'm worried my pc completely broken. Any help would be a life saver! https://answers.microsoft.com/en-us/windows/forum/all/security-intelligence-update-for-microsoft/fee1c982-1108-435c-bb2f-9fcf1633cf1c

    :)
     
    Treymon .J, May 8, 2024
    #1
  2. Kursah Win User

    PowerShell instead of Commandline in Creators Update

    Interestingly enough my personal laptop just got the update...and still has Command Prompt listed, not PowerShell...

    Edit: Not that it matters...I use both regularly. *Toast :toast:
     
    Kursah, May 8, 2024
    #2
  3. [Windows 10] hide/prohibit install of specific Windows Update

    Edit: Try "Show or hide updates" troubleshooter package first and let us know if it works for you.


    Adapted from Preventing a certain Windows Update from installing on Windows 10 by Igal Tabachnik.
    • Uninstall the problematical driver/update.
    • Restart the computer, if necessary, and/or switch to an administrator account.
    • Download Windows Update PowerShell Module and extract it to: %WINDIR%\System32\WindowsPowerShell\v1.0\Modules After doing so, you will have a %WINDIR%\System32\WindowsPowerShell\v1.0\Modules\PSWindowsUpdate folder with a bunch of files.
    • Start -> All Apps -> expand Windows PowerShell -> right-click on Windows PowerShell and select Run as Administrator. This is very important or you'll get errors in Windows PowerShell.
    • Now you should see the PowerShell window and you'll have to enter a series of commands. First order of business is loading up PSWindowsUpdate. Note: You have to do this every time you restart PowerShell and want to use PSWindowsUpdate commands!
      CommandDescriptionSet-ExecutionPolicy Unrestricted -ForceAllows the use of unsigned PowerShell scripts.Import-Module PSWindowsUpdateLoads PSWindowsUpdateSet-ExecutionPolicy Restricted -ForceClose the potential security hole.
    • Enter Get-WUList. This command will take a little while to execute. It retrieves the list of all available updates on Windows Update. If you do not see the problematical update here, it is either no longer being offered or it is installed.
    • Now you need to decide how to filter what update you want to hide. Here's some examples:
      CommandDescriptionHide-WUUpdate -Title "*Realtek High Definition Audio"This looks for a title that ends with (note the asterisk) "Realtek High Definition Audio"Hide-WUUpdate -Title "Realtek*"This looks for a title that starts with (note the asterisk) "Realtek"
      When you enter the above command, it will loop through all results it finds and ask whether or not you want to hide it. Make sure you only say "yes" to the one you want hidden and "no" to the rest.
    • It will automatically show the updated results. Verify there is an "H" under the status of the ones you want hidden and not behind the rest. If it is correct, close out of PowerShell and return to your normal user account if necessary. Run Windows Update and the update should not show/install.
    If you want to unhide an update, add -HideStatus:$false to the Hide-WUUpdate command.
     
    FordGT90Concept, May 8, 2024
    #3
  4. Windows Update Problem / Errors with Powershell

    How to fix Powershell with error 80070002

    Hi Caleb Cleavinger,

    Welcome to Microsoft Community

    The error you're experiencing with PowerShell, Visual Studio 2022, and JetBrains IDE terminals seems to be related to an issue with the loading of managed Windows PowerShell, indicated by the error message "Internal Windows PowerShell error. Loading managed Windows PowerShell failed with error 80070002".

    Error 80070002 generally points to a missing file or a file not found error, which could be a result of the LockDown Browser installation altering or interfering with certain system files. Here are a few steps you could take to troubleshoot and potentially resolve the issue:

    1. System File Checker (SFC): Run the System File Checker to repair missing or corrupted system files. Open Command Prompt as an administrator and run the command sfc /scannow. This process will scan for and attempt to fix any corrupted files.
    2. DISM Tool: Deployment Image Servicing and Management (DISM) is another tool you can use to fix Windows corruption errors. Run DISM /Online /Cleanup-Image /RestoreHealth in an elevated Command Prompt.
    3. Reinstall PowerShell: If PowerShell itself is corrupted, consider reinstalling it. You can download the latest version of PowerShell from the official Microsoft website.
    4. Check for Windows Updates: Ensure that your Windows is up to date, as some updates might contain fixes for your issue.
    5. Create a New User Account: Sometimes, creating a new user account can resolve such issues, as it creates a fresh user profile with default settings.
    6. Registry Check: Be cautious with this step. Check the registry for any paths related to PowerShell and ensure they are correctly set. If you're not comfortable with this, it might be better to seek professional help.
    7. Backup and Reinstall Windows: As a last resort, backing up your important files and performing a clean installation of Windows might be necessary. This will remove any residual files or settings left by the LockDown Browser.
    8. Professional Assistance: If you're not comfortable performing these steps, it might be best to seek professional IT assistance.

    *To check the Windows Registry for potential issues related to PowerShell, you can follow these detailed steps. Please be aware that editing the registry can have significant impacts on your system if done incorrectly, so proceed with caution and consider backing up the registry before making any changes.

    Steps to Check the Registry for PowerShell Issues:

    1. Open Registry Editor:
      • Press Win + R to open the Run dialog.
      • Type regedit and press Enter. This opens the Registry Editor.
    2. Backup the Registry:
      • In the Registry Editor, click on File and then Export.
      • Choose a location to save the backup, ensure 'All' is selected under 'Export range', and save the file.
    3. Navigate to PowerShell Registry Keys:
      • PowerShell settings can be found under different keys depending on what exactly you're looking for. Common locations include:
        • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell
        • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1
        • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\3
      • Expand these keys and look for any subkeys or values that seem out of place or corrupted.
    4. Look for Inconsistencies:
      • Check for any paths that are incorrect or point to locations that don’t exist.
      • Look for any values that seem out of place. Be cautious not to change anything unless you're sure it's related to your issue.
    5. Consult Online Resources:
      • If you find something suspicious, search online to see if it's related to your problem. Microsoft documentation or forums might have specific instructions.
    6. Restoring Defaults (if necessary):
      • If you find a key or value that is clearly related to your issue and know what the default should be, you can modify it. Be extremely cautious with this step.
    7. Restart Your Computer:
      • After making changes, restart your computer to see if the issue is resolved.
    Disclaimer: Generally, modifying registry subkeys or work group is intended for advanced users, administrators, and IT Professionals. It can help fix some problems, however, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For further protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click How to back up and restore the registry in Windows - Microsoft Support to view the article.

    Thank you for your patience and understanding! If you have any questions, feel free to leave us a message.

    Sincerely

    Manson | Microsoft Support Specialist
     
    Manson - MSFT, May 8, 2024
    #4
Thema:

Windows Update Problem / Errors with Powershell

Loading...
  1. Windows Update Problem / Errors with Powershell - Similar Threads - Update Problem Errors

  2. Trying to update powershell, error only

    in Windows 10 Gaming
    Trying to update powershell, error only: trying to solve this issue I'll post the error in ps not sure what it means. Turning here for answers. Thank you.Set-Location : A positional parameter cannot be found that accepts argument 'Defender'. At line:1 char:1 + cd %ProgramFiles%\Windows Defender +...
  3. Windows Update Problem / Errors with Powershell

    in Windows 10 Software and Apps
    Windows Update Problem / Errors with Powershell: I was trying to fix the downloader with code someone posted on another QnA and it did this and now I'm worried my pc completely broken. Any help would be a life saver!...
  4. Windows Powershell error

    in Windows 10 Gaming
    Windows Powershell error: When using Adobe I keep getting bad image errors or a powershell msg. I just started getting these errors in January or february after one of the system updates. Any fix?...
  5. Windows Powershell error

    in Windows 10 Software and Apps
    Windows Powershell error: When using Adobe I keep getting bad image errors or a powershell msg. I just started getting these errors in January or february after one of the system updates. Any fix?...
  6. Windows Powershell error

    in Windows 10 Installation and Upgrade
    Windows Powershell error: When using Adobe I keep getting bad image errors or a powershell msg. I just started getting these errors in January or february after one of the system updates. Any fix?...
  7. PowerShell problems

    in Windows 10 Customization
    PowerShell problems: After a update for windows 10, I now get on startup a screen blue with a flashing curser it's PowerShell how do I get rid of it? https://answers.microsoft.com/en-us/windows/forum/all/powershell-problems/d09cb9eb-d759-483f-8ace-c1a9b5b9397a
  8. Windows 10 Powershell problem

    in Windows 10 Ask Insider
    Windows 10 Powershell problem: [ATTACH] I can't run Powershell even after I changed the settings in the group policy. This pops up every time when I try to open Powershell I don't know if the problem is related to installing Python 3 on Windows 10. submitted by /u/PowerfulAddendum9581 [link]...
  9. windows powershell error

    in Windows 10 BSOD Crashes and Debugging
    windows powershell error: When I first installed windows PowerShell it did not work. It said [error 0*800711c7 when launching 'PowerShell.exe'].It continues to do this and it won't even let me type when command prompt is open....
  10. Windows PowerShell errors?

    in Windows 10 Installation and Upgrade
    Windows PowerShell errors?: Hi, My computer decided to shut itself off without warning last night, and checking the Event Logs I had Kernel Tracing errors several times a day that I wasn't aware of. Reading revealed that these were likely caused by One Drive, which I never used and promptly disabled....