Automating Computer Tasks
Posted on 2008-11-05
Getting a little frustrated:
I'll explain this in two parts:
1) What manual steps are being taken to perform certain tasks
2) What I want to have happen
a) We image computers several times a day every day.
b) We are given image DVD's to use that implement unchangable imaging scripts.
c) Immediately after imaging completes and the computer reboots, we are asked to give the computer name that matches the actual asset tag and set a psssword, but this is okay and we don't need to automate this step.
d) The computer reboots shortly after renaming it and setting the password and then shows the Windows XP login screen.
After logging into the computer for the first time, we have to perform several steps manually. It's these steps that I'd like to try and automate somehow.
I'm, unfortunately, not a scripting expert and have spent several hours searching for various prewritten scripts to piece together what I want to use to replace the manual steps we perform on each computer.
Here are the steps:
a) Rename the local Administrator account
b) Add the computer to our domain( computer reboots)
c) Automatically log back into the computer and continue on with the script
After automatically loggin back into the computer, it will continue performing these steps:
d) Prompt for a domain user name, and then add this name to the local Administrator group
e) Login to a network share
f) Run batch files and programs on this share that modify existing programs as well as install new programs.
Sorry, for asking the impossible here, if I am please let me know what I can do at least.
It just seems hard to believe( without knowing a lot about automating computer tasks) that these steps cannot be automatically scripted somehow so that they do not have to be preformed manually for each computer.
Almost ready to punch my fist through the LCD since I'm having such a hard time finding the "right" script for each of these steps.
I find some prewritten scripts that perform some of what I need to do, but most are not exactly what I want...does this mean I have to become a scripting expert, or is there some scripting library that will actually have current good examples that I can easily use?