Topic: Win10XPE Project  (Read 141381 times)

Re: Win10XPE Project
« Reply #660 on: September 20, 2019, 01:08:10 PM »

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
I don't get the error with NiniNX or MiniNX!
But okay, it's better as a user's choice, I'll disable it, not patched by default

Build Core ONLY, and Explorer Shell with all the addtion feature unselected. (default Patch the controller.dll)

Build and boot, access \\192.168.56.1\ in Explorer will get error.
But it is good(show Console UI) without Patching the controller.dll, in this build, you modify it to be NiniNX,
also get error.
« Last Edit: September 20, 2019, 01:08:26 PM by slore »

Re: Win10XPE Project
« Reply #661 on: September 20, 2019, 02:14:26 PM »

ChrisR

  • Moderator, XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Ok, thanks  :smile:

Re: Win10XPE Project
« Reply #662 on: September 20, 2019, 02:56:18 PM »

slore

  • WimBuilder
  • Sr. Chef
  • ****
  • Date Registered: Jun 2016
  • Posts: 664
Build with 2019-09-18, and confirmed it indeed needs both Remote Desktop and Switch to Admin plugins,
otherwise it casues error when access network share folder.

Re: Win10XPE Project
« Reply #663 on: September 20, 2019, 05:17:20 PM »

ChrisR

  • Moderator, XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Win10XPE_2019-09-20 update

Rufus: Update v3.8
PinUtil: Update v1.3 Support for Pecmd Syntax Added
binmay: (New) Command Line Binary Search and Replace Tool. It is Placed in the Tools Folder and the Related Scripts are Modified
The "Patch Controller.dll to Get the Credentials Window" Option is now Disabled by Default
Both Remote Desktop and Switch to Admin plugins must also be Enabled

:cheers:

Re: Win10XPE Project
« Reply #664 on: September 20, 2019, 07:24:31 PM »

cretino

  • Chef
  • ***
  • Date Registered: Jan 2018
  • Posts: 240
hi ChrisR

thanks for the updates  :thumbsup:

yesterday tested Win10XPE_2019-09-18 update & noted that when i kill explorer process he didnt start automatically via task manager (only in admin mode ) but with batch file is ok ...
« Last Edit: September 20, 2019, 07:30:22 PM by cretino »

Re: Win10XPE Project
« Reply #665 on: September 21, 2019, 08:31:25 AM »

ChrisR

  • Moderator, XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Hi cretino,

Yes, in the Admin session, explorer is automatically launched at startup by the system, according to the key
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon,Shell,explorer.exe

So I don't use SHEL %WinDir%\explorer.exe for Admin
Otherwise the Admin session is opened with an explorer window already open

To keep SHEL explore in pecmd.ini and allow the auto restart, you can try changing like that:
 
Code: [Select]
_SUB LoadShell

//EXEC Y:\Programs\ProcessMonitor_x64\Procmon.exe

// Enable ctfmon: Alternative User Input Text Input Processor (TIP) (Uncommented for Chinese and Korean windows source). Not to be changed, Replace //EXEC by //=EXEC
//EXEC %WinDir%\System32\ctfmon.exe

FIND $%USERNAME%=SYSTEM,SHEL %WinDir%\explorer.exe
//SHEL %ProgramFiles%\WinXShell\WinXShell.exe -winpe

_END

==>

Code: [Select]
_SUB LoadShell

//EXEC Y:\Programs\ProcessMonitor_x64\Procmon.exe

// To Kill explorer auto launched in Admin Session. No impact in the system session, explorer is not started
FIND explorer.exe,KILL explorer.exe

// Enable ctfmon: Alternative User Input Text Input Processor (TIP) (Uncommented for Chinese and Korean windows source). Not to be changed, Replace //EXEC by //=EXEC
//EXEC %WinDir%\System32\ctfmon.exe

SHEL %WinDir%\explorer.exe
//SHEL %ProgramFiles%\WinXShell\WinXShell.exe -winpe

_END

