Juan Jose Pablos schrieb: > Johannes Singer escribió: >> I created a ticket (#35 >> <https://sourceforge.net/apps/trac/unattended/ticket/35>) for >> wuinstall.bat and the required changes to todo.pl, and I also added >> the wiki page, with a warning that it only works with the patched >> todo.pl, of course. >> Is there anything else I can do? > no, Brilliant. i feel that I need to get out a 4.9 and use this and > the new way of format the disk on the repository version. > WDYT? Please test this extensively before rolling this out in a stable version, as sometimes, when WSUS is not reachable, or some settings are wrong on the computer or group policy, it can run into an endless loop of retrying to connect to an update server, failing and then restarting itself. This is, kind of, by design.
The problem is, sometimes all it needs is a "gpupdate" to fetch the correct settings from the AD, but the (currently commented out) ".expect-reboot gpupdate /boot" does not reboot if nothing has changed and just exits, and then the computer sits there, logged on, waiting for a reboot that will never come. Is there a way to force a reboot, but only if the called command does not do it itself? When using a group policy with WSUS configuration, you actually only need to update the group policy only once, if at all, so I have a seperate entry for gpupdate, and do not need to call it before every wuinstall call. This I had to do after the call to "auconfig.pl" in base.bat, as this overwrites group policy settings required for using a WSUS, I think. The WSUS Client Diagnostics Tool is very useful in finding problems. http://technet.microsoft.com/en-us/wsus/bb466192.aspx One more thing, do not call wuinstall.bat before the "todo.pl %%WINVER%%-updates.bat", this breaks some of those updates when it tries to install them again. On the other side, if the wuinstall is working reliably, we do not need this anymore. At least as long as the wuinstall program is freely available. I tested this script without the scripted updates, and it seems to work without problems. Regards, Johannes ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ unattended-devel mailing list unattended-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-devel