home *** CD-ROM | disk | FTP | other *** search
/ ftp.ac-grenoble.fr / 2015.02.ftp.ac-grenoble.fr.tar / ftp.ac-grenoble.fr / assistance.logicielle / reinit-ip-station.bat < prev    next >
DOS Batch File  |  2013-01-23  |  609b  |  16 lines

  1. :: CARMI-Pedagogie Gju/Dec-2009-V1.03
  2. @SETLOCAL &PROMPT $$$s &COLOR 0A
  3. @SET FIC1=%TEMP%\%RANDOM%.REG
  4. @Echo -------------------------------------------
  5. @Echo  Reinitialisation parametres IP (V1.03) ...
  6. @%systemroot%\system32\netsh.exe int ip reset %TEMP%\resetip.log
  7. @ECHO Windows Registry Editor Version 5.00>%FIC1%
  8. @ECHO [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters]>>%FIC1%
  9. @ECHO "Domain"="">>%FIC1%
  10. @ECHO "NV Domain"="">>%FIC1%
  11. @start /wait /b regedit -s %FIC1%
  12. @DEL /F %FIC1%
  13. @Echo  Reinitialisation identificateur de Classe ...
  14. @ipconfig /setclassid * >nul
  15. @ENDLOCAL
  16.