[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3-domain/home/netlogon/domscripts/ -> shutdownjob.cmd (source)

   1  :: lancee avec un job CPAU au startup par les GPO afin de ne jamais avoir les mdp sensibles sur le DD � un quleconque moment
   2  ::
   3  :: $Id: shutdownjob.bat -1M 2009-11-25 23:32:53Z (local) $ 
   4  :: SYNTAXE :
   5  :: shutdownjob.bat  SE3_DOMAIN XPPASS ADMINSE3 COMPUTERNAME
   6  :: 
   7  @echo off
   8  
   9  pushd %systemdrive%\netinst
  10  set ADMINSE3=%3%
  11  set XPPASS=%2%
  12  set SE3_DOMAIN=%1%
  13  
  14  call action.bat
  15  
  16  ::netdom.exe verify %computername% /DOMAIN:%SE3_DOMAIN% /userO:%ADMINSE3% /PasswordO:%XPPASS%>> logs\domscripts.txt
  17  
  18  echo on quite le domaine %SE3_DOMAIN%>> logs\domscripts.txt
  19  ::netdom.exe remove %computername% /D:%SE3_DOMAIN% /userD:%SE3_DOMAIN%\%ADMINSE3% /PasswordD:%XPPASS%>> logs\domscripts.txt
  20  ::if errorlevel 1  echo ERREUR en quittant %SE3_DOMAIN%.>> logs\domscripts.txt
  21  start /wait %SystemRoot%\system32\cscript.exe //D quitte_domaine.vbs /u:"%ADMINSE3%" /p:"%XPPASS%">> logs\domscripts.txt
  22  echo shutdownjob OK>> logs\domscripts.txt 
  23  exit


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