Page 1 of 2
how schedule wsus in windows to run?

Posted:
14.04.2016, 20:30
by hadisafiaghdam
hello
i want to schedule wsus with "windows scheduler" to run in Special hour.
i said to windows scheduler to run "...\cmd\DownloadUpdates.cmd" file.
but after run, immediatly close.
what i do?
thanks
Re: how schedule wsus in windows to run?

Posted:
14.04.2016, 21:34
by aker
You have to specify arguments for the script.
viewtopic.php?f=7&t=120But I'll suggest you to use wsusou's collection-script option in UpdateGenerator.
Re: how schedule wsus in windows to run?

Posted:
14.04.2016, 21:38
by hadisafiaghdam
aker wrote:You have to specify arguments for the script.
viewtopic.php?f=7&t=120But I'll suggest you to use wsusou's collection-script option in UpdateGenerator.
very thanks
Re: how schedule wsus in windows to run?

Posted:
26.04.2016, 08:50
by pseiko000
Hallo, ich hätte dazu auch noch eine Frage.
Ich hab die Checkbox aktiviert das mir ein Skript erstellt wird. Das Skript, wenn ich einen Task anlege, läuft je nach eingestelltem Intervall und aktualisiert die angegebenen Produkte (zwar noch nicht getestet, aber ich denke es wird so sein). Wie sieht es aber mit dem WSUSOU ansich aus? Der wird mittels Skript vermutlich nicht aktualisiert. Lässt sich das irgendwie in dem Skript mitverpacken?
mfg psy
Re: how schedule wsus in windows to run?

Posted:
26.04.2016, 15:31
by aker
Das ist ansich eine gute Anregung, man muss dann nur beim Error-Handling aufpassen, dass ein Update keine Parameter verändert. Bsp. wsusou 9.3 entfernte den Support für Windows XP, ein Download für XP würde mit der neuen Version fehlschlagen. Somit müsste das Skript sich selbst anpassen, und das ist schwierig...
Mal abwarten, was WSUSUpdateAdmin dazu sagt.
Viele Grüße
Re: how schedule wsus in windows to run?

Posted:
04.05.2016, 09:45
by pseiko000
Danke für die Info. Ich dachte es wäre bereits möglich. Das sich WSUSOU ändert, wie du schreibst der Support von XP entfällt, und sich das Skript nicht automatisch abändert, an das habe ich gar nicht gedacht. Wenn ich den Gedankengang mal weitergehen müsst es dann so sein das zB die Checkbox fürs Skript erstellen immer aktiv ist, WSUSOU erkennt das, prüft ggf ob ein Scheduled Task im Windows hinterlegt ist, prüft den Inhalt des Skripts von dem Tasks und modifiziert das Skript. Natürlich, ein batzen Aufwand, aber vielleicht sogar denkbar möglich. Dann warten wir mal ab ob soetwas kommen wird.
mfg psy
Re: how schedule wsus in windows to run?

Posted:
04.05.2016, 17:02
by aker
Was ich für sinnvoll hielte, wäre ein UpdateGenerator-PArameter, der post-upgrade angegeben werden kann, welcher dann das Sammelkript (sofern selektiert) neu erstellt.
wsusou kann nicht alle scheduled Tasks durchiterieren (und ohne Admin-REchte auch gar nicht modifizieren). DAher mein Vorschlag mit dem Parameter für den UpdateGenerator.
Viele Grüße
Re: how schedule wsus in windows to run?

Posted:
05.05.2016, 12:11
by hadisafiaghdam

please write in english.
Re: how schedule wsus in windows to run?

Posted:
05.05.2016, 21:54
by aker
Short version of the previous posts:
pseiko000 asked, if it would be useful to add a self-update mechanism to the RunAll.cmd-script. I think, that it might cause problems, if the syntax of DownloadUpdates.cmd/CreateISOImage.cmd/CopyToTarget.cmd changes. So I suggested to implement a kind of enforced post-update regeneration of the RunAll.cmd using UpdateGenerator.
Re: how schedule wsus in windows to run?

Posted:
05.05.2016, 22:02
by hadisafiaghdam
aker wrote:Short version of the previous posts:
pseiko000 asked, if it would be useful to add a self-update mechanism to the RunAll.cmd-script. I think, that it might cause problems, if the syntax of DownloadUpdates.cmd/CreateISOImage.cmd/CopyToTarget.cmd changes. So I suggested to implement a kind of enforced post-update regeneration of the RunAll.cmd using UpdateGenerator.
very thanks.
when i post, i get error:
and:
country: KZ
but i am in iran.
i used vpn to post in this forum.
