Hi, I am trying to figure out how I could accomplish the following:
I would like to load up a server with hard drives (maybe 10) and extract a Vista .WIM image to each hard drive. I'm thinking this is the script I will use for that:
net use Y:\\Imagelocation\Image
copy Y:\Image.WIM C:\Image
For($x=1;$x –eq10; $x++)
{C:\imagex.exe /apply C:\Image\Image.WIM a C:}
Now here is my problem. I have 10 keys in a data file and each key is suppose to go to a sepperate HD. So Key 1 goes to Disk1, Key 2 to Disk2, etc, etc. How could I:
Accesss the data file
Access the hard drive registries
Read only one line at a time and add that registry
So imagine I want to write to HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion on Disk1 with the value "ID"="00031234" then on Disk2 write "ID"="00031331"
How could I do this?
Any help would be appreciated!