jono261970
Programmer
We have a computer suite of 40 win98 workstations and use drive image to deploy an image to all machines in one sweep. Works fine except I have to change the ID of each machine individually or there's trouble.
I boot into DOS using a win98 startup disk or by pressing F8 and run a simple registry import.
I exported the following registry file and saved it as update.reg. I then type "regedit update.reg" and it updates the machine's ID before I boot it up.
-----------------------------------------------------------
Inside update.reg file:-
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName]
"ComputerName"="W13-1"
----------------------------------------------------------
The only problem is I have to either have 40 unique disks or keep on editing the "computer name" part for each computer.
What I would like is a dos program that would ask me to type in the computer name and then change the computer name for me. Ok, I am finding this hard to explain :O)
This is what I want to do:-
please enter name?
input name$
Then the contents of name$ go into the update.reg file below:-
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName]
"ComputerName"=name$
I hope somebody can understand what I need.
Thanks in advance
jono
I boot into DOS using a win98 startup disk or by pressing F8 and run a simple registry import.
I exported the following registry file and saved it as update.reg. I then type "regedit update.reg" and it updates the machine's ID before I boot it up.
-----------------------------------------------------------
Inside update.reg file:-
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName]
"ComputerName"="W13-1"
----------------------------------------------------------
The only problem is I have to either have 40 unique disks or keep on editing the "computer name" part for each computer.
What I would like is a dos program that would ask me to type in the computer name and then change the computer name for me. Ok, I am finding this hard to explain :O)
This is what I want to do:-
please enter name?
input name$
Then the contents of name$ go into the update.reg file below:-
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName]
"ComputerName"=name$
I hope somebody can understand what I need.
Thanks in advance
jono