Howto enable Aero basic Theme in WinPE 3.x

LiveCDs created with the WAIK, make_pe3 or similar tools

Moderators: continuum, joakim, JFX

Howto enable Aero basic Theme in WinPE 3.x

Postby JFX » Wed Oct 20, 2010 7:14 pm

yamingw explained here, howto get the aero basic theme loaded in WinPE 3.

Important is to alter the MiniNT unicode string, I guess it's for the Switch desktop / resoure limit issue we know from PE 1.x.

You can use this AutoIT script to change the minint string http://www.mediafire.com/?yts52c61oknk7rb


Two services have to be added themes and uxsms

IF Not already done add also

Themes to netsvcs
UxSms to LocalSystemNetworkRestricted

under HKEY_LOCAL_MACHINE\PE3-SOFTWARE\Microsoft\Windows NT\CurrentVersion\Svchost


The theme service should know what to load so also add

HKEY_LOCAL_MACHINE\PE3_USER\Software\Microsoft\Windows\CurrentVersion\ThemeManager from a default windows install (install.wim)


A few files needed to be added to the WinPE

Code: Select all
\Windows\Resources
\Windows\system32\shsvcs.dll
\Windows\system32\themeservice.dll
\Windows\system32\themeui.dll
\Windows\system32\tstheme.exe
\Windows\system32\uxsms.dll
\Windows\system32\UXInit.dll
\Windows\system32\net.exe
\Windows\system32\WindowsCodecs.dll
\Windows\system32\WindowsCodecsExt.dll
\Windows\system32\UIRibbon.dll
\Windows\system32\UIRibbonRes.dll


The ux.exe which does start the themes would not work on a x64 WinPE, so let's use AutoIT to make a x64 Ux.exe :)

Code: Select all
If @OSBuild < 7600 Then Exit
$WinLogonPID = ProcessExists("winlogon.exe")
IF $WinLogonPID = 0 Then Exit
ShellExecuteWait('net.exe', 'start themes','', '', @SW_HIDE)
DllCall('UXInit.dll', 'none', 0x0D, 'Int', $WinLogonPID)


Run the Ux.exe before launching explorer
JFX
 
Posts: 17
Joined: Thu Oct 14, 2010 5:58 pm

Re: Howto enable Aero basic Theme in WinPE 3.x

Postby vvurat » Wed Oct 20, 2010 10:55 pm

Can you give also compiled autoit script(also x64) and sample usage? I don't want to be admin, is it can give aero as system user?

wooow. thank you. i succeeded at system user by the given link and files. my winpe is perfect now ;)
vvurat
 
Posts: 8
Joined: Wed Sep 29, 2010 2:44 pm

Re: Howto enable Aero basic Theme in WinPE 3.x

Postby JFX » Fri Oct 22, 2010 2:13 pm

Hi,

here are compiled ux.exe for x86 and x64. simply run it without any command line, or add it to winpeshl.ini.

http://www.mediafire.com/?75h4s3sy0zp7a44
JFX
 
Posts: 17
Joined: Thu Oct 14, 2010 5:58 pm

Re: Howto enable Aero basic Theme in WinPE 3.x

Postby vvurat » Fri Oct 22, 2010 5:11 pm

A compiled gui autoit script for select winlogon.exe and select patch can be very usefull. It can search replace hex and fix header. Don't focus only makepe3. He knows autoit and can integrate codes his own gui but i need something standalone.
vvurat
 
Posts: 8
Joined: Wed Sep 29, 2010 2:44 pm

Re: Howto enable Aero basic Theme in WinPE 3.x

Postby JFX » Tue Oct 26, 2010 5:11 pm

JFX
 
Posts: 17
Joined: Thu Oct 14, 2010 5:58 pm


Return to WinPE

Who is online

Users browsing this forum: No registered users and 0 guests

cron