K2000 Post Scripted Installation having Windows Update failures
We are fairly new to scripted installations on the K2000. We have started seeing issues with Windows 7 Ent. sp1 installs. The issue is when you run windows updates, it gets stuck in a loop of installing update. Example would be, we installed 92 updates and 3 will fail. No biggie but when you reboot the machine and before the login prompt, Windows update tries to finish but fails and causes the machine to fails back, undoing the updates . We have seen this action on three newely imaged boxes. We do not know what to do.
Answers (2)
not sure why this is occuring, but on the boxes you have casted to.
try deleting all files and sub dirs from C:\Windows\SoftwareDistribution\Download and reboot
if that does not work then try deleting datastore.edb from C:\Windows\SoftwareDistribution\DataStore and reboot
Comments:
-
Thanks for your help!! Before deleting can I ask why those specifically? - Tomsquatch 12 years ago
-
that is where windows downloads the files for updates to, if one of them gets corrupted during download the box thinks it has the update and keeps trying to reinstall the corrupted one and keeps rolling back when it bombs. deleting the files then causes the bits service to go to MS to download since it does not have the needed files. the datastore is where it keeps its pointers to the downloaded files and coordinates what is needed for that machine - SMal.tmcc 12 years ago
-
Okay thanks!! - Tomsquatch 12 years ago
This doesn't answer your question per se, but have a look at this K2000 postinstallation task as an alternative to using Windows Updates:
http://www.itninja.com/question/wsus-offline-as-postinstallation-task-xp-win7-w-progress-bar
I've been using this setup for ~9 months now and it has been working great. It saves on bandwidth (since the updates are cached on an internal machine) and wraps the (automated) update process into the scripted install. Just be aware that it only gets critical updates.
John
Comments:
-
I will check it out, thanks for sharing! - Tomsquatch 12 years ago