template with Netsh

J

James

Hello people,

With XP i was enable to do many template of network configuration (esay
shitch between DHCP or not for a interface)

so i was used this command :

netsh -c interface dump > file.txt

and to restore her

netsh -f file.txt


But With Vista is not working !

what can i do ?

Thx a lot
 
S

Sooner Al [MVP]

James said:
Hello people,

With XP i was enable to do many template of network configuration (esay
shitch between DHCP or not for a interface)

so i was used this command :

netsh -c interface dump > file.txt

and to restore her

netsh -f file.txt


But With Vista is not working !

what can i do ?

Thx a lot

Can you not use the 'netsh export' command to export the settings to an XML
file then the 'netsh add' command to restore?

http://technet.microsoft.com/en-us/windowsvista/aa905084.aspx
http://technet2.microsoft.com/Windo...1d50-4774-bae2-0dda33eaeb2f1033.mspx?mfr=true

--

Al Jarvi (MS-MVP Windows Networking)

Please post *ALL* questions and replies to the news group for the
mutual benefit of all of us...
The MS-MVP Program - http://mvp.support.microsoft.com
This posting is provided "AS IS" with no warranties, and confers no
rights...
 
G

Guest

Netsh command has changed with Vista. Open a command prompt window and run
"netsh help". You will need to run the commands as a administrator.
 
D

djet

Still I have no ideas how to work with it in Vista. It isn't documented at
all (tried searching thru TechNet & Microsoft Support). Could you provide
any sample at least?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top