Did you know you can install updates with using PowerShell? This is the Guide for doing that!
Website guide: https://christitus.com/install-windows-update-powershell/ .
►► Digital Downloads ➜ https://www.cttstore.com
►► Patreon ➜ https://www.patreon.com/christitustech
►► Twitch ➜ https://www.twitch.tv/christitustech
►► Website and Guides ➜ https://christitus.com

Thanks for the video Chris. A couple minor items
1. Noobs will need to know to enable setting execution policy. This should be sufficient to get it going. Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
2. Your OUT-FILE code will not write the computer name and date as is, this should work better
Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -AutoReboot | Out-File "C:${env:COMPUTERNAME}_$(get-date -f yyyyMMdd)_MSUpdates.log"
3. Nit picking. One should not write log files to the root of the drive. Should probably make a folder in Documents or the Desktop and log it there. I like to put the date first that way it sorts by date.
I am sure you know what you are doing, not sure if anyone else dose, but it looks good.
Thank you! It would be ideal if you add the Set-ExecutionPolicy command to your instructions.
Oh.. So it's not any faster. ;( … bummer
It wouldn't work for me. maybe because I was using the new PowerShell 7(64). I'll try it with the older PowerShell.
thanks a lot, it works great. I have two questions. First: Do you know is there a way to get a status bar with % about the downloading and installing progress too?
second: Is updating like that via powershell also possible for microsoft store apps?
Great video and a great stuff you still the best
is it really need 128gb to update???
you may need to run
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
before
Install-Module PSWindowsupdate
For years and years I never seem to have what these clips tell me I should have. None of these commands work in my windows 10. Not one.
thank you for this, very informative and straight forward ðŸ‘👠… I have in my mind though if its feasible
there's an option in windows update settings that when I click the ""Pause updates for 7 days" option, right away the windows update is pause for 7 days. then you can adjust it up to 1 month i think in advanced options.. what I wanted is to automate the pausing every month, is there a powershell syntax or script that has equivalent results the way pausing in GUI? then when I have that script i can just trigger it using scheduller maybe
Hi Chris, Can you please make a video on a fix on windows 11 pswindowsupdate. Can't seem to get windows update working with power shell recently.
what camera is that ! its freaking epic!!!
I need help when install application s use power shell
the application install put whene need open they close
Who is having issues with code since the last 3 weeks
Hello, I tried getting full OS build number of my pc using below commands
$OSBuildNumber = (Get-Item "HKLM:SOFTWAREMicrosoftWindows NTCurrentVersion").GetValue('CurrentBuild')
$OSBuildNumber = (get-wmiobject -Class win32_OperatingSystem).BuildNumber
But I only get 19405 and not 19405.3570, please help me in getting full build number even after point (.)
Thanks in advance
hai pall im getting errors like this : The service cannot be started, either because it is disabled or because it has no enabled
devices associated with it
and this bull shart : Set-ExecutionPolicy : Windows PowerShell updated your execution policy successfully, but the setting is overridden by
a policy defined at a more specific scope. Due to the override, your shell will retain its current effective
execution policy of Unrestricted. Type "Get-ExecutionPolicy -List" to view your execution policy settings. For more
information please see "Get-Help Set-ExecutionPolicy
further more when i try and enable my windows update it just runs for a few sec and then it shoots itself in the balls and stops….. as u can see i need help i have been up all night trying to update my windows 10 1909 revision 418 to the revision 1350 one plz im begging u i need help !
Scope ExecutionPolicy
—– —————
MachinePolicy Unrestricted
UserPolicy Undefined
Process Undefined
CurrentUser Unrestricted
LocalMachine Unrestricted
idk fam i already did everything i could find on the matter do i just give up and buy a back up 6tb drive to delete windows and reinstall ?
why trying to install the update i keep getting the error admin rights required… even when running powershell as admin.
I keep getting "Failed" as the result for all updates, please what do I do?
3:09 What's the difference between "winget" and chocolatey?
Hey Chris! Any chance can you make a video on Installing Windows Update on Remote Computers with PowerShell!!!!!
Hey Chris, I love learning powershell to update multiple computers! You mentioned a gaming pc that you run headless and also referred to another of your videos to do this?
Please elaborate.
I followed the "Setting Up the Ultimate Windows 11" guide, built a custom installer via NTLite and applied the debloat GUI. Superb, thank you, low process count and a worthwhile speed increase over stock. If I update Windows through Powershell, or any other method for that matter, will I break the custom install in terms of bloat being added back or any of the strippage being put back?
Can you target offline system with this?
trien to apply what interests me..here thoughts,whats the real meaning that this perverse site has been
Do these commands only work in PowerShell 7.3.x or will they also work in native PowerShell 5.1?
Is there any cmdlet that downloads updates instead of doing direct installation, by informing build and architecture?
Thnks, man!
As a semi-power user, this is interesting. I'm late to the party in finding this. But here's a question:
If I just run those two commands (Get-WindowsUpdate/Install-WindowsUpdate), does that flag my computer get non-security beta updates? (I recalled MS doing something like this years ago on people who pressed the 'Check for update' button but don't know if they're still doing it today.)
Is it faster tho?cause sometimes windows update give me headache
Amazing video. I have a question… Recently i bought a larger 1TB nvme disk and did a clean install, only to find out i'm missing partitions that are hidden: :* FAT32 100MB (EFI System partition); :* Other 16MB (Reserved Partition); :* Recovery Partition 625MB (NTFS) I'm reading this info on a freshly correctly installed windows 11 os on my other 256GB nvme… Is there a way of recreating those partitions on my main nVME, and if you could do a video about this problem….
Do you happen to know it the KB4023057 update will restrict or block some of the update restrictions that you set in powershell or via your Utility script?
Your Debloat Windows tool broke my windwos updates. Thanks. Now i have to painstakingly reinstall windows.
am I the only one that things Chris looks like Jerry from Rick and Morty? 🤣
yoo this is amazing! It actually finds and installs optional updates (like drivers) as well! something that was missing since I installed your debloat script – I couldn't get optional updates anymore. No I finally can with this trick! Thanks!
i dont have the option called Get-widnowsupdate