Thought I would share a quick toolbox.
This is for if you have a WSUS server installed and your clients get updates from it. Sometimes you just need to get updates directly from Microsoft. To do that you need to tell your client not to check your WSUS server.
This disables the registry key of the WSUS location on the client, effectively forcing it to check Microsoft for updates. Has been super useful for me, hope it helps others.
Disable the registry key and restart wuauserv service.
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v UseWUServer /t REG_DWORD /d 0 /f
net stop wuauserv
net start wuauserv
Enables the registry key and restart wuauserv service.
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v UseWUServer /t REG_DWORD /d 1 /f
net stop wuauserv
net start wuauserv