Add an update-status tool and copy numbered scripts to Desktop\Tools

80-Get-UpdateStatus-Admin.ps1 prints whether the Windows 11 guest is
upgrading or downloading updates (policy, pending markers, services,
processes, BITS jobs, update events, network use); the .bat launcher
elevates and keeps the window open.

The seed ISO and Configure-Windows.ps1 now take every NN-*.bat and
NN-*.ps1, and the first-logon copy goes to Desktop\Tools instead of
Desktop\Installers.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
GuofangandClaude Sonnet 5.5 committed 2026-10-26 09:27:52 +08:00
1 parent fccc7986d9
commit 72af276309
5 files changed
+127 -5

No files matched your search

@@ -0,0 +1,14 @@
@echo off
setlocal
title Windows update status
fltmc >nul 2>&1
if errorlevel 1 (
echo Requesting administrator rights...
powershell.exe -NoProfile -Command "Start-Process -FilePath '%~f0' -Verb RunAs"
exit /b
)
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp080-Get-UpdateStatus-Admin.ps1"
echo.
pause