Let me know what you think about, it's maybe better
I'll read you later, I'm going to be busy until Tuesday
:smile:

Re: Win10XPE Project
« Reply #666 on: September 21, 2019, 10:24:09 PM »

cretino

  • Chef
  • ***
  • Date Registered: Jan 2018
  • Posts: 240
hi ChrisR
thank you for the solution , tested and ok for me (beside this harmless screen ) :grin: 
Code: [Select]
https://vimeo.com/361552394

Re: Win10XPE Project
« Reply #667 on: September 26, 2019, 08:36:18 AM »

texervn

  • Jr. Chef
  • **
  • Date Registered: Jul 2019
  • Posts: 46
Thanks  ChrisR for a great update  :thumbsup:
I have tested with Insider 10.0.18985.1 and everything works like a charm.

I have a few more comments:

1) Can we set %Architecture%=x86 at the beginning? so that we can test some plugin without need of the (DVD) source
2) For the ComputerName: We can move the followings (Config.Script)
Code: [Select]
-RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Control\ComputerName\ComputerName,ComputerName,%ProjectName%
-RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Control\ComputerName\ActiveComputerName,ComputerName,%ProjectName%
-RegWrite,HKLM,0x1,Tmp_System\ControlSet001\services\Tcpip\Parameters,"NV Hostname",%ProjectName%
-RegWrite,HKLM,0x1,Tmp_System\ControlSet001\services\Tcpip\Parameters,Hostname,%ProjectName%
-RegWrite,HKLM,0x1,"Tmp_System\ControlSet001\Control\Session Manager\Environment",ComputerName,%ProjectName%

to ->>>

CoreOptions.Script
Code: [Select]
+  RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Control\ComputerName\ComputerName,ComputerName,%ProjectName%
+  RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Control\ComputerName\ActiveComputerName,ComputerName,%ProjectName%
+  RegWrite,HKLM,0x1,Tmp_System\ControlSet001\services\Tcpip\Parameters,"NV Hostname",%ProjectName%
+  RegWrite,HKLM,0x1,Tmp_System\ControlSet001\services\Tcpip\Parameters,Hostname,%ProjectName%
+  RegWrite,HKLM,0x1,"Tmp_System\ControlSet001\Control\Session Manager\Environment",ComputerName,%ProjectName%
+  RegWrite,HKLM,0x1,"Tmp_software\Microsoft\Windows NT\CurrentVersion",RegisteredOwner,%ProjectName%
+  RegWrite,HKLM,0x4,"Tmp_software\Microsoft\Windows NT\CurrentVersion\WinPE",SetComputerName,0

Reason: We do not need to write the entries twice to the registry.
(To better see the line numbers of these changes, please check out just some places in this patch: https://raw.githubusercontent.com/texervn/WinBuilder-Addons/master/WBLogs/Win10XPE.patch)

3) For the GWT tool, Attached below we can find a Winbuilder-ish way to get the latest update of ADK.
* Win10Kits_XPE.script (32.95 kB - downloaded 39 times.)

Re: Win10XPE Project
« Reply #668 on: September 26, 2019, 11:45:22 AM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
I see someone trying to undo all things XPE with personal development....

Re: Win10XPE Project
« Reply #669 on: September 26, 2019, 04:54:08 PM »

ChrisR

  • Moderator, XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Yep, why reinvent the wheel :confused:

For the ComputerName, It seemed better to me to do it in 2 steps:
- The default name WIN10XPE in Config with the default project registry saved then in cache
- and to update it, if the option is selected, in CoreOptions like the other options

About GetWaikTool, it does the job well and goes further it seems to me than just downloading
with integrity checks, bcdedit,bcdeboot... v10.10586 for Windows 7 compatibility

Re: Win10XPE Project
« Reply #670 on: September 26, 2019, 10:20:48 PM »

texervn

  • Jr. Chef
  • **
  • Date Registered: Jul 2019
  • Posts: 46
Yep, why reinvent the wheel :confused:
Not really. I do not know the source of GWT.exe and am just curious about how to handle the updating.

