Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

vbscript - stop windows update downloading process after it was triggered

$
0
0

If you look at this vbscript forSearching, Downloading, and Installing Updates (http://msdn.microsoft.com/en-us/library/windows/desktop/aa387102(v=vs.85).aspx) in one section of the code we have:

Set downloader = updateSession.CreateUpdateDownloader()
downloader.Updates = updatesToDownload
downloader.Download()


how can I stop download process programmatically in vbscript after I triggered it?

(exiting the code execution with WScript.Quit or terminating the WScript process doesn't stop windows from downloading the updates)


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>