View Single Post
Old 06-16-2011, 07:13 PM   #1
xdsnhai355
 
Posts: n/a
Default Windows 7 Enterprise Sale windows batch custom IP,

Reinstall the windows system,Office 2010 Standard X86, also lazy to don't forget the definition of nearby connection in the configuration details. But the best way to accomplish lazy to restore the network configuration of the important to it, Here are a number of ways:
Approach 1:

one. To back again up what existing configuration specifics:

netsh interface ip dump> d: ip.txt

two. restore:

around the command line Kind the subsequent command:

netsh-fd: ip.txt

towards the D generate adhering to ip.txt file restore the network configuration inside the backup.
Approach Two:

batch modifications directly by way of the windows network connection IP, subnet mask,Windows 7 Enterprise Sale, gateway, dns.
one. Set a static IP address assigned the adhering to batch:

@ title network settings batch

@ colour 0B

@ echo off

set NIC =
set IP = ; set GW = >
set DNS2 =

netsh interface ip set address% NIC% static% IP%% MASK%% GW%% GM%

@ echo is Set the favored DNS server

netsh interface ip set dns% NIC% static% DNS1% primary

@ echo Creating alternate DNS server

netsh interface ip add dns% NIC%% DNS2%

echo ------------ --------------------

echo% NIC% with the set happens to be finished, the configuration is as follows:

echo IP Handle:percent IP%

echo the default gateway:percent GW%

echo subnet mask:% MASK%

echo Favorite DNS Server:% DNS1%

echo Alternate DNS server:% DNS2 percent

echo --------------------------------
pause

please modify the configurations corresponding for the red component of the above,Office 2010 Key, a brand new text file,Buy Office 2010, conserve as. bat batch file suffix,Windows 7 Professional, If IP.bat, paste the previously mentioned code, help save. Double-click the file to execute.
Description:

NIC: network connection title, normally

IP: ip tackle inside the network card

MASK: mask

GW: default gateway

DNS1 and DNS2 are the preferred and alternate DNS server.

GM: gwmetric default gateway metric. In the event the gateway is set to 'none', you ought to not set this discipline. Typically 1.
two. Is set to dynamically assign IP addresses (ie IP address immediately, acquire DNS server tackle automatically) from the batch:

; @ echo off

@ echo set the NIC to instantly acquire IP address ...

netsh interface ip set handle title = Neighborhood Region Connection name =
  Reply With Quote

Sponsored Links