copy and paste the following into 2 *.bat files.
RestoreIPV6Configuration.cmd:
*************************************************************
@echo off
set DumpLocation=%1
if exist %DumpLocation%\isatap.dump (
netsh interface isatap set state default
netsh -f %DumpLocation%\isatap.dump
)
if exiSt %DumpLocation%\6to4.dump (
netsh interface 6to4 set state default
netsh -f %DumpLocation%\6to4.dump
)
exit 0
*************************************************************
DisableIPV6Protocols.cmd
*************************************************************
@echo off
set DumpLocation=%1
netsh interface isatap dump state > %DumpLocation%\isatap.dump
netsh interface isatap set state disabled
netsh interface 6to4 dump state > %DumpLocation%\6to4.dump
netsh interface 6to4 set state disabled
exit 0
*************************************************************
Tuesday, March 30, 2010
IPV6 Configuration Script
at 10:31 AM 0 comments Posted by roni schuetz
Labels: batch
Subscribe to:
Posts (Atom)
Shared Cache - .Net Caching made easy
All information about Shared Cache is available here: http://www.sharedcache.com/. Its free and easy to use, we provide all sources at codeplex.