http://www.optimumx.com/downloads.html Shortcut.exe
http://www.joeware.net/freetools/tools/cpau/ CPAU.exe
http://gnuwin32.sourceforge.net/packages/coreutils.htm
from there you download the binaries and dependencies
from binaris you use cat.exe, head.exe, tail.exe
libiconv2.dll, libintl3.dll
ftp://ftp.microsoft.com/reskit/nt4/x86/ NetDOM.exe v1.8
This is a post install configuration script that configurates
the computer name (NetBios too) , ip, mask, gateway,
dns (primary and secondary), joins a workgroup, self remove after
config is done, if choosen and reboot pc if choosen.
The ideea is that after deploying a image from the network, all
stations are not able to connect to the network (except if you use
a dhcp server in your intranet). From this point you have 2 options:
First is to manually configure all on each pc (that takes time and effort).
Second is to use a way to automate the first one :) . My script is
doing exactly this.
How ? Easy, all network cards have a unique address, called MAC Adress
[http://en.wikipedia.org/wiki/MAC_address]. Lest say, if i know each
pcs mac then i can configure it accordin to that.
My script gets the curent pcs mac address and seeks it in his data file,
when its found it configurates the pcs accordin to the relative data stored.
The script consists from 5 small executable files (~900kbs), 2 cmd files (~4kb)
and 3 configuration text files.
SetupIPs_Config.txt
the 1st line contains the the workgroup name
the 2nd line contains the the mask
the 3nd line contains the the gateway
the 4nd line contains the the primary dns
the 5nd line contains the the secondary dns
the 6nd line contains the the interface name ex "Local Area Connection"
the 7nd line contains the the cleanup flag (0 for off and 1 for on)
the 8nd line contains the the reboot flag (0 for off and 1 for on)
-----------------
WORKGROUP
MASK
GATE
DNS1
DNS2
INTERFACE
CLEANUP
REBOOT
-----------------
SetupIPs_Data.txt
the 1st word in the line contains the the mac address
the 2st word in the line contains the the ip address
the 3st word in the line contains the the computer name
-----------------
MAC1 IP1 NAME1
MAC2 IP2 NAME2
MAC3 IP3 NAME3
-----------------
SetupIPs_Deploy.txt
the 1st line contains the deployment folder for our script
the 2nd line contains the the deployment username (a Administrator account)
the 3nd line contains the the deployment password
-----------------
C:\SetupIPs
Administrator
password
-----------------
The Admin pass and username are stored encrypted by cpau.exe in SetupIPs.dat and
will be used by cpau to start the script by login (on any account, even guest)
configate the station then removeing itself. A link file will be placed in startup
all users that will do the trick.
How to get the macs of all your pcs ?
Easy use the GetMACs.cmd, it will generate a GetMACs.txt with the macs added.
for geting macs from a remote station put the station name as command line argument
Ex(GetMacs.cmd STATION1).
Lets recapitulate the procedure, step by step.
1> Use GetMacs.cmd or whatever you like to get a list of all macs of your network.
[REMARK: if you got on some pcs more that one network card the GetMACs.cmd will return a single mac of the 1st adapter]
2> Put the mac addresses with the accordin IPs and computer names in SetupIPs_Data.txt
3> Put the workgroup name, ip mask, gateway, primary and secondary dns, interface name, cleanup flag and reboot flag in
the SetupIPs_Config.txt file.
4> Run SetupIPsDeploy.cmd
5> Make the master image with (with norton ghost, ping, gziped dd, anything you use)
6> Deploy it on all stations and when a user login, it start the automated configuration followed by reboot, if flag is set
and finally, self remove if the flag is set.