Jump to content

pringtef

Member
  • Posts

    3
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Posts posted by pringtef

  1. Make sure you've the WMI and scripting packages installed, and then you can use a variation on this script to identify if it is 32 or 64 bit.

    On Error Resume Next

    Const wbemFlagReturnImmediately = &h10

    Const wbemFlagForwardOnly = &h20

    Set objWMIService = GetObject("winmgmts:\\" & "." & "\root\CIMV2")

    Set colItems = objWMIService.ExecQuery("SELECT AddressWidth FROM Win32_Processor", "WQL", _

    wbemFlagReturnImmediately + wbemFlagForwardOnly)

    For Each objItem In colItems

    wScript.Echo "AddressWidth: " & objItem.AddressWidth

    Next

  2. I had similar problems despite injecting the vmware drivers offline and then recompiling.

    It appears that the default WinPE image does not enable the protocols and so on, and this needs to be either added to a batch file, such as StartNet.cmd, or manually invoked from a command line.

    I ammended StartNet.cmd so that it has the following at the start

    wpeinit ; should be in there by default

    netcfg -v -winpe ; added this manually

    After doing that, things worked fine, and picked up an IP from my DHCP server immediately.

×
×
  • Create New...