How to use PSwindowsupdate command to update Windows 10 forcefully

- Advertisment -
- Advertisement -

Are you facing a problem in updating Windows 10 via a graphical user interface? Yes, then try the command line force update method to download and install them.

As we know on Windows 10, we can opt for slow and fast rings build that let the Windows insiders get the latest updates even before they went to public. However, because of a few betas and frequently issuing of updates by Microsoft, sometimes users may face some problems in updating Windows 10 using the traditions method from the Check for Update Settings.

I am saying this because recently my Windows 10 PC got some updates and every time it asked me to restart the laptop to install updates but it couldn’t. Thus, in such case, we can use the Command line to force the Windows 10 system to download and install the latest updates manually using Powershell or Command Prompt. I recommend the Powershell.

Force Windows 10 to Update using PSwindowsupdate Command-line  

Tip: Before going further to follow the given steps I would like to recommend you: Go to your Windows 10 installation drive which is generally the C: drive, there click on the Windows folder and open the SoftwareDistribution inside that open Download and delete all files resides in it.

Delete SoftwareDistribution
Delete SoftwareDistribution


Windows 10 force update using PowerShell

  1. Power shell is the native and advanced command-line tool of Windows platform. Just right click on the Windows 10 start button and select Windows Powershell (Admin).

Run Windows 10 Powershell as admin
Run Windows 10 Powershell as admin

  1. In the Powershell first, to install the Windows Update Module, for that use the command:
     Install-Module PSWindowsUpdate

    The output for the above command:

    NuGet provider is required to continue
    PowerShellGet requires NuGet provider version 'x.x.x" or newe to interact with NuGet-based repositories. The NuGet provider must be available in "C:\Program files\PackageManagement\ProviderAssemblies' or C:'Users\Trm\AppData\localPackahemanagement\ProviderAssemblies'. You can also install the NuGet provider by running install-PackageProvider - Name BuGet -MinimumVersion x.x.x -force'. DO you want PowershellGet to install and import the NuGet provider now?
    [Y] Yes [N} No [S] Suspend [?] Help (default is "Y"): Y
    Trusted repository
    You install the modules from an untrusted repository. If you trust this repository, change its installation policy value by running the Set PSRespository cmdlet. Are you sure you want to install the modules from PSGalery'?
    [Y] Yes [A] Yess to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): Y

  1. Check the latest available updates for Windows 10 using the command:

    If you receive an error:

    PS C:\WINDOWS\system32> Get-WindowsUpdate
    Get-WindowsUpdate : The 'Get-WindowsUpdate' command was found in the module 'PSWindowsUpdate', but the module could
    not be loaded. For more information, run 'Import-Module PSWindowsUpdate'.
    At line:1 char:2
    + Get-WindowsUpdate
    + ~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (Get-WindowsUpdate:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

    Powershell Script running error
    Powershell Script running error


  1. To solve it, on Windows 10 search bar simply type Script and an option “Allow local PowerShell scripts to run without signing” will appear, click on the open. 

    Allow Powershell local script running without signing
    Allow Powershell local script running without signing

    This will drop you in the For Developers section of Windows 10. Select the PowerShell option Apply the following settings to execute PowerShell Scripts. “Change execution policy to allow local PowerShell scripts to run without signing. Require signing for remote scripts.“And click on the Apply button.

    allow local scripts on Powershell windows 10
    allow local scripts on Powershell windows 10

    Now close the PowerShell and run again as admin. After that use the command: Get-Windowsupdate

  1. Finally, type the Powershell script command to install windows updates and then reboot. It will allow the Windows to connect, downloading and installing of the updates-Install-WindowsUpdate
    The command will first ask your permission and perform the force update. Once it finishes, the PowerShell will prompt to reboot the Windows 10 system for proper installation of updates.

    Force Update Windows 10
    Force Update Windows 10 using the command line

Apart from the PowerShell method, one can also go for the Command Prompt, for that simply run it as Administrator on Windows 10.

To check and get the updates  – UsoClient StartDownload and to install the same the command will be UsoClient StartInstall.

A single command for all three tasks is UsoClient ScanInstallWait

Once done restart the device for implementing the updates – UsoClient RestartDevice

Other Articles:

Rajkumar Maurya
Rajkumar Maurya is the H2S Media tech expert. He’s always been passionate about technology and has been writing on the subject since 2014. He has extensive knowledge of all kinds of technology, from consumer-tech to enterprise solutions. You can contact the author at--


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Latest Posts

Most misunderstood, or interchangeably used tech terms of the era

We are advancing very fast in the world of Technology and we keep seeing new peripherals and gadgets every...

How to create a shortcut to turn off your computer or other power options

The traditional way of shutting down a Windows computer doesn't take a lot of time and we all are...

How to delete pages from a PDF file without any online tool for free

PDF files are quite common these days and it is compatible with almost all types of devices in today's...

Microsoft’s new Windows 10 Insider Preview with new icons

Microsoft has launched a new Windows 10 Insider Preview with build 19569.1000 for Fast ring users with new app...
- Advertisement -

What is Serverless Computing technology and its Benefits

Technology has brought a very drastic change in our lives today and it has influenced everything present in this...

6 Best disk space analyzer tools for Windows 10

List of best Storage or disk space usage analyzer software for Windows 10/7 to help in disk analyzation, so...

- Advertisment -
- Advertisement -

You might also likeRELATED
Recommended to you