BLUBBBBBB
Technical User
- Mar 16, 2011
- 1
Hello,
I’m a beginner in using windows server 2003.
I have the Problem, that 60 computers should have dhcp activated and not the fixed ip.
Therefore i have made know an netsh script, witch is changing automaticly the network configuration to dhcp.
This are the commands in the .bat file:
netshint ip set address name=”Local Area Connection” source=dhcp
netshint ip set dns name=”Local Area Connection” source=dhcp
The script is working nicely and without problems, if I start in manually as an administrator on the computers.
Know i want to make it with the active directory users and computers.
There is under the Domain, if i make a right click, an go an properties the Group Policy.
Under which I have the user configuration, windows settings, scripts.
And there under login I can place a script.
I thought, this script will be started when a user is logging in.
But this is not working, I tried it for a several times and it hadn't worked.
Does someone of you know where what I’m doing wrong?
Greetings Alexander
I’m a beginner in using windows server 2003.
I have the Problem, that 60 computers should have dhcp activated and not the fixed ip.
Therefore i have made know an netsh script, witch is changing automaticly the network configuration to dhcp.
This are the commands in the .bat file:
netshint ip set address name=”Local Area Connection” source=dhcp
netshint ip set dns name=”Local Area Connection” source=dhcp
The script is working nicely and without problems, if I start in manually as an administrator on the computers.
Know i want to make it with the active directory users and computers.
There is under the Domain, if i make a right click, an go an properties the Group Policy.
Under which I have the user configuration, windows settings, scripts.
And there under login I can place a script.
I thought, this script will be started when a user is logging in.
But this is not working, I tried it for a several times and it hadn't worked.
Does someone of you know where what I’m doing wrong?
Greetings Alexander