Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
howto:sccm [2012/09/13 02:16]
mcb30
howto:sccm [2013/10/31 13:49]
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 65: Line 67:
     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 76: Line 78:
     imagex mountrw sccmfiles/​sources/​boot.wim 1 mntpnt     imagex mountrw sccmfiles/​sources/​boot.wim 1 mntpnt
     cp -drn 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
  
howto/sccm.txt · Last modified: 2023/03/16 12:36 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL https://ipxe.org
References to "iPXE" may not be altered or removed.