Getting 'Invalid parameter' with DownloadUpdate.cmd

Getting 'Invalid parameter' with DownloadUpdate.cmd

Postby ttblum » 23.10.2017, 20:50

Hello,

I'm trying to download Updates as a Scheduled Task in Windows, but I'm getting:

Code: Select all
X:\Windows7-wsusoffline-temp\cmd>DownloadUpdates.cmd  w61-x64
Starting WSUS Offline Update download (v. 11.0.3) for w61-x64 ...

ERROR: Invalid parameter: w61-x64
Usage1: DownloadUpdates {o2k7 | o2k10 | o2k13} {enu | fra | esn | jpn | kor | rus | ptg | ptb | deu | nld | ita | chs | cht | plk | hun | csy | sve | trk | ell| ara | heb | dan | nor |fin} [/excludesp | /excludestatics] [/excludewinglb] [/includedotnet] [/seconly] [/includemsse] [/includewddefs] [/nocleanup] [/verify] [/skiptz] [/skipdownload] [/skipdynamic] [/proxy http://[username:password@]<server>:<port>] [/wsus http://<server>] [/wsusonly] [/wsusbyproxy] Usage2: DownloadUpdates {w60 | w60-x64 | w61 | w61-x64 | w62-x64 | w63 | w63-x64
 | w100 | w100-x64 | ofc | o2k16} {glb} [/excludesp | /excludestatics] [/exclude winglb] [/includedotnet] [/seconly] [/includemsse] [/includewddefs] [/nocleanup] [/verify] [/skiptz] [/skipdownload] [/skipdynamic] [/proxy http://[username:password@]<server>:<port>] [/wsus http://<server>] [/wsusonly] [/wsusbyproxy]


I've tried to run it from the command line, from a batch file with 'call', and I don't seem to have the right arguments no matter what I do.

Does anyone know what I'm doing wrong?
ttblum
 
Posts: 2
Joined: 23.10.2017, 20:29

Re: Getting 'Invalid parameter' with DownloadUpdate.cmd

Postby Dalai » 23.10.2017, 21:16

You are missing the second parameter. Try this:
Code: Select all
DownloadUpdates.cmd w61-x64 glb
And maybe add some more switches like /includedotnet or /seconly.

Regards
Dalai
Dalai
 
Posts: 383
Joined: 12.07.2016, 21:00

Re: Getting 'Invalid parameter' with DownloadUpdate.cmd

Postby ttblum » 23.10.2017, 21:44

Thanks
ttblum
 
Posts: 2
Joined: 23.10.2017, 20:29


Return to Download

Who is online

Users browsing this forum: Bing [Bot] and 2 guests