2015-04-30 20:38:03 -04:00
|
|
|
@echo off
|
|
|
|
echo *************************
|
|
|
|
echo *
|
2018-06-24 00:42:53 -04:00
|
|
|
echo * Begining Build.cmd as %userdomain%\%username%
|
|
|
|
echo * Begining Build.cmd as %userdomain%\%username% >> c:\buildlog.txt
|
2015-04-30 20:38:03 -04:00
|
|
|
echo * Connect to build share
|
|
|
|
echo * Connect to build share >> c:\buildlog.txt
|
2018-06-24 00:42:53 -04:00
|
|
|
if not exist B:\ net use B: \\192.168.199.7\Build
|
|
|
|
if not exist c:\temp\ md c:\temp
|
2015-04-30 20:38:03 -04:00
|
|
|
regedit -s b:\Automate\_Common\ExecuPol.reg
|
|
|
|
regedit -s b:\Automate\_Common\NoSCRNSave.reg
|
|
|
|
regedit -s B:\Automate\_Common\ExplorerView.reg
|
|
|
|
regedit -s b:\Automate\_Common\IExplorer.reg
|
|
|
|
regedit -s b:\Automate\_Common\Nested.reg
|
|
|
|
copy b:\automate\_Common\wasp.dll c:\windows\system32
|
|
|
|
copy B:\Automate\validate.ps1 C:\
|
|
|
|
copy B:\Automate\PSFunctions.ps1 C:\
|
|
|
|
copy B:\Automate\VC\Build.ps1 c:\
|
|
|
|
copy B:\Automate\VC\Derek-SSL.ps1 c:\
|
2018-06-24 00:42:53 -04:00
|
|
|
copy B:\automate\_Common\wasp.dll C:\windows\system32
|
2015-04-30 20:38:03 -04:00
|
|
|
echo * Activate Windows >> c:\buildlog.txt
|
|
|
|
cscript //B "%windir%\system32\slmgr.vbs" /ato
|
|
|
|
echo * Starting PowerShell script for Build
|
|
|
|
echo * Starting PowerShell script for Build >> C:\buildlog.txt
|
|
|
|
powershell c:\Build.ps1
|