voxace Posted July 19, 2006 Posted July 19, 2006 Hi,This is my first post here.I've made a .reg file in an attempt to automate my Internet Protocol Properties.The problem is, the information seems to be stored in a randomly generated folder name (such as "469212EA-E373-419B-A167-16055788F3F2").When I made my reg file, they were in a different folder, and I assume next install it will be different again.Any help appreciated!Cheers,David.Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\{AE9F1CEC-E6E6-46AE-9433-77C49F871223}\Parameters\Tcpip]"IPAddress"=hex(7):31,00,39,00,32,00,2e,00,31,00,36,00,38,00,2e,00,31,00,2e,00,\ 31,00,33,00,00,00,00,00"SubnetMask"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,00,35,\ 00,35,00,2e,00,30,00,00,00,00,00"DefaultGateway"=hex(7):31,00,39,00,32,00,2e,00,31,00,36,00,38,00,2e,00,31,00,\ 2e,00,31,00,00,00,00,00"DhcpIPAddress"="0.0.0.0""DhcpSubnetMask"="255.0.0.0""DhcpServer"="255.255.255.255"[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces\{AE9F1CEC-E6E6-46AE-9433-77C49F871223}]"IPAddress"=hex(7):31,00,39,00,32,00,2e,00,31,00,36,00,38,00,2e,00,31,00,2e,00,\ 31,00,33,00,00,00,00,00"SubnetMask"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,00,35,\ 00,35,00,2e,00,30,00,00,00,00,00"DefaultGateway"=hex(7):31,00,39,00,32,00,2e,00,31,00,36,00,38,00,2e,00,31,00,\ 2e,00,31,00,00,00,00,00"DefaultGatewayMetric"=hex(7):30,00,00,00,00,00"NameServer"="220.233.0.1,202.92.65.254""DhcpServer"="255.255.255.255""IPAutoconfigurationAddress"="0.0.0.0""IPAutoconfigurationMask"="255.255.0.0"[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\{AE9F1CEC-E6E6-46AE-9433-77C49F871223}\Parameters\Tcpip]"IPAddress"=hex(7):31,00,39,00,32,00,2e,00,31,00,36,00,38,00,2e,00,31,00,2e,00,\ 31,00,33,00,00,00,00,00"SubnetMask"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,00,35,\ 00,35,00,2e,00,30,00,00,00,00,00"DefaultGateway"=hex(7):31,00,39,00,32,00,2e,00,31,00,36,00,38,00,2e,00,31,00,\ 2e,00,31,00,00,00,00,00"DhcpIPAddress"="0.0.0.0""DhcpSubnetMask"="255.0.0.0""DhcpServer"="255.255.255.255"[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{AE9F1CEC-E6E6-46AE-9433-77C49F871223}]"IPAddress"=hex(7):31,00,39,00,32,00,2e,00,31,00,36,00,38,00,2e,00,31,00,2e,00,\ 31,00,33,00,00,00,00,00"SubnetMask"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,00,35,\ 00,35,00,2e,00,30,00,00,00,00,00"DefaultGateway"=hex(7):31,00,39,00,32,00,2e,00,31,00,36,00,38,00,2e,00,31,00,\ 2e,00,31,00,00,00,00,00"DefaultGatewayMetric"=hex(7):30,00,00,00,00,00"NameServer"="220.233.0.1,202.92.65.254""DhcpServer"="255.255.255.255""IPAutoconfigurationAddress"="0.0.0.0""IPAutoconfigurationMask"="255.255.0.0""IPAutoconfigurationSeed"=dword:00000000
voxace Posted July 19, 2006 Author Posted July 19, 2006 Nevermind, I achieved the same thing with the following added to my *.cmd file...%systemdrive%\WINDOWS\system32\netsh.exe interface ip set address name="Local Area Connection" source=static addr=192.168.1.13 mask=255.255.255.0 gateway=192.168.1.1 gwmetric=1Much better solution than using the registry!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now