[ipxe-devel] Update to sccm howto
John Newbigin
jnewbigin at swin.edu.au
Wed Oct 30 23:39:15 UTC 2013
Hi,
I tested your changes but I had to make a small change to remove the
brackets.
os.RegWrite "HKLM\SYSTEM\CurrentControlSet\Control\PEBootType", _
"Ramdisk:OpticalDrive", "REG_SZ"
Once I did that it worked.
John.
On 30/10/2013 10:07, Michael Brown wrote:
> On 29/10/13 17:15, Doose, Michael wrote:
>> On 28/10/13 19:54, John Newbigin wrote:
>> > Before launching TsmBootStrap, merge this registry file:
>> > Windows Registry Editor Version 5.00
>> >
>> > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\PXE]
>> > "BootServerReply"=hex:
>> > "DHCPServerACK"=hex:
>> >
>> > Then Tsm knows it is a PXE boot and is happy to proceed past
>> identifying the 'Launch mode'.
>>
>> I also made it work by modifying another key - PEBootType, this made
>> things work for me when using WIMBOOT:
>>
>> Set os = WScript.CreateObject ( "WScript.Shell" )
>> os.Run "%COMSPEC%", 7, false
>> os.Run "%COMSPEC% /c title Initializing...&& wpeinit&& net start
>> dnscache", 1, true
>> os.Run "%COMSPEC% /c title Initializing...&& REG ADD
>> HKLM\System\CurrentControlSet\Control /v PEBootType /t REG_SZ /d
>> Ramdisk:OpticalDrive /f", 1, true
>> os.Run WScript.ScriptFullName& "\..\TsmBootStrap.exe /env:WinPE
>> /configpath:%SYSTEMDRIVE%\sms\data", 1, true
>
> Thanks to both of you for finding solutions to this problem!
>
> Based on what you've said; I think the following additional line for
> bootstrap.vbs (using os.RegWrite() rather than invoking reg.exe) should
> work; if anyone has time to test it then I'll happily update the SCCM
> howto:
>
> Set os = WScript.CreateObject ( "WScript.Shell" )
> os.Run "%COMSPEC%", 7, false
> os.Run "%COMSPEC% /c title Initialising... && wpeinit " & _
> "&& net start dnscache", 1, true
> os.RegWrite ( "HKLM\SYSTEM\CurrentControlSet\Control\PEBootType", _
> "Ramdisk:OpticalDrive", "REG_SZ" )
> os.Run WScript.ScriptFullName & "\..\TsmBootStrap.exe /env:WinPE " & _
> "/configpath:%SYSTEMDRIVE%\sms\data", 1, true
>
> Michael
--
John Newbigin | ITS Senior Analyst / Programmer
Faculty of Information and Communication Technologies
ITS | Swinburne University of Technology | Melbourne, Australia
O: EN306 | T: +61 3 9214 8185 | M: +61 410 569 362
E: jnewbigin at swin.edu.au
W: http://www.ict.swin.edu.au/staff/jnewbigin
More information about the ipxe-devel
mailing list