@@ -60,4 +60,4 @@ Command0="cmd /c sc config TlntSvr start= auto"
Command1="cmd /c netsh firewall set opmode disable"
Command2="cmd /c net start telnet"
Command3="cmd /c E:\setuprss.bat"
-Command4="cmd /c netsh interface ip set address local static 10.0.2.15 255.255.255.0 10.0.2.2 1 && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2"
+Command4="cmd /c netsh interface ip set address local dhcp && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2"
@@ -59,4 +59,4 @@ Command0="cmd /c sc config TlntSvr start= auto"
Command1="cmd /c netsh firewall set opmode disable"
Command2="cmd /c net start telnet"
Command3="cmd /c E:\setuprss.bat"
-Command4="cmd /c netsh interface ip set address local static 10.0.2.15 255.255.255.0 10.0.2.2 1 && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2"
+Command4="cmd /c netsh interface ip set address local dhcp && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2"
@@ -117,7 +117,7 @@
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>6</Order>
- <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" static 10.0.2.15 255.255.255.0 10.0.2.2 1 && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2</CommandLine>
+ <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
<OOBE>
@@ -124,7 +124,7 @@
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>6</Order>
- <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" static 10.0.2.15 255.255.255.0 10.0.2.2 1 && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2</CommandLine>
+ <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
<OOBE>
@@ -124,7 +124,7 @@
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>6</Order>
- <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" static 10.0.2.15 255.255.255.0 10.0.2.2 1 && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2</CommandLine>
+ <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
<OOBE>
@@ -117,7 +117,7 @@
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>6</Order>
- <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" static 10.0.2.15 255.255.255.0 10.0.2.2 1 && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2</CommandLine>
+ <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
<OOBE>
@@ -124,7 +124,7 @@
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>6</Order>
- <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" static 10.0.2.15 255.255.255.0 10.0.2.2 1 && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2</CommandLine>
+ <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
<OOBE>
@@ -130,7 +130,7 @@
<Order>5</Order>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
- <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" static 10.0.2.15 255.255.255.0 10.0.2.2 1 && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2</CommandLine>
+ <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2</CommandLine>
<Order>6</Order>
</SynchronousCommand>
</FirstLogonCommands>
@@ -121,7 +121,7 @@
<Order>4</Order>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
- <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" static 10.0.2.15 255.255.255.0 10.0.2.2 1 && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2</CommandLine>
+ <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2</CommandLine>
<Order>5</Order>
</SynchronousCommand>
</FirstLogonCommands>
@@ -65,7 +65,7 @@
[GuiRunOnce]
Command0="cmd /c E:\setuprss.bat"
- Command1="cmd /c A:\finish.exe 10.0.2.2"
+ Command1="cmd /c netsh interface ip set address local dhcp && ping 10.0.2.2 -n 20 && A:\finish.exe 10.0.2.2"
[Display]
Xresolution=1024