[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3-clonage/sources/paquet_post-clonage/temp/clone/ -> new_sid.bat (source)

   1  @echo off
   2  title Modification du nom de machine et du SID
   3  @cd c:\
   4  @echo on
   5  
   6  @echo ********************************
   7  @echo *      RENOMMAGE DU POSTE      *
   8  @if not exist c:\temp\clone\workgrp.bat goto suite
   9  @echo *    CHANGEMENT DE WORKGROUP   *
  10  :suite
  11  @echo *              ET              *
  12  @echo * MODIFICATION DU SID DU POSTE *
  13  @echo ********************************
  14  @echo .
  15  
  16  @if not exist c:\temp\clone\workgrp.bat goto newsid
  17  @call c:\temp\clone\workgrp.bat > NUL
  18  @type c:\temp\clone\workgrp.bat
  19  
  20  @if "x%WORKGRP%" == "x" goto newsid
  21  @echo .
  22  @echo Modification du groupe de travail...
  23  @echo .
  24  rem c:\temp\clone\netdom member \\%COMPUTERNAME% /joinworkgroup %WORKGRP%
  25  call c:\temp\clone\rejoin_workgrp2.vbs %WORKGRP%
  26  
  27  
  28  :newsid
  29  @echo .
  30  @call c:\temp\clone\nompc.bat > NUL
  31  @type c:\temp\clone\nompc.bat
  32  
  33  @echo .
  34  @echo L operation de changement de SID est assez longue...
  35  @echo Soyez patient...
  36  @echo .
  37  
  38  @if "x%NOMPC%" == "x" goto fin
  39  c:\temp\clone\newsid /a %NOMPC%
  40  
  41  :fin


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1