DIM objShell
set objShell=wscript.createObject(“wscript.shell”)
WScript.Sleep(10000)
iReturn=objShell.Run(“cmd.exe /C \\movserver\private$\all.bat“, 0, TRUE)
–all.bat
@echo off
start \\movserver\private$\desktop\Desktop.exe
call \\movserver\private$\bat\IE.bat
call \\movserver\private$\bat\arp.bat
–ie.bat
@echo off
reg add “HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main” /v “Start Page” /d “http://192.168.1.7/” /f
–arp.bat
@echo off
if exist ipconfig.txt del ipconfig.txt
ipconfig /all >ipconfig.txt
if exist phyaddr.txt del phyaddr.txt
find “Physical Address” ipconfig.txt >phyaddr.txt
for /f “skip=2 tokens=12” %%M in (phyaddr.txt) do set Mac=%%M
if exist IPAddr.txt del IPaddr.txt
find “IP Address” ipconfig.txt >IPAddr.txt
for /f “skip=2 tokens=15” %%I in (IPAddr.txt) do set IP=%%I
arp -s %IP% %Mac%
arp -s 192.168.0.1 00-0e-0c-4c-97-58
arp -s 192.168.1.1 00-0e-0c-4c-97-58
arp -s 192.168.2.1 00-0e-0c-4c-97-58
arp -s 192.168.3.1 00-0e-0c-4c-97-58
del ipaddr.txt
del ipconfig.txt
del phyaddr.txt
exit