New
#2001
I'm not really sure why your resolution is so off and today's variety of video drivers and monitor resolutions makes it difficult to manage a comfortable resolution even in a production system let alone in a PE environment. However, I also had a resolution problem when I first delved into Win10XPE. My resolution problem was solved by editing the pecmd.ini file and changing the line that reads as either:
DISP W1024 H768 B32|DISP W1366 H768 B32
or as
TEAM DISP W1024 H768 B32|DISP W1366 H768 B32
and changing it to just
DISP
As far as I can figure out, DISP without other parameters lets the system select the best resolution.
Also, you say you found the folders and files to add for Bitlocker management. To clarify your additions to the custom folder, you add the needed folder structure and needed files within those folders to this Win10XPE path:
Win10XPE\Custom\x64\AdditionalFiles\Windows\System32
If you are building a 32bit Win10XPE then change x64 to x86. Putting your extra needed folder and files up and down along this path will ensure that Win10XPE always picks them up with each rebuild. However, make sure you have the Add Your Custom Folder box checked.
Thanks! I tried that but still stuck at 800x600. I had this line in my pecmd.ini file: TEAM DISP W1024 H768 B32|DISP W1366 H768 B32
Changed it to just DISP but didn't work.
Yes, my bad, I should have explained that in more detail. This is what my folder looks like:
To clarify since I wasn't very clear. I am building with Windows 11 as source, so take the manage-bde.exe file and the en-US folder (located at C:\Windows\System32\) from a working install of Windows 11 and copy it there in that path of the PE. If you are building with Windows 10 as source, then I would copy them from a working install of Windows 10. As ffrags mentioned, use the x64 path in PE if using 64 bit to build, x86 path in PE if using 32 bit to build.
If you have TEAM DISP W1024 H768 B32|DISP W1366 H768 B32 in your pecmd.ini but are still getting 800x600 maybe you don't have the correct video driver being installed for the hardware on which you are using Win10XPE. I say this is a possibility because per the info at this site Detailed Explanation of PECMD in WinPE----PECMD.INI File Configuration ( 1 ) as I pasted below you should be getting resolution of 1024x769 or the closest to that that your video card can do.
[DISP]
Format : DISP [W horizontal resolution H vertical resolution] [B color depth ] [F refresh rate] [T wait(ms)]
Function : Set the display parameters.
Parameters:
■ Separately specify screen parameters. If omitted, use the original settings.
Example:
◆ DISP W1024 H768 B32 F70 T5000
Remarks :
※ The first three sets of parameters can be used alone. For example, to set the refresh rate as 75 , you can use DISP F75 .
Did you try putting a folder in this Win10XPE path: Win10XPE\Custom\x64\Drivers and have that folder contain the inf and sys files etc needed for your video card.
Winre\Windows\System32\manage-bde.exe
Winre\Windows\System32\en-US\manage-bde.exe.mui
Already included in WinRE
Ans MS does not have it in a "Bitlocker" folder
But if was to extract from Install.wim using additions
\Windows\System32\manage-bde.exe
\Windows\System32\??-??\manage-bde.exe.mui
Although XPE already setup to extract any required mui & mun files
So they are not usually listed
thank you Cipri
- - - Updated - - -
this icon is "Mouse Keys icon" , added this key and ok (its hide)
- - - Updated - - -Code:RegWrite,HKLM,0x1,"Tmp_Default\Control Panel\Accessibility\MouseKeys",Flags,31
set the TEMP environment variable
folowing this:
and modifying the order of "_SUB PreShell" toCode:https://superuser.com/questions/433454/how-do-i-set-the-temp-environment-variable-for-the-network-service-user https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/setx
Regshot 1.9.1 Work ok ( also dweb ...)Code:_SUB PreShell // winpeshl.ini with [LaunchApps] wpeinit.exe EXEC %WinDir%\System32\winpeshl.exe // Install ImDisk Ramdisk in background (Uncommented if "Imdisk ramdisk" selected). Not to be changed, Replace //EXEC by //=EXEC EXEC @!%WinDir%\System32\StartImDIsk.exe 50 % B: RAMDisk "NTFS Compressed" "B:\Temp" // set the TEMP TMP environment variable TEAM EXEC =!setx.exe -m Temp B:\Temp|EXEC =!setx.exe -m Tmp B:\Temp TEAM REGI HKCU\Environment\TEMP=B:\Temp|REGI HKCU\Environment\TMP=B:\Temp TEAM REGI HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\TEMP=B:\Temp|REGI HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\TMP=B:\Temp // // Fix Screen resolution and Show Desktop. NoWait Hide EXEC !%WinDir%\System32\FixScreen.exe // Load and install oem* drivers in background before shell EXEC @!%WinDir%\System32\pnputil.exe /add-driver %WinDir%\inf\oem*.inf /install // LetterSwap //EXEC =!%WinDir%\System32\LetterSwap.exe /auto /bootdrive Y:\CDUsb.y /Log %Temp%\LetterSwap.log EXEC =!%WinDir%\System32\LetterSwap.exe /auto /SetLetter Y:\CDUsb.y /Log %Temp%\LetterSwap.log // Load Users Drivers from Y before shell in background (Uncommented By User Option) //EXEC @!%WinDir%\System32\pnputil.exe /add-driver Y:\Drivers\*.inf /subdirs // Load external Autorun.cmd or PecmdStartup.ini to run program, Install external drivers, keyboard,... IFEX Y:\XPEStartup.ini,LOAD Y:\XPEStartup.ini IFEX Y:\XPEStartup.cmd,EXEC Y:\XPEStartup.cmd INIT IU,3000 _END
Ya, I tried multiple things. It looks like this laptop isn't going to come out of 800x600 without injecting the driver. However, I was able to trim down the driver from being 1.5gb to 500mb. So that gives me a little bit of savings to the size of my PE iso.
Thanks a bunch for the information
That is strange, manage-bde wasn't working for me in PE when I tried it before adding the required files. But I have since stripped those files back out of my ISO and it is working, not sure why it wasn't before.
Yes, MS doesn't have them in a "BitLocker" folder, my last 2 previous posts actually specified to grab those file from a working install located at "C:\Windows\System32".
I suggested to put them in a BitLocker folder within the PE as to have a little bit of organization and sanity within your PE, especially for people who have a lot of custom files in the system32 folder of the PE, this is better organized rather than having a bunch of random file strewn about in the folder.
MediaTransferProtocol
this updated file for MediaTransferProtocol_XPE.Script
Code:https://www.mediafire.com/file/ozxucj5fu554660/Mtp.7z/file
Last edited by doudiii; 1 Week Ago at 14:05.