update for Windows 11 modern skin

This commit is contained in:
slore 2023-09-24 16:03:20 +08:00
parent cb5a786d37
commit 0c6850e70e
3 changed files with 9 additions and 3 deletions

View File

@ -3,6 +3,10 @@ del /q X:\Users\Default\NTUSER.DAT
copy /y X:\Windows\System32\config\Default X:\Users\Default\NTUSER.DAT
echo Update registry ...
rem show logon animation
reg delete "HKLM\tmp_DEFAULT\Control Panel\Desktop" /v "UserPreferencesMask" /f
set "regkey=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
reg add "%regkey%" /v AutoAdminLogon /t REG_DWORD /d 1 /f
reg add "%regkey%" /v DefaultUserName /d Administrator /f
@ -37,7 +41,6 @@ if exist X:\Windows\security\templates\unattend.inf (
)
echo Start services ...
rem -- call_dll('Netapi32.dll','NetJoinDomain', nil, 'WORKGROUP', nil, nil, nil, 32)
sc start seclogon
if exist "%WinDir%\System32\PreCreateAdminProfile.bat" call PreCreateAdminProfile.bat
@ -52,8 +55,11 @@ if exist X:\Windows\System32\AppxSysprep.dll (
sc start Schedule
sc start AppReadiness
rem sc stop DsmSvc
rem classic contextmenu
rem reg delete "HKLM\tmp_SOFTWARE\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /va /f
)
start /wait "System Init" "X:\Program Files\WinXShell\WinXShell.exe" -code WinPE:SystemInit()
start /wait "NetJoin" "X:\Program Files\WinXShell\WinXShell.exe" -code System:NetJoin('WORKGROUP')
echo Ready to logon ...
tsdiscon.exe

View File

@ -54,7 +54,7 @@ if %VER[3]% GTR 17700 set VER_XAMLRES=rs5
if %VER[3]% GTR 18300 set VER_XAMLRES=19h1
if %VER[3]% GTR 21000 set VER_XAMLRES=21h1
rem for future version
if %VER[3]% GTR 22000 set VER_XAMLRES=*
if %VER[3]% GTR 23000 set VER_XAMLRES=*
set VER_XAMLRES=.%VER_XAMLRES%
if "x%VER_XAMLRES%"=="x." set VER_XAMLRES=

View File

@ -71,7 +71,7 @@ goto :EOF
:_Slim_nls
if "x%WB_PE_ACP%"=="x*" goto :EOF
call :KEEP_FILES \Windows\System32\ "C_1252.NLS,C_437.NLS,C_20127.NLS"
call :KEEP_FILES \Windows\System32\ "C_1252.NLS,C_28591.NLS,C_437.NLS,C_20127.NLS"
if not "x%WB_PE_ACP%"=="x1252" (
call :KEEP_FILE \Windows\System32\C_%WB_PE_ACP%.NLS
)