G
Guest
I used a script to change IP configuration by netsh.
:: Switch2DHCP.cmd
@echo off
@echo Changing to Static IP address
:: Set to dhcp.
netsh interface ip set address "Local Area Connection" dhcp
netsh interface ip set dns name="Local Area Connection" source=dhcp
@echo System Switched to DHCP
locally it works, when i set a startup scripts by domain group policy, it does not works. gpresult state that the policy is OK.
can you help me?
:: Switch2DHCP.cmd
@echo off
@echo Changing to Static IP address
:: Set to dhcp.
netsh interface ip set address "Local Area Connection" dhcp
netsh interface ip set dns name="Local Area Connection" source=dhcp
@echo System Switched to DHCP
locally it works, when i set a startup scripts by domain group policy, it does not works. gpresult state that the policy is OK.
can you help me?