Quote
For the ComputerName, It seemed better to me to do it in 2 steps:
- The default name WIN10XPE in Config with the default project registry saved then in cache
- and to update it, if the option is selected, in CoreOptions like the other options
I see your purpose now. Saving cache to make the build faster?

Quote
About GetWaikTool, it does the job well and goes further it seems to me than just downloading
with integrity checks, bcdedit,bcdeboot... v10.10586 for Windows 7 compatibility
I do not know about this compatibility.

GWT downloads the followings urls for (ADK10):
Code: [Select]
38BBCA6A-ADC9-4245-BCD8-DAA136F63C8B/adk/Installers/56dd07dea070851064af5d29cadfac56.cab
38BBCA6A-ADC9-4245-BCD8-DAA136F63C8B/adk/Installers/630e2d20d5f2abcc3403b1d7783db037.cab

9AE69DD5-BA93-44E0-864E-180F5E700AB4/adk/Installers/941dd5f1c32c7cec49703f0dfde8eba5.cab
9AE69DD5-BA93-44E0-864E-180F5E700AB4/adk/Installers/fdfb8cfc2e4d170431fb6b8c67210672.cab

BE63E3A5-5D1C-43E7-9875-DFA2B301EC70/adk/Installers/5d984200acbde182fd99cbfbe9bad133.cab
BE63E3A5-5D1C-43E7-9875-DFA2B301EC70/adk/Installers/bbf55224a0290f00676ddc410f004498.cab
BE63E3A5-5D1C-43E7-9875-DFA2B301EC70/adk/Installers/3b71855dfae6a44ab353293c119908b8.cab
BE63E3A5-5D1C-43E7-9875-DFA2B301EC70/adk/Installers/a7eb3390a15bcd2c80a978c75f2dcc4f.cab
BE63E3A5-5D1C-43E7-9875-DFA2B301EC70/adk/Installers/eacac0698d5fa03569c86b25f90113b5.cab
BE63E3A5-5D1C-43E7-9875-DFA2B301EC70/adk/Installers/d2611745022d67cf9a7703eb131ca487.cab

If we want to get the build 10.10586, we should download cab files in the same folder, for example:

Code: [Select]
38BBCA6A-ADC9-4245-BCD8-DAA136F63C8B/adk/Installers/56dd07dea070851064af5d29cadfac56.cab
38BBCA6A-ADC9-4245-BCD8-DAA136F63C8B/adk/Installers/630e2d20d5f2abcc3403b1d7783db037.cab

38BBCA6A-ADC9-4245-BCD8-DAA136F63C8B/adk/Installers/941dd5f1c32c7cec49703f0dfde8eba5.cab

38BBCA6A-ADC9-4245-BCD8-DAA136F63C8B/adk/Installers/5d984200acbde182fd99cbfbe9bad133.cab


Re: Win10XPE Project
« Reply #671 on: September 27, 2019, 11:38:03 AM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
We do not add support for MS Preview Releases - all projects use Official MS Release Media
Although some users are testing with 18990 Preview Release

Re: Win10XPE Project
« Reply #672 on: October 31, 2019, 03:57:36 AM »

Sentira

  • Jr. Chef
  • **
  • Date Registered: Mar 2014
  • Posts: 20
I've created a very good Win7PE, and I'm going to try an tackle a Win version, but I'm trying to understand how to boot into a USB Boot tool on a computer/laptop running UEFI:"Safe Boot" Enabled, and haven't had much luck getting proper access, I can turn it off and gain access to the USB drive, but the M.2 or SSD internal is not visible. What am I doing wrong?

Thanks for the Support.

Re: Win10XPE Project
« Reply #673 on: October 31, 2019, 04:01:31 AM »

Sentira

  • Jr. Chef
  • **
  • Date Registered: Mar 2014
  • Posts: 20
I've created a very good Win7PE which I still use with limited success, and I'm going to try an tackle a Win10XPE version, but I'm trying to understand how to boot into a USB Boot tool on a computer/laptop running UEFI:"Safe Boot" Enabled, and haven't had much luck gaining proper access, I can turn "Safe Boot" off and gain access to the USB drive, but the M.2 or SSD internal is not visible. What am I doing wrong?

Thanks for the Support.

Re: Win10XPE Project
« Reply #674 on: October 31, 2019, 11:45:54 AM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
export and Integrate the Intel Storage Driver from the Host

Re: Win10XPE Project
« Reply #675 on: October 31, 2019, 07:14:26 PM »

Sentira

  • Jr. Chef
  • **
  • Date Registered: Mar 2014
  • Posts: 20
Got it working... Thank you.

NOW, I need to boot to it on a MS Surface Pro, and I have managed to turn off Safe Boot on the Surface, but can't seem to select the USB drive

Re: Win10XPE Project
« Reply #676 on: November 20, 2019, 04:24:38 PM »

ChrisR

  • Moderator, XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Win10XPE_2019-11-20 update

Pre-Check: (New) Pre-Check Before Building of Build Core + Check NtfsCompression - Check for correct cmd.exe return code
     Asked Confirmation whether or not to continue building, if AntiVirus is Active on the base directory
OpenHideOutput: New global variable for ShellExecute Console output Redirect in PEBakery
PEBakeryCompat.ini: Win10XPE Compatibility settings for PEBakery.
     Noted also PathSetting=False in main script.project to disabled Source Directory selection in PEBakery Settings.
     In Win10XPE, the selection of the Windows Source Folder is done in the main script
Build Core: Path for Export Drivers changed to Custom\ExportDrivers\x64(x86)
Macro: Fix Download macro in case of space(s) in path. In case of download issue, the aria2c log is written in Temp folder
Create ISO: Enable FAT32 File System by default for Rufus and display a message with the recommended Settings for a successful start-up
     Hidden variable option link with bcd checkbox to Display Boot Menu to access Memory Test.
WinXShell: update v4.2
StartIsBack: TaskbarJumpList is now disabled by default to prevent the desktop from crashing
hiderun: Update to remove some AV false alarms
mpg123: Update v1.25.13
nircmd: Update v2.86
Q-Dir: Update v7.9.5
Acronis TrueImage 2020: Supports Retail Release
AOMEI Backupper: Update v5.3
AOMEI Partition Assistant: Update v8.5
Defraggler, Speccy, Recuva: Changed to support setup version, the Portable Version on Host Server Removed
Macrium Reflect: Update v7.2.4539. Add the new feature ReDeploy To New Hardware now available in Home version
HWinfo: update v6.14
WizTree: update 3.30
MPC-BE: Download URL updated
AnyDesk: update v5.3.3
GoogleChrome: update v78.0.3904.97
Beyond Compare 4: update v4.3.2.24472
SetMaxResolution: MultiMonitorTool update v1.9.6
XPE Microsoft Edge Plugin Creator: IniWriteTextLine Registry errors fixed
Mega Optional Apps Download Utility: (New) The MegaCmd Program Will Be Used To Download Optional Apps Files Hosted on MEGA's Server

:cheers:
« Last Edit: November 20, 2019, 04:26:12 PM by ChrisR »

Re: Win10XPE Project
« Reply #677 on: November 20, 2019, 10:04:15 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Thank You Chris...

Re: Win10XPE Project
« Reply #678 on: November 20, 2019, 10:22:20 PM »

ffrags

  • Jr. Chef
  • **
  • Date Registered: Jan 2019
  • Posts: 23
Ditto the thank you Chris...

Your efforts are very appreciated by all and especially so by those of us who use Win10XPE almost daily but barely understand its inner workings.

Re: Win10XPE Project
« Reply #679 on: November 20, 2019, 10:26:27 PM »

ffrags

  • Jr. Chef
  • **
  • Date Registered: Jan 2019
  • Posts: 23

And James, thanks to you for all your helpful answers within these forums and for the valuable additional plug-ins you provide.

All most appreciated too.

 

Powered by EzPortal