abbodi1406 Posted March 12 Posted March 12 External report https://forums.mydigitallife.net/threads/is-anyone-here-has-msfn-org-account-or-knows-how-to-contact-jfx.90161/ 1
Antonino Posted March 14 Posted March 14 (edited) I saw what u posted, and I think it might be some bad timing in the permission system, or just the fact that some files or folders are not "allowed" at any time during the basic automation process. what u can do is write a folder-copying script and place it in the last hatch as a .bat file , before the installation ends. if it does not copy the whole directory, do it yourself by launching that bat file before rebooting. it is not a solution, but u can try it as a remedy for the time being. and if it is a copy session instead of an install session, for that matter, u can launch the folder-copying script just the same. i hope it will do the job. Edited March 14 by Antonino
click-click Posted March 21 Posted March 21 (edited) WinNTSetup no longer lets me update the BCD for UEFI when only selecting Boot drive and Install drive. I am getting msg below after applying setup. It will update the BIOS BCD, but not for UEFI one. I can boot all entries listed in the UEFI BCD in the classic boot menu. I haven't tried to change anything in the bcd for a while, so I don't know if any patch-tuesdays may have screwed things up. Bootice shows the active BCD without problems and I made a few name changes with it for the boot menu which worked fine. @JFX or anyone else, I need your expertise as to what I can try to fix this Edited March 21 by click-click
click-click Posted March 21 Posted March 21 (edited) Here is a recent log file compared to an older one from 25-01 Creating boot files with BCDBoot.exe: Z:\Windows /s Y: /f UEFI bcdboot version: 10.0.26100.1 (WinBuild.160101.0800) bcdboot cmdline: Z:\Windows /s Y: /f UEFI bcdboot Return : -2146885629 Failure when attempting to copy boot files. Previously Creating boot files with BCDBoot.exe: Z:\Windows /s Y: /l en-US /f UEFI bcdboot version: 10.0.22621.3880 (WinBuild.160101.0800) bcdboot cmdline: Z:\Windows /s Y: /l en-US /f UEFI bcdboot Return : 0 Boot files successfully created. Edited March 22 by click-click
click-click Posted March 22 Posted March 22 (edited) I assigned the ESP partition a drive letter so I could run the bcdboot from a command line intsead of with WinNTSetup and I got the same error: C:\>bcdboot Z:\Windows /s S: /l en-US /f UEFI /v BFSVC: ServiceBootFiles MuiOnly:n Res:y Fonts:y BootMgrOvw:n BootStatOvw:n DbgTrn:y SuspendBDE:n Offline:n BFSVC: Using EX bins because bootmgfw on ESP is 2023 already. BFSVC Error: WinVerifyTrust failed. Error code = 0x80092003 BFSVC Error: ServicingBootFiles failed. Error = 0x80092003 Failure when attempting to copy boot files. Seems like bcdboot will fail if the boot files from the EFI partition are newer than what is in the source ?\Windows Edited March 22 by click-click
JFX Posted March 22 Author Posted March 22 18 hours ago, click-click said: Seems like bcdboot will fail if the boot files from the EFI partition are newer than what is in the source ?\Windows Maybe, but if WinVerifyTrust fails, i would guess that your HostOS is very old.
click-click Posted March 23 Posted March 23 (edited) I run WinNTSetup on updated Win10 LTSC and W11 systems and use it to install, fix mount points, or add new systems to the BCD. I noticed an entry in the BCD that was not showing in the boot menu so I tried to add the entry again with WinNTSetup, but got the error. All of my local up-to-date systems where I tried this showed the same error. I then booted and used an 1809 LTSC VHDx from 2023-12 which did not give me an error. I deleted the old entry with bootice and the newly added entry now shows in the boot menu. I don't have a clue as to what was going on, or fully understand how bcdboot decides what to do. I ran the same command mentioned in my previous post and this time bcdboot had completely different verbose messages indicating Boot files successfully created. No WinVerifyTrust this time and I must wonder if any files actually get copied/replaced in the EFI partition when the stuff in z:\Windows is older. My guess is the missing boot menu entry for the system in the BCD was an indication of some type of corruption that was causing the error, even though booting the rest was not a problem. c:\>bcdboot Z:\Windows /s S: /l en-US /f UEFI /v BFSVC: ServiceBootFiles MuiOnly:n Res:y Fonts:y BootMgrOvw:n BootStatOvw:n DbgTrn:y SuspendBDE:n BootEx:y Offl ine:n BFSVC: Using EX bins because bootmgfw on ESP is 2023 already. BFSVC Warning: EX boot manager source file Z:\Windows\boot\EFI_EX\bootmgfw_EX.efi does not exist, failing grac efully to avoid block servicing. BFSVC: BfsInitializeBcdStore flags(0x0000021c) RetainElementData:n DelExistinObject:n BFSVC: VolumePathName for Z:\Windows is Z:\ BFSVC: SystemRoot is \Windows BFSVC: Opening template from \Device\HarddiskVolume13\Windows\System32\config\BCD-Template. BFSVC: Opening store from \Device\HarddiskVolume1\EFI\Microsoft\Boot\BCD BFSVC: Creating General objects. BFSVC: Creating Resume object. BFSVC: Creating MemTest object. BFSVC: Creating OsLoader object. BFSVC: OsLoader identifier: {04924720-269c-11f1-8157-dd48fe8b5d84} BFSVC: Removing duplicate entries. BFSVC: Create BOOTMGR object RetainBootDefault:n BFSVC: Setting {default} to {04924720-269c-11f1-8157-dd48fe8b5d84} BFSVC: Cleaning up debugger settings. BFSVC: Cleaning up hypervisor settings. BFSVC: Opening recovery store from \Device\HarddiskVolume1\EFI\Microsoft\Recovery\BCD BFSVC: Creating General objects. BFSVC: Create BOOTMGR object RetainBootDefault:y BFSVC: Setting {default} to {5ae80ebc-b03e-11f0-ad44-b5dd86473841} Boot files successfully created. Edited March 23 by click-click
dimo70 Posted June 5 Posted June 5 (edited) JFX, Greetings! Where can I find the full list of all capabilities and features of an ini file for the latest version of WinNTSetup? Edited June 5 by dimo70
ibay770 Posted yesterday at 06:14 AM Posted yesterday at 06:14 AM On 2/25/2026 at 4:31 AM, Antonino said: what for? for baytrail and limited systems that don't need a full install.
Antonino Posted 4 hours ago Posted 4 hours ago if u got the proper scripts, which Virgus and I have written so far (a couple of years now) and can be further and better engineered by those who are cleverer than us, u can do a lot more with a lot less space than is occupied by ur systems, I am sure. wanna cooperate? 1
Antonino Posted 1 hour ago Posted 1 hour ago (edited) I can send you some they are mostly batch files that automate some of the processes let me show you some for instance, winntsetup (with autounattend.html and nvidia driver at the outset) is followed by first deployment. once at the desktop, setupcomplete.cmd is lauched, whose content I will post below @ECHO OFF set CDROM= FOR %%I IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST "%%I:\Updates\Win10MarkerFile.txt" SET CDROM=%%I: if "%CDROM%"=="" goto skipHEVC dism /Online /Add-ProvisionedAppxPackage /PackagePath:"%CDROM%\Updates\HEVC\Microsoft.HEVCVideoExtension_2.0.61931.0_x64__8wekyb3d8bbwe.appx" /SkipLicense :skipHEVC if "%CDROM%"=="" goto skipDX9 start /w "" "%CDROM%\Updates\DX9\DXSETUP.exe" /silent :skipDX9 set CDROM= fsutil behavior set disableLastAccess 1 >nul 2>&1 net accounts /maxpwage:unlimited >nul 2>&1 powercfg /h off >nul 2>&1 powercfg /SETACVALUEINDEX 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 7516b95f-f776-4464-8c53-06167f40cc99 3c0bc021-c8a8-4e07-a973-6b14cbcb2b7e 0 >nul 2>&1 powercfg /SETACVALUEINDEX 381b4222-f694-41f0-9685-ff5bb260df2e 7516b95f-f776-4464-8c53-06167f40cc99 3c0bc021-c8a8-4e07-a973-6b14cbcb2b7e 0 >nul 2>&1 powercfg /SETDCVALUEINDEX 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 2a737441-1930-4402-8d77-b2bebba308a3 48e6b7a6-50f5-4782-a5d4-53bb8f07e226 0 >nul 2>&1 powercfg /SETACVALUEINDEX 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 2a737441-1930-4402-8d77-b2bebba308a3 48e6b7a6-50f5-4782-a5d4-53bb8f07e226 0 >nul 2>&1 powercfg /SETDCVALUEINDEX 381b4222-f694-41f0-9685-ff5bb260df2e 2a737441-1930-4402-8d77-b2bebba308a3 48e6b7a6-50f5-4782-a5d4-53bb8f07e226 0 >nul 2>&1 powercfg /SETACVALUEINDEX 381b4222-f694-41f0-9685-ff5bb260df2e 2a737441-1930-4402-8d77-b2bebba308a3 48e6b7a6-50f5-4782-a5d4-53bb8f07e226 0 >nul 2>&1 powercfg /SETDCVALUEINDEX 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e 0 >nul 2>&1 powercfg /SETACVALUEINDEX 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e 0 >nul 2>&1 powercfg /SETDCVALUEINDEX 381b4222-f694-41f0-9685-ff5bb260df2e 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e 0 >nul 2>&1 powercfg /SETACVALUEINDEX 381b4222-f694-41f0-9685-ff5bb260df2e 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e 0 >nul 2>&1 certutil -addstore -f authroot "%windir%\Setup\Scripts\AuthRoot.sst" >nul 2>&1 set "PF=%ProgramFiles%" if not "%ProgramFiles(x86)%"=="" set "PF=%ProgramFiles(x86)%" set EdgeSetup= for /f "delims=" %%i in ('dir /b /s /a-d "%PF%\Microsoft\Edge\Application\setup.exe" 2^>nul') do (set "EdgeSetup=%%i") if "%EdgeSetup%"=="" goto skipEdgeUinstall start /w "" "%EdgeSetup%" --uninstall --system-level --force-uninstall rd /s /q "%PF%\Microsoft\Edge" >nul 2>&1 :skipEdgeUinstall set EdgeSetup= for /f "delims=" %%i in ('dir /b /s /a-d "%PF%\Microsoft\EdgeUpdate\MicrosoftEdgeUpdateSetup.exe" 2^>nul') do (set "EdgeSetup=%%dpi") if "%EdgeSetup%"=="" goto skipEdgeUpdateUinstall if exist "%EdgeSetup%MicrosoftEdgeUpdate.exe" start /w "" "%EdgeSetup%MicrosoftEdgeUpdate.exe" /unregsvc if exist "%EdgeSetup%MicrosoftEdgeUpdate.exe" start /w "" "%EdgeSetup%MicrosoftEdgeUpdate.exe" /uninstall if exist "%EdgeSetup%psmachine_64.dll" start /w "" "%windir%\System32\regsvr32.exe" /u /s "%EdgeSetup%psmachine_64.dll" if exist "%EdgeSetup%psmachine.dll" start /w "" "%windir%\System32\regsvr32.exe" /u /s "%EdgeSetup%psmachine.dll" rd /s /q "%PF%\Microsoft\EdgeUpdate" >nul 2>&1 rd /s /q "%ProgramData%\Microsoft\EdgeUpdate" >nul 2>&1 if not "%ProgramFiles(x86)%"=="" ( reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate" /v "version" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate" /v "path" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate" /v "UninstallCmdLine" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\ClientState" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\UsageStats" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge Update" /f >nul 2>&1 ) if "%ProgramFiles(x86)%"=="" ( reg delete "HKLM\SOFTWARE\Microsoft\EdgeUpdate" /v "version" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\Microsoft\EdgeUpdate" /v "path" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\Microsoft\EdgeUpdate" /v "UninstallCmdLine" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\Microsoft\EdgeUpdate\Clients" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\Microsoft\EdgeUpdate\ClientState" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\Microsoft\EdgeUpdate\UsageStats" /f >nul 2>&1 reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge Update" /f >nul 2>&1 ) set "EdgeSettings={56EB18F8-B008-4CBD-B6D2-8C97FE7E9062},{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5},{F3C4FE00-EFD5-403B-9569-398A20F1BA4A}" set "EdgeKeys=on-logon,on-logon-autolaunch,on-logon-startup-boost,on-os-upgrade" for %%e in (%EdgeSettings%) do ( for %%k in (%EdgeKeys%) do ( if "%ProgramFiles(x86)%"=="" ( reg add "HKLM\SOFTWARE\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "AutoRunOnLogon" /t REG_DWORD /d "0" /f >nul 2>&1 reg add "HKLM\SOFTWARE\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "AutoRunOnOSUpgrade" /t REG_DWORD /d "0" /f >nul 2>&1 reg add "HKLM\SOFTWARE\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "Enabled" /t REG_DWORD /d "0" /f >nul 2>&1 reg add "HKLM\SOFTWARE\Policies\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "AutoRunOnLogon" /t REG_DWORD /d "0" /f >nul 2>&1 reg add "HKLM\SOFTWARE\Policies\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "AutoRunOnOSUpgrade" /t REG_DWORD /d "0" /f >nul 2>&1 reg add "HKLM\SOFTWARE\Policies\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "Enabled" /t REG_DWORD /d "0" /f >nul 2>&1 ) if not "%ProgramFiles(x86)%"=="" ( reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "AutoRunOnLogon" /t REG_DWORD /d "0" /f >nul 2>&1 reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "AutoRunOnOSUpgrade" /t REG_DWORD /d "0" /f >nul 2>&1 reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "Enabled" /t REG_DWORD /d "0" /f >nul 2>&1 reg add "HKLM\SOFTWARE\WOW6432Node\Policies\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "AutoRunOnLogon" /t REG_DWORD /d "0" /f >nul 2>&1 reg add "HKLM\SOFTWARE\WOW6432Node\Policies\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "AutoRunOnOSUpgrade" /t REG_DWORD /d "0" /f >nul 2>&1 reg add "HKLM\SOFTWARE\WOW6432Node\Policies\Microsoft\EdgeUpdate\Clients\%%e\Commands\%%k" /v "Enabled" /t REG_DWORD /d "0" /f >nul 2>&1 ) ) ) set EdgeSettings= set EdgeKeys= :skipEdgeUpdateUinstall set PF= set EdgeSetup= start /w "" "%ProgramFiles%\OpenShellSetup_4_4_191.exe" /qn ADDLOCAL=StartMenu rd /s /q "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Open-Shell" >nul 2>&1 del /q /f "%ProgramFiles%\OpenShellSetup_4_4_191.exe" >nul 2>&1 call "D:\ESSENTIALS\Primo Ramdisk Server Edition 5.6.0 @Essentials\_Primo Ramdisk Server Edition 5.6.0 SilentInstall (inno).bat" call "E:\OSCustomizer\whats2Bdun\.AtTheOutset\prepping\1ST.bat" call "D:\ESSENTIALS\LaunchBar\16. whats2Bdun\.AtTheOutset\8. svbus13latest\bin\instx64.exe" call "E:\OSCustomizer\whats2Bdun\.AtTheOutset\overallestninoultimatereservemanager.bat" call "D:\ESSENTIALS\LaunchBar\15. whats2Bdun\15. Microsoft DirectX SDK (June 2010)\Redist\DXSETUP.exe" call "E:\OSCustomizer\whats2Bdun\AtTheOutset\nvidiajunction11.bat" call "D:\ESSENTIALS\LaunchBar\15. whats2Bdun\7. EcMenu_v1.6\EcMenu_x64.exe" call "D:\ESSENTIALS\LaunchBar\15. whats2Bdun\22. UWT\Ultimate Windows Tweaker 4.8.exe" call "D:\ESSENTIALS\LaunchBar\15. whats2Bdun\main batch files\NPowerCfgProfiles.bat" call "E:\OSCustomizer\whats2Bdun\.AtTheOutset\prepping\inboundcall.bat" call "E:\OSCustomizer\whats2Bdun\.AtTheOutset\prepping\inboundcall2.bat" call "E:\OSCustomizer\whats2Bdun\.AtTheOutset\prepping\preppingmaster.bat" call "D:\ESSENTIALS\LaunchBar\14. Winslop.exe.lnk" call "D:\ESSENTIALS\LaunchBar\13. RepairKit-1.3.8.exe.lnk" call "E:\OSCustomizer\whats2Bdun\winscript.bat" call "d:\Downloads\winruntime.bat" Edited 1 hour ago by Antonino
Antonino Posted 1 hour ago Posted 1 hour ago then, after the setupcomplete.cmd above runonceall.reg is injected, whose content I will post below: Windows Registry Editor Version 5.00 ; Created with Winaero Tweaker 0.10.1.0 ; https://winaero.com [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce] "1st"="E:\\OSCustomizer\\whats2Bdun\\.AtTheOutset\\prepping\\1ST.bat" "svbus"="D:\ESSENTIALS\\LaunchBar\16. whats2Bdun\\.AtTheOutset\8. svbus13latest\\bin\\instx64.exe" "overallestlara"="E:\\OSCustomizer\\whats2Bdun\\.AtTheOutset\\overallestninoultimatereservemanager.bat" "dx"="D:\\ESSENTIALS\\LaunchBar\\15. whats2Bdun\\15. Microsoft DirectX SDK (June 2010)\\Redist\\DXSETUP.exe" "nvidia"="E:\\OSCustomizer\\whats2Bdun\\AtTheOutset\\nvidiajunction11.bat" "winruntime"="d:\\Downloads\\winruntime.bat" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce] "1st"="E:\\OSCustomizer\\whats2Bdun\\.AtTheOutset\\prepping\\1ST.bat" "svbus"="D:\ESSENTIALS\LaunchBar\16. whats2Bdun\.AtTheOutset\8. svbus13latest\bin\instx64.exe" "overallestlara"="E:\\OSCustomizer\\whats2Bdun\\.AtTheOutset\\overallestninoultimatereservemanager.bat" "dx"="D:\\ESSENTIALS\\LaunchBar\\15. whats2Bdun\\15. Microsoft DirectX SDK (June 2010)\\Redist\\DXSETUP.exe" "nvidia"="E:\\OSCustomizer\\whats2Bdun\\AtTheOutset\\nvidiajunction11.bat" "winruntime"="d:\\Downloads\\winruntime.bat" [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce] "ECMenu"="D:\\ESSENTIALS\\LaunchBar\\15. whats2Bdun\\7. EcMenu_v1.6\\EcMenu_x64.exe" "UWT"="D:\\ESSENTIALS\\LaunchBar\\15. whats2Bdun\\22. UWT\\Ultimate Windows Tweaker 4.8.exe" "PowerProfiles"="D:\\ESSENTIALS\\LaunchBar\\15. whats2Bdun\\main batch files\\NPowerCfgProfiles.bat" "inbound"="E:\\OSCustomizer\\whats2Bdun\\.AtTheOutset\\prepping\\inboundcall.bat" "inbound2"="E:\\OSCustomizer\\whats2Bdun\\.AtTheOutset\\prepping\\inboundcall2.bat" "preppingmaster"="E:\\OSCustomizer\\whats2Bdun\\.AtTheOutset\prepping\\preppingmaster.bat" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce] "ECMenu"="D:\\ESSENTIALS\\LaunchBar\\15. whats2Bdun\\7. EcMenu_v1.6\\EcMenu_x64.exe" "UWT"="D:\\ESSENTIALS\\LaunchBar\\15. whats2Bdun\\22. UWT\\Ultimate Windows Tweaker 4.8.exe" "PowerProfiles"="D:\\ESSENTIALS\\LaunchBar\\15. whats2Bdun\\main batch files\\NPowerCfgProfiles.bat" "inbound"="E:\\OSCustomizer\\whats2Bdun\\.AtTheOutset\\prepping\\inboundcall.bat" "inbound2"="E:\\OSCustomizer\\whats2Bdun\\.AtTheOutset\\prepping\\inboundcall2.bat" "preppingmaster"="E:\OSCustomizer\whats2Bdun\.AtTheOutset\prepping\preppingmaster.bat"
Antonino Posted 1 hour ago Posted 1 hour ago reboot and some things have gotten automatically configured of course you would have to know the content of some bat files and figure out whether or not they apply to your system
Antonino Posted 1 hour ago Posted 1 hour ago with a lot of patience which I pledge to be on my part, I am ready to disclose everything u would like to know about; only upon request, though.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now