Sonic007 Posted July 17, 2020 Posted July 17, 2020 Hi, I'm trying to get Windows Updates done on my Win2016 server but it is just stuck on 0%. I've tried restarting the Windows Update service but it hasnt helped. Anyone know a fix? thanks all.
computer_expert Posted July 17, 2020 Posted July 17, 2020 Server 2016 updates are slow at the best of times. Use sconfig from the command prompt as I find it works better. Run Get-WindowsUpdateLog in powershell to see if that gives you any pointers in windowsupdate.log. Make sure you install any servicing stack updates first as these may be a mandatory prereq for the cumulative updates. 1
Sonic007 Posted July 17, 2020 Author Posted July 17, 2020 Is that 0% installing or 0% downloading? Downloading Updates 0%
RobD Posted July 17, 2020 Posted July 17, 2020 I hate windows 2016 and windows update. Try and download the latest patch and manually installing it, that seems to fix the windows update dlls etc. I also changed my GPOs to get 2016 servers patching from wsus.
TwistedHelixis Posted July 17, 2020 Posted July 17, 2020 I also changed my GPOs to get 2016 servers patching from wsus. I had to stop using WSUS and go direct
Steve21 Posted July 17, 2020 Posted July 17, 2020 Have you enabled the proxy for winhttp on the server? Don't forget in 2016+ it uses the system account for updates, so unless you have the server bypassing filters/proxy, or have added it via winhttp it will bounce on proxy server normally Steve 1
Sonic007 Posted July 17, 2020 Author Posted July 17, 2020 Have you enabled the proxy for winhttp on the server? Don't forget in 2016+ it uses the system account for updates, so unless you have the server bypassing filters/proxy, or have added it via winhttp it will bounce on proxy server normally Steve I have it in my Internet Settings. Do I need it in another accoount too? Sorry, Im a bit lost.
Steve21 Posted July 17, 2020 Posted July 17, 2020 I have it in my Internet Settings. Do I need it in another accoount too? Sorry, Im a bit lost. Yep, unless you have it bypassing it on filtering etc. It doesn't use your account even if you're logged in If you run netsh winhttp show proxy does it show there's any proxy set for the server? If not you can add it two ways, either importing IE settings, or if you're using chrome etc you can manually set it: netsh winhttp import proxy source=ie netsh winhttp set proxy proxy-server="10.10.100.10:8080" bypass-list="*.anythinghere.com" Then either reboot server, or just restart update service Restart-service wuauserv And it should start pulling things via proxy Steve 2
jthompson Posted July 17, 2020 Posted July 17, 2020 Had a similar issue recently, not with server 2016, but with Win10 clients not downloading feature upgrades from WSUS. I needed to do the thing where you add a mimetype entry for .esd files in IIS on the WSUS server.
Sonic007 Posted July 17, 2020 Author Posted July 17, 2020 Have you enabled the proxy for winhttp on the server? Don't forget in 2016+ it uses the system account for updates, so unless you have the server bypassing filters/proxy, or have added it via winhttp it will bounce on proxy server normally Steve This was the issue. Thankyou for your help and the info to add the proxy. It is now all working and updating. Many thanks to you.
Sonic007 Posted July 17, 2020 Author Posted July 17, 2020 Edugeek at it's best! Indeed. Im always learning and this really helped make my Friday end in a good way instead of going mad pulling my hair out. Great stuff!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now