IT prob, anyone know how to change everyones ip's to automatically detect settings? - HotUKDeals
We use cookie files to improve site functionality and personalisation. By continuing to use HUKD, you accept our cookie and privacy policy.
Get the HUKD app free at Google Play

Search Error

An error occurred when searching, please try again!

Login / Sign UpSubmit

IT prob, anyone know how to change everyones ip's to automatically detect settings?

DavieDeal Avatar
6y, 9m agoPosted 6 years, 9 months ago
Donno that this is quite the right place but there seems to be a few people on here who might know a few things

Is theres a way to change everyones ip addresses to automatically detect settings on a domain? is there an easy way other than going round everyone individually? Im sure there must be but cant seem to find how
DavieDeal Avatar
6y, 9m agoPosted 6 years, 9 months ago
Options

All Comments

(12) Jump to unreadPost a comment
Comments/page:
#1
what operating system?
#2
well they should automatically find the settings automatically (sp?) lol due to DHCP being enabled (thats assuming it is enabled)
#3
yeah its DHCP but had a problem and had to put everyone on static manually, now need to switch back as i'm getting ip conflicts all over the shot! as people who where not in get assigned one already used, oh and the users cant change it themselves as its only admins
#4
generaloneill
what operating system?


yeah sorry xp
#5
as all your machines are part of a domain, then you can do it via group policy.

just going to work out the settings you need to change
#6
jakethecatuk
if all your machines are part of a domain, then you can do it via group policy.


yeah I thought that, spoke to the guy who does the policy and he didnt seem to know , might have a look tomorrow
#7
:thumbsup:
jakethecatuk
just going to work out the settings you need to change


cheers
1 Like #8
OK.
Create a script with the following line in it: -

netsh interface ip set address "Local Area Connection" dhcp

This assumes that every single machine has the NIC 'Local Area Connection'.

Save the script on a shared folder - probably worth putting into the NETLOGON folder of your ADSERVERS.

Now create a GPO called 'NIC Settings' (or whatever you want to call it). Edit the GPO and under Computer Configuration / Windows Settings / Scripts (Startup/Shutdown) / Startup - call the script created above.

Now make the GPO update only the computers that are affected. You can do this by putting them all into a group and linking the GPO to the OU where your computers are and making the group you created read the GPO.

Good luck :)
banned#9
I would have said this probably isn't the place to ask this kind of question.
1 Like #10
I'm afraid you can't use GPOs to do this... the quickest way would be to create a startup script that will run when each pc is rebooted.

All you need is 2 lines...

netsh interface ip set address name="Local Area Connection" source=dhcp

netsh interface ip set dns name="Local Area Connection" source=dhcp

Done.
#11
master_chief
I would have said this probably isn't the place to ask this kind of question.


yeah wasnt sure but thought Id ask looks like its paid off :thumbsup:
#12
Babbabooey
I'm afraid you can't use GPOs to do this... the quickest way would be to create a startup script that will run when each pc is rebooted.

All you need is 2 lines...

netsh interface ip set address name="Local Area Connection" source=dhcp

netsh interface ip set dns name="Local Area Connection" source=dhcp

Done.


You can do this via GPO - read my post above and it explains how to do it.

Post a Comment

You don't need an account to leave a comment. Just enter your email address. We'll keep it private.

...OR log in with your social account

...OR comment using your social account

Thanks for your comment! Keep it up!
We just need to have a quick look and it will be live soon.
The community is happy to hear your opinion! Keep contributing!