GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- HPE BladeSystem
- >
- Legacy
- >
- Windows Server 2003
- >
- Re: To set the IP from DHCP to Static in Windows u...
Windows Server 2003
1862981
Members
2064
Online
110446
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2010 12:24 AM
10-25-2010 12:24 AM
To set the IP from DHCP to Static in Windows using batch script
Hi All,
I have a requirement, where in, the assigned DHCP address needs to be set as a Static IP address using a batch script.
For example:
ipconfig output shows.
Connection-specific DNS Suffix . : winpc
IP Address. . . : 10.10.10.20
Subnet Mask . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.10.10.1
I have done this activity on Linux platform. Since, I am very lame in windows programming, Could you please help me, how this achieve using windows batch programming.
Regards,
Raghu.
I have a requirement, where in, the assigned DHCP address needs to be set as a Static IP address using a batch script.
For example:
ipconfig output shows.
Connection-specific DNS Suffix . : winpc
IP Address. . . : 10.10.10.20
Subnet Mask . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.10.10.1
I have done this activity on Linux platform. Since, I am very lame in windows programming, Could you please help me, how this achieve using windows batch programming.
Regards,
Raghu.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2010 02:26 PM
10-25-2010 02:26 PM
Re: To set the IP from DHCP to Static in Windows using batch script
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP