:: You can try this as a batch file. I HAVE NEVER Tried
:: this in production!!!!!!!!!!!!!!!
:: %1 should be the Name of the Network Card
:: To find out the network card name for that PC look at:
:: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
:: NT\CurrentVersion\NetworkCards\1
:: Value Name : ServiceName
:: Sometimes the Network Card can be \2 or another number.
:: %2 should be the IP Address Requiring 15 digits:
:: ie. 192.168.000.002
:: If you do not use that format, it will mess up everything
:: The +30 below is to convert Decimal into Hex for the
:: ASCII values stored in the registry (REG_MULTI_SZ)
:: Run this batch file
:: c:\ip.cmd MDGMPORT1 192.168.000.002
@echo off
set NETCARDNAME=%1
set IPAddress=%2
echo REGEDIT4 > %temp%\tcpipreg.reg
::echo >> %temp%\tcpipreg.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\%NETCARDNAME%\Parameters\Tcpip] >> %temp%\tcpipreg.reg
set /a digit0=%IPAddress:~0,1%+30
set /a digit1=%IPAddress:~1,1%+30
set /a digit2=%IPAddress:~2,1%+30
set digit3=2e
set /a digit4=%IPAddress:~4,1%+30
set /a digit5=%IPAddress:~5,1%+30
set /a digit6=%IPAddress:~6,1%+30
set digit7=2e
set /a digit8=%IPAddress:~8,1%+30
set /a digit9=%IPAddress:~9,1%+30
set /a digit10=%IPAddress:~10,1%+30
set digit11=2e
set /a digit12=%IPAddress:~12,1%+30
set /a digit13=%IPAddress:~13,1%+30
set /a digit14=%IPAddress:~14,1%+30
set longhexstring=%digit0%,%digit1%,%digit2%,%digit3%,%digit4%,%digit5%,%digit6%,%digit7%,%digit8%,%digit9%,%digit10%,%digit11%,%digit12%,%digit13%,%digit14%
echo "IPAddress"=hex(7):%longhexstring%,00,00 >> %temp%\tcpipreg.reg
regedit /s %temp%\tcpipreg.reg