• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Windows update script

tshontikidis

Limp Gawd
Joined
Dec 6, 2004
Messages
168
So this is a huge long shot. Our company rents out laptops and desktops for different events and shows for internet caffes and presentation and there are alot of them. Then when they come back to the warehouse me and another guy have to hit as many as we can before they go back out to run windows update, norton update, norton scan and maybe a spyware scan. The problem is that takes awhile, and most of the time we dont have that much time. So here is the question....

Is it possible to write a script that will run windows update, reboot, nortons update, reboot, run norton scan, reboot. I am pretty sure the answer is no, but i have never really written a script so I thought i would throw it out there. Also if no, if any one has any suggestions on to go about a large process like that on to alot of computer suggestions are welcomed.

thank you
 
I don't know much about scripting either but wouldn't it be easier to create an image of each one and just restore that when you get them back?
 
beanman101283 said:
I don't know much about scripting either but wouldn't it be easier to create an image of each one and just restore that when you get them back?

Was thinking the same thing. Just image one of the laptops ghost it then send it to all the rest. would make your life a lot easier.
 
beanman101283 said:
I don't know much about scripting either but wouldn't it be easier to create an image of each one and just restore that when you get them back?
This is far and away the best solution. Update once, push to all the PCs, done and done.
 
if you don't want to go the ghost route, i would:

1. make sure they are all pcs are set to auto install updates
2. setup a WUS server to serve updates to your network, so you just have to bring them into your environment once.
3. use a script like this:
@echo off
Echo This batch file will Force the Update Detection from the AU client by:
Echo 1. Stops the wuauserv service
Echo 2. Deletes the LastWaitTimeout registry key (if it exists)
Echo 3. Deletes the DetectionStartTime registry key (if it exists)
Echo 4. Deletes the NextDetectionTime registry key (if it exists)
Echo 5. Restart the wuauserv service

Pause
@echo on
net stop wuauserv
REG DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v LastWaitTimeout /f
REG DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v DetectionStartTime /f
Reg Delete "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v NextDetectionTime /f
net start wuauserv

@echo off
Echo This AU client will now check for the Updates on the Local SUS Server.
Echo After 10-20 mts, Have a look at C:\Window\Windows update.log
Echo For any errors, feel free to post on the forum.
pause

i don't remember where i found this, but it is saved as AUForceUpdate.cmd
that will take care of downloading updates and installing them, you'd just have to do the reboot and logins on them . . . haven't gotten that far here.
then i would make it a redistribution server for your norton dats, and add it to your list (don't know how in norton, only use e-trust for corperate stuff)


on a side note, if these are laptops/tablets, make sure they are plugged in to do it. some windows updates REQUIRE that you be on AC power, and error out if you are on battery power. i found this out the hard way, and it took a while for me to figure it out :/
 
ghosting would be great and we are thinking of moving in that direction. Problem right now is we do not have a product for that and we have many different comps, they are not all the same. We have about 5 different types of Inspirons and just as many different types of desktops. Each make has a different amount depending on thier popularity. For excample we have 5 times for Inspiron 5100s than anything else because they are our most popular.

And I am pretty sure that with ghosting has to go to and from similar machines because of drivers and what not...correct me if I am wrong
 
tshontikidis said:
And I am pretty sure that with ghosting has to go to and from similar machines because of drivers and what not...correct me if I am wrong
That is incorrect. See the sticky thread about sysprep, or just do some searching on sysprep.

Sysprep removes all the hardware drivers, on the next boot it runs the mini-setup wizard, which will redetect all the hardware.

Basic setup process:

Setup OS/software.
Run sysprep, shut down PC.
Take image.

Basic deploy process:

Image HDD.
Run minisetup wizard.
Boot OS/install drivers.

You can add the drivers in the sysprep so it automatically adds the drivers during the setup, otherwise you will need to provide the drivers post setup. Good luck.
 
Are you using Active Directory? If so, you could use RIS instead of Ghost. RIS will detect the hardware, but will take longer.
 
MorfiusX said:
Are you using Active Directory? If so, you could use RIS instead of Ghost. RIS will detect the hardware, but will take longer.
Sysprep will do this too, and it's faster, but yes, RIS is also an option.
 
tshontikidis said:
Is it possible to write a script that will run windows update, reboot, nortons update, reboot, run norton scan, reboot. I am pretty sure the answer is no, but i have never really written a script so I thought i would throw it out there. Also if no, if any one has any suggestions on to go about a large process like that on to alot of computer suggestions are welcomed.

thank you

I'm pretty sure you can install the norton & windows updates without rebooting inbetween. Sometimes WU will find new patches after the reboot though :rolleyes: While you are running the norton update, can you also set up a scan to happen at the next restart?
 
Just make a image that is fully updated and spyware free and "restore the computer"

better yet keep the image on the hard drives of each PC (encrypted witha password and locked down) then when you get it back . Walla Run Image in about 15 mins or less the PC is done.
 
Back
Top