25
8
After a fresh Windows install – XP or 7 – how can I "force" Windows updates?
I don't want to have "old" Windows updates after a week, so could it be done in "one step"? Are there any "magical" commands that force Windows to check for updates, and if there are any, install them?
This script exits with
<59, 3> <null>: 0x80240044
. Any idea why this fails? I've tried looking up the methods that this references, but I couldn't figure out what's happening. Can you point me in the right direction? – daviesgeek – 2014-06-22T00:34:41.413@daviesgeek: 0x80240044 is WU_E_PER_MACHINE_UPDATE_ACCESS_DENIED i.e., you need to be running the script with elevated permissions.
– Harry Johnston – 2014-06-22T00:46:42.973Ah...thank you. How would I elevate permissions from the command line? (sorry, I'm a Linux guru, not a Windows person...) – daviesgeek – 2014-06-22T21:34:16.630
1Vista/Win7: Open the Start Menu, type cmd and press control-shift-ENTER instead of just ENTER. On Windows 8 I think the Windows-X shortcut key brings up a menu that includes an administrative command line. Or on either system you can find cmd.exe via Explorer, right-click and select Run As Administrator. – Harry Johnston – 2014-06-23T00:04:12.180
I will try this one out! Meanwhile does anyone has any experience with this script? – LanceBaynes – 2011-10-30T09:59:31.917