Jump to content

Recommended Posts

Posted

I am starting to work with the new WinPE 4.0 that must be used to support Windows 8 and am having issues with making WMI calls. I am getting the message "The subsystem needed to support the image type is not present." If I run the tool I created under Windows 8 it is working correctly.

I have added the following components to my WinPE build but seem to still be missing something:

winpe-wmi.cab

winpe-wmi_en-us.cab

winpe-hta.cab

winpe-hta_en-us.cab

winpe-scripting.cab

winpe-scripting_en-us.cab

winpe-MDAC.cab

winpe-MDAC_en-us.cab

Has anyone else started to use Winpe 4.0 for Win 8?

thanks

JD

Posted

I am using WinPE 4.0 and it works OK. I think you could check your build for the above mentioned packages using

Dism /image:c:winpe_x86mount /Get-Packages

If your able to see it, then try posting your script (or a snippet) and then we shall see what we can do.

Also, I suggest taking a look here: http://www.msfn.org/board/topic/11980-wmi-in-winpe/

----------------------------------------

:bye: Hey there, was I helpful?

----------------------------------------

My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1

Posted

"The subsystem needed to support the image type is not present."

Your exe is the wrong architecture. WinPE does not support any sort of WOW, so if you are using x64 WinPE, your EXE needs to be compiled in x64. WinPE x86 can only run x86 binaries. This is also true of any DLLs or other support files you put into your WinPE.

Posted

Thanks Tripredacus. I just figured that out. I created my new WinPE 4.0 as 64bit but my utility is compiled for 32bit.

I appreciate everyone's help and suggestions.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...