Jump to content

Windows 10 PE * add * CLEANMGR.EXE


la72pt

Recommended Posts

hello forum.

i've allready made 'my' w10pe sometime ago only for dism capture purposes.
now, i need to add cleanmgr 'DiskCleanUp' to wpe.
like other apps, i've copied the .exe, .mui and the .mun to their respective folders.
i've Add-Package WinPE_OCs\WinPE-WMI.cab to the wpe.
but can't get cleanmgr 'Clean Manager / Disk Cleanup' to work.

any help please?
thank you.
best regards, l.a.

Link to comment
Share on other sites


WinPE has no Windows on Windows, so make sure that all of the binaries that your program uses match the architecture of your WinPE.

Otherwise, you'll need to do so testing on your own. Using a ProcMon session on the .exe from within the WinPE may reveal something it cant' find. Otherwise, you'll have to run a dependency scanner of some sort on the .exe from within the WinPE.

Link to comment
Share on other sites

2 hours ago, Tripredacus said:

WinPE has no Windows on Windows, so make sure that all of the binaries that your program uses match the architecture of your WinPE.

Otherwise, you'll need to do so testing on your own. Using a ProcMon session on the .exe from within the WinPE may reveal something it cant' find. Otherwise, you'll have to run a dependency scanner of some sort on the .exe from within the WinPE.

To be picky (as I am BTW) the "normal" WinPE from MS does not have it, but it is entirely possible to have it in a PE build created by one of the common tools, i.e. Winbuilder or PEbakery.

Win10PE SE has a script "WOW64 Basic" (written by our friend JFX) that does exactly that, i.e. "WoW64 (Windows on Windows64) provides support for running 32bit programs in a 64bit environment.".

jaclaz 

Link to comment
Share on other sites

6 hours ago, Tripredacus said:

WinPE has no Windows on Windows, so make sure that all of the binaries that your program uses match the architecture of your WinPE.

Otherwise, you'll need to do so testing on your own. Using a ProcMon session on the .exe from within the WinPE may reveal something it cant' find. Otherwise, you'll have to run a dependency scanner of some sort on the .exe from within the WinPE.

thank you for your reply.

i'm sure the binaries match the architeture of my pe.

i've tried to discover the correct dll with 'Dependencies' (An open-source modern Dependency Walker), tested some, but no lucky so far.

i'll try the procmon, thanks.

it's frustrating, some litle things give so many work. damn ms.

Link to comment
Share on other sites

3 hours ago, jaclaz said:

To be picky (as I am BTW) the "normal" WinPE from MS does not have it, but it is entirely possible to have it in a PE build created by one of the common tools, i.e. Winbuilder or PEbakery.

Win10PE SE has a script "WOW64 Basic" (written by our friend JFX) that does exactly that, i.e. "WoW64 (Windows on Windows64) provides support for running 32bit programs in a 64bit environment.".

jaclaz 

thank you for your reply.

i know that is possible, there are many w10pe iso's over the net, i've tried some and verify that is possible, but want to do my own pe, very simple pe.

i'll try that "WOW64 Basic" script.

thanks jaclaz.

Link to comment
Share on other sites

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...