TechNet
Products
IT Resources
Downloads
Training
Support
Products
Windows
Windows Server
System Center
Microsoft Edge
Office
Office 365
Exchange Server
SQL Server
SharePoint Products
Skype for Business
See all products »
Resources
Channel 9 Video
Evaluation Center
Learning Resources
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Script Center
Server and Tools Blogs
TechNet Blogs
TechNet Flash Newsletter
TechNet Gallery
TechNet Library
TechNet Magazine
TechNet Wiki
Windows Sysinternals
Virtual Labs
Solutions
Networking
Cloud and Datacenter
Security
Virtualization
Updates
Service Packs
Security Bulletins
Windows Update
Trials
Windows Server 2016
System Center 2016
Windows 10 Enterprise
SQL Server 2016
See all trials »
Related Sites
Microsoft Download Center
Microsoft Evaluation Center
Drivers
Windows Sysinternals
TechNet Gallery
Training
Expert-led, virtual classes
Training Catalog
Class Locator
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
Microsoft Official Courses On-Demand
Certifications
Certification overview
Special offers
MCSE Cloud Platform and Infrastructure
MCSE: Mobility
MCSE: Data Management and Analytics
MCSE Productivity
Other resources
Microsoft Events
Exam Replay
Born To Learn blog
Find technical communities in your area
Azure training
Official Practice Tests
Support options
For business
For developers
For IT professionals
For technical support
Support offerings
More support
Microsoft Premier Online
TechNet Forums
MSDN Forums
Security Bulletins & Advisories
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
Sign in
Home
Library
Wiki
Learn
Gallery
Downloads
Support
Forums
Blogs
Resources For IT Professionals
United States (English)
Россия (Pусский)
中国(简体中文)
Brasil (Português)
Skip to locale bar
Post an article
Translate this page
Powered by
Microsoft® Translator
Wikis - Page Details
First published by
Yagmoth555
(MVP, Microsoft Community Contributor)
When:
22 Mar 2012 9:00 AM
Last revision by
Peter Geelen
(MVP, Microsoft Community Contributor)
When:
18 Jun 2021 11:51 AM
Revisions:
9
Comments:
11
Options
Subscribe to Article (RSS)
Share this
Engage!
Wiki Ninjas Blog
(
Announcements
)
Wiki Ninjas on Twitter
TechNet Wiki Discussion Forum
Can You Improve This Article?
Positively!
Click Sign In to add the tip, solution, correction or comment that will help other users.
Report inappropriate content using
these instructions
.
Wiki
>
TechNet Articles
>
Windows DHCP Server: How to easily change a Scope Subnet
Windows DHCP Server: How to easily change a Scope Subnet
Article
History
Windows DHCP Server: How to easily change a Scope Subnet
When the subnet changes, you will have to do a lot of work to remake all your DHCP options because you have to erase the scope to remake it after.
You will need to save this information in order to remake:
Excluded IPs
Reservation(s)
DHCP's scope option(s)
There is an easy way to do it with NETSH:
netsh dhcp server
\\”Server
” scope “ip_of_scope” dump>c:\dhcp.txt
Edit the file and change the line:
Dhcp Server
\\server
add scope 192.168.0.0 255.255.255.128 "Pool DHCP" ""
Save the file and when ready, erase the DHCP scope and issue:
netsh exec c:\dhcp.txt
And voila. The scope will be changed easily!
Other Languages
This article is also available in the following languages:
Comment facilement changer une étendue DHCP (fr-FR)