diff --git a/README.md b/README.md index 9aad4ae..dec51d7 100644 --- a/README.md +++ b/README.md @@ -230,7 +230,7 @@ You can download all the needed software packages with the script "01_DownloadAl To do this execute: ```dos -cd /D %USERPROFILE%\workspace\git\w10install +cd /D %USERPROFILE%\workspace\w10install 01_DownloadAll.cmd ``` @@ -244,7 +244,7 @@ The "basic" software is needed to make this work. Execute: ```dos -cd /D %USERPROFILE%\workspace\git\w10install\software +cd /D %USERPROFILE%\workspace\w10install\software download-from-source.cmd basic ``` @@ -258,7 +258,7 @@ This contains firefox and some addons ... To download it execute: ```dos -cd /D %USERPROFILE%\workspace\git\w10install\software +cd /D %USERPROFILE%\workspace\w10install\software download-from-source.cmd browser ``` @@ -272,7 +272,7 @@ This contains optional software. For e.g.: Purebasic, TotalCommander, em-Client, To download it execute: ```dos -cd /D %USERPROFILE%\workspace\git\w10install\software +cd /D %USERPROFILE%\workspace\w10install\software download-from-source.cmd optional ``` @@ -284,11 +284,7 @@ Notice: Purebasic is needed to compile the software in the folder "source". Thes ## 4.4 Windows 10 ISO file -My actual work is based on the English version of Windows 20H2 v1 64-bit. So we will need the ISO-file: "Win10_20H2_English_x64.iso". You could: - -- download it yourself from Microsoft, -- you could use the tool "MediaCreationTool20H2.exe" (provided in the folder "software") -- or you could use the "HeiDoc" Windows ISO Downloader +My actual work is based on the English version of Windows LTSC 21H2 64-bit. So we will need a Windows 10 LTSC ISO-file. Get it from here: https://www.microsoft.com/en-us/evalcenter/download-windows-10-enterprise. I prefer to use the Windows ISO downloader ("Windows-ISO-Downloader.exe" in the folder "software"). @@ -317,8 +313,8 @@ The ISO file must be extacted to the disk now. The files will be place in c:\tem Just execute: ```dos -cd /D %USERPROFILE%\workspace\git\w10install -02_ExtractIso.cmd software\Win10_20H2_English_x64.iso +cd /D %USERPROFILE%\workspace\w10install +02_ExtractIso.cmd software\19044.1288.211006-0501.21h2_release_svc_refresh_CLIENT_LTSC_EVAL_x64FRE_en-us.iso ``` @@ -336,7 +332,7 @@ Uploading all the software to your own server is easy. Just create the folder "p Example for personal\ftpsettings.cmd: ```text FTP_SERVER=example.com -FTP_PATH=/path/to/directory/w10install/W1020H2v1 +FTP_PATH=/path/to/directory/w10install FTP_USER=myuser FTP_PASS=mypass @@ -357,7 +353,7 @@ Lets say you want to upload all browser related software to your private ftp ser Execute: ```dos -cd /D %USERPROFILE%\workspace\git\w10install\software +cd /D %USERPROFILE%\workspace\w10install upload-to-ftp.cmd browser ``` @@ -371,7 +367,7 @@ Lets say you want to upload the driver software for the WFC5210 printer to your Execute: ```dos -cd /D %USERPROFILE%\workspace\git\w10install\software +cd /D %USERPROFILE%\workspace\w10install upload-to-ftp-singlefile.cmd WFC5210-setup.exe ``` @@ -385,7 +381,7 @@ When you have uploaded the entire software to your private ftp server you can do Just execute: ```dos -cd /D %USERPROFILE%\workspace\git\w10install\software +cd /D %USERPROFILE%\workspace\w10install download-from-ftp.cmd basic download-from-ftp.cmd browser download-from-ftp.cmd optional @@ -402,7 +398,7 @@ This is needed to be able to edit the Microsoft XML files (needed for unattended To install it just execute: ```dos -cd /D %USERPROFILE%\workspace\git\w10install\scripts +cd /D %USERPROFILE%\workspace\w10install\scripts install-adk.cmd ``` @@ -412,7 +408,7 @@ install-adk.cmd Creating a new windows image and removing "builtin" packages needs a tool called "install_wim_tweak". To install this tool an some others just execute: ```dos -cd /D %USERPROFILE%\workspace\git\w10install\scripts +cd /D %USERPROFILE%\workspace\w10install\scripts unpack-zipfiles.cmd ``` @@ -435,7 +431,7 @@ Many things will be done here: Execute: ```dos -cd /D %USERPROFILE%\workspace\git\w10install +cd /D %USERPROFILE%\workspace\w10install 03_PrepareBoot.cmd ``` @@ -541,7 +537,7 @@ READY. Execute: ```dos -cd /D %USERPROFILE%\workspace\git\w10install +cd /D %USERPROFILE%\workspace\w10install 04_PrepareImage.cmd /R ``` @@ -567,7 +563,7 @@ Exporting image [==========================100.0%==========================] The operation completed successfully. [export-image.cmd] WARNING: removing original C:\TEMP\W10\sources\install.wim ... -[export-image.cmd] INFO: renaming C:\TEMP\W10\sources\w10pro.wim ... +[export-image.cmd] INFO: renaming C:\TEMP\W10\sources\w10.wim ... 1 file(s) moved. READY. @@ -645,7 +641,7 @@ Please use a fast USB 3 stick or a SSD disk connected via USB. The size should b To create it execute: ```dos -cd /D %USERPROFILE%\workspace\git\w10install +cd /D %USERPROFILE%\workspace\w10install 05_FormatMedia.cmd ``` @@ -733,7 +729,7 @@ Now it's time to copy the custom windows images, all scripts and additional 3rd Execute: ```dos -cd /D %USERPROFILE%\workspace\git\w10install +cd /D %USERPROFILE%\workspace\w10install 06_Copy2Media.cmd E: ``` @@ -849,7 +845,7 @@ READY. In case you need an ISO image you can create it with the following command: ```dos -cd /D %USERPROFILE%\workspace\git\w10install +cd /D %USERPROFILE%\workspace\w10install 07_MakeISO.cmd E: ``` diff --git a/scripts/autoconfig.cmd b/scripts/autoconfig.cmd index f0ac306..c7394cc 100644 --- a/scripts/autoconfig.cmd +++ b/scripts/autoconfig.cmd @@ -21,7 +21,7 @@ rem =================== set LANG=en-US set windows_updates=0 -set windows_targetrelease=2009 +set windows_targetrelease=2109 set logon_logo=0 set install_firefox=0 set install_aerolite=0 @@ -33,8 +33,14 @@ set preserve_savedgames_folder=1 set searchdomains=localdomain,fritz.box set gitserver=github.com set gitrepo=my_repo_at_github +set localadmin=localadmin +set localadmin_name=Local Administrator set start_desktopinfo=0 set use_nettime=0 +set bluetooth_networking=0 +set ms_tcpip6=0 +set ms_implat=0 +set ms_server=0 echo ####### %0 ####### date /t @@ -76,11 +82,19 @@ echo bgcol_G=%bgcol_G% echo bgcol_B=%bgcol_B% echo explorer_quick_access=%explorer_quick_access% echo preserve_savedgames_folder=%preserve_savedgames_folder% +echo domain=%domain% echo searchdomains=%searchdomains% echo gitserver=%gitserver% echo gitrepo=%gitrepo% +echo localadmin=%localadmin% +echo localadmin_name=%localadmin_name% echo start_desktopinfo=%start_desktopinfo% echo set use_nettime=%use_nettime% +echo bluetooth_networking=%bluetooth_networking% +echo ms_tcpip6=%ms_tcpip6% +echo ms_implat=%ms_implat% +echo ms_server=%ms_server% + echo ++++++++++++++++++ echo. @@ -148,9 +162,6 @@ echo. call modify-path.cmd echo. -call modify-windowsupdate.cmd -echo. - call modify-explorer.cmd echo. diff --git a/scripts/convert-evaluate.cmd b/scripts/convert-evaluate.cmd new file mode 100644 index 0000000..880b562 --- /dev/null +++ b/scripts/convert-evaluate.cmd @@ -0,0 +1,30 @@ +@echo off + +set TARGET=%SystemRoot%\System32\spp\tokens\skus +set SOFTWARE=..\software +set ZIPFILE=sku.zip +set PRODUCTKEY=M7XTQ-FN8P6-TTKYV-9D4CC-J462D + +if NOT EXIST %SOFTWARE%\%ZIPFILE% ( + echo ERROR: %SOFTWARE%\%ZIPFILE% not found! + exit /b +) + +echo ####### %0 ####### + +echo. +echo unpacking %ZIPFILE% ... +%TOOLS%\7z x -y -aoa -o%TARGET% %SOFTWARE%\%ZIPFILE% 1>nul + +echo. +echo converting evaluate LTSC to normal windows version ... +cscript.exe %SystemRoot%\system32\slmgr.vbs /rilc +cscript.exe %SystemRoot%\system32\slmgr.vbs /upk >nul 2>&1 +cscript.exe %SystemRoot%\system32\slmgr.vbs /ckms >nul 2>&1 +cscript.exe %SystemRoot%\system32\slmgr.vbs /cpky >nul 2>&1 +cscript.exe %SystemRoot%\system32\slmgr.vbs /ipk %PRODUCTKEY% +sc config LicenseManager start= auto & net start LicenseManager +sc config wuauserv start= auto & net start wuauserv + +echo ####### %0 ####### + diff --git a/scripts/install-logonscript.cmd b/scripts/install-logonscript.cmd index 85d964f..2e2b4c0 100644 --- a/scripts/install-logonscript.cmd +++ b/scripts/install-logonscript.cmd @@ -9,7 +9,7 @@ del /F /Q %TARGET%\logon* 1>nul 2>nul rd /S /Q %PUBLIC%\Desktop\Startup 1>nul 2>nul echo creating link for logon script ... -mklink %TARGET%\logon.cmd %TOOLS%\logon.cmd +mklink %TARGET%\logon.vbs %TOOLS%\logon.vbs echo ####### %0 ####### diff --git a/scripts/settings.cmd b/scripts/settings.cmd index 8a95927..dbc7bd4 100644 --- a/scripts/settings.cmd +++ b/scripts/settings.cmd @@ -1,6 +1,6 @@ set LANG=de-DE -set windows_updates=1 -set windows_targetrelease=2009 +set windows_updates=0 +set windows_targetrelease=2109 set logon_logo=1 set install_firefox=1 set install_aerolite=1 diff --git a/scripts/unpack-zipfiles.cmd b/scripts/unpack-zipfiles.cmd index 9f3eda8..f48a5f5 100644 --- a/scripts/unpack-zipfiles.cmd +++ b/scripts/unpack-zipfiles.cmd @@ -17,6 +17,7 @@ for %%A in ( desktopinfo devmanview imapcopy + mas nsudo offlineregistryfinder rclone @@ -93,6 +94,11 @@ rd /S /Q %T%\offlineregistryfinder copy /Y config\OfflineRegistryFinder.cfg %TOOLS% echo. +echo MAS +move /Y %T%\mas\mas_aio.cmd %TOOLS% +rd /S /Q %T%\mas +echo. + echo NSudo move /Y %T%\nsudo\NSudoLC.exe %TOOLS%\nsudo.exe rd /S /Q %T%\nsudo diff --git a/software/basic.csv b/software/basic.csv index a1a6271..af9f18d 100644 --- a/software/basic.csv +++ b/software/basic.csv @@ -52,4 +52,6 @@ https://www.thewindowsclub.com/downloads/UWT4.zip UWT.zip https://www.glenn.delahoy.com/downloads/desktopinfo/DesktopInfo3100.zip desktopinfo.zip https://codeload.github.com/MysticFoxDE/WINDOWS-OPTIMIZATIONS/zip/refs/heads/main tcpoptimize.zip https://ftp.halifax.rwth-aachen.de/osdn/crystaldiskinfo/78192/CrystalDiskInfo8_17_14.zip diskinfo.zip +https://drive.google.com/uc?id=18y-dVgXVmkrUEniOs38kL-lPQrzufwPT&export=download sku.zip +https://github.com/massgravel/Microsoft-Activation-Scripts/archive/refs/heads/master.zip mas.zip