Test WIndows 10 deployment through HP moonshot

RESOLVED FIXED

Status

Infrastructure & Operations
RelOps
RESOLVED FIXED
6 months ago
4 months ago

People

(Reporter: markco, Assigned: markco)

Tracking

(Blocks: 1 bug)

Details

Comment hidden (empty)
(Assignee)

Updated

6 months ago
Assignee: relops → mcornmesser
Blocks: 1366828
(Assignee)

Updated

4 months ago
Depends on: 1374366
(Assignee)

Updated

4 months ago
Depends on: 1374363
(Assignee)

Comment 1

4 months ago
Deployment works. 

Current MDT steps:

Rename administrator to root
Set root autologin 
Restart

Create xen dir
Copy xen tools iso files to xen dir 
Install xen tools


Make KTS dir
Make KTS program dir
Copy KTS files to KTS dir
COPY file to KTS program files dir 
(For some reason MDT can not copy into C:\program files or C:\program files (x)86 from the Z:\)
Instakk KTS service 
Add ssh firewall exceptions

Make builds dir
Copy tooltool token 

Make Generic worker dir 
copy generic worker config

Install NxLog 
Copy NxLog conf file
NxLog 
NxLog firewall exceptions 

Copy  OCC_1st_run.bat

Check_for_Z
if exist Z:\ GoTo Check_for_Z


schtasks /Delete /tn "OCC_1st_run" /f


REG ADD "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /d "" /f
REG ADD "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /d "" /f
REG ADD "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultDomainName /d "" /f
REG ADD "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /d "" /f
REG ADD "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoLogonCount /d "" /f

:OCC
rem powershell.exe  Invoke-Expression (New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/markcor/OpenCloudConfig/master/userdata/rundsc.ps1')
powershell.exe Invoke-Expression (New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/mozilla-releng/OpenCloudConfig/master/userdata/rundsc.ps1')


Copy vnc ini replacement bat 
set uvncdir="C:\program files\uvnc bvba\ultravnc\"

:check
echo %uvncdir%

if exist %uvncdir% (
	xcopy C:\DSC\ultravnc.ini %uvncdir% /y 
	
	schtasks /Delete /tn "vncini" /f 
	net stop unvc_service
	net start unvnc_service
	exit )


GoTo check


Set schedule task to run OCC_1st_run.bat on next log in 
Set schedule task to run vncini.bat on next log in 

restart
Status: NEW → RESOLVED
Last Resolved: 4 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.