This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howto:sccm [2012/09/13 02:05] mcb30 |
howto:sccm [2023/03/16 12:36] mcb30 |
||
---|---|---|---|
Line 29: | Line 29: | ||
os.Run "%COMSPEC% /c title Initialising... && wpeinit " & _ | os.Run "%COMSPEC% /c title Initialising... && wpeinit " & _ | ||
"&& net start dnscache", 1, true | "&& net start dnscache", 1, true | ||
+ | os.RegWrite "HKLM\SYSTEM\CurrentControlSet\Control\PEBootType", _ | ||
+ | "Ramdisk:OpticalDrive", "REG_SZ" | ||
os.Run WScript.ScriptFullName & "\..\TsmBootStrap.exe /env:WinPE " & _ | os.Run WScript.ScriptFullName & "\..\TsmBootStrap.exe /env:WinPE " & _ | ||
"/configpath:%SYSTEMDRIVE%\sms\data", 1, true | "/configpath:%SYSTEMDRIVE%\sms\data", 1, true | ||
Line 50: | Line 52: | ||
| | ||
kernel wimboot | kernel wimboot | ||
- | initrd bootmgr bootmgr | ||
initrd bcd BCD | initrd bcd BCD | ||
- | initrd boot.sdi boot.sdi | ||
initrd boot.wim boot.wim | initrd boot.wim boot.wim | ||
boot | boot | ||
Line 65: | Line 65: | ||
imagex /mountrw sccmfiles\sources\boot.wim 1 mntpnt | imagex /mountrw sccmfiles\sources\boot.wim 1 mntpnt | ||
xcopy /e /f /y sccmfiles\sms mntpnt\sms | xcopy /e /f /y sccmfiles\sms mntpnt\sms | ||
- | copy /y bootstrap.vbs mntpnt\sms\bin\x64\ | ||
copy /y winpeshl.ini mntpnt\Windows\System32\ | copy /y winpeshl.ini mntpnt\Windows\System32\ | ||
+ | copy /y bootstrap.vbs mntpnt\sms\bin\x64\ | ||
imagex /unmount /commit mntpnt | imagex /unmount /commit mntpnt | ||
Line 75: | Line 75: | ||
mkdir mntpnt | mkdir mntpnt | ||
imagex mountrw sccmfiles/sources/boot.wim 1 mntpnt | imagex mountrw sccmfiles/sources/boot.wim 1 mntpnt | ||
- | cp -drf sccmfiles/sms/* mntpnt/sms/ | + | cp -drn sccmfiles/sms/* mntpnt/sms/ |
- | cp -f bootstrap.vbs mntpnt/sms/bin/x64/ | + | rm -f mntpnt/Windows/System32/winpeshl.ini |
- | cp -f winpeshl.ini mntpnt/Windows/System32/ | + | cp winpeshl.ini mntpnt/Windows/System32/ |
+ | cp bootstrap.vbs mntpnt/sms/bin/x64/ | ||
imagex unmount mntpnt --commit | imagex unmount mntpnt --commit | ||
Line 88: | Line 89: | ||
* ''sccm.ipxe'' | * ''sccm.ipxe'' | ||
* ''wimboot'' | * ''wimboot'' | ||
- | * ''sccmfiles/bootmgr'' | ||
* ''sccmfiles/boot/bcd'' | * ''sccmfiles/boot/bcd'' | ||
- | * ''sccmfiles/boot/boot.sdi'' | ||
* ''sccmfiles/sources/boot.wim'' | * ''sccmfiles/sources/boot.wim'' | ||
Line 105: | Line 104: | ||
{{ :screenshots:sccm_boottext.png?540x300 |Screenshot of SCCM booting}} | {{ :screenshots:sccm_boottext.png?540x300 |Screenshot of SCCM booting}} | ||
- | Once SCCM has started up, you should see the usual "Welcome to the Task Sequence Wizard" screen: | + | A few seconds later, you should see the usual SCCM "Welcome to the Task Sequence Wizard" screen: |
{{ :screenshots:sccm_ui.png?600x450 |Screenshot of SCCM booted via HTTP}} | {{ :screenshots:sccm_ui.png?600x450 |Screenshot of SCCM booted via HTTP}} | ||
+ | |||
+ | Congratulations on successfully booting SCCM via HTTP! | ||
+ | |||
+ | {{ :clipart:smile.png?200x200 |Success}} | ||