Compare commits

...

148 Commits

Author SHA1 Message Date
Michael H.G. Schmidt 8fb5f1e4a2 mas_aio update, blocked update 5037768 2024-05-31 16:56:49 +02:00
Michael H.G. Schmidt 7a1532f2d9 added AnyDesk 2024-05-31 14:53:01 +02:00
Michael H.G. Schmidt 10c8873936 thinclient fix 2024-03-26 16:28:12 +01:00
Michael H.G. Schmidt 39e795eae0 . 2024-03-20 16:07:44 +01:00
Michael H.G. Schmidt 6b74472479 vscode update 2024-03-20 15:08:15 +01:00
Michael H.G. Schmidt 8df79786db added pageant 2024-03-15 16:29:19 +01:00
Michael H.G. Schmidt b483fe8a37 thinclient password must not expire 2024-03-15 13:08:47 +01:00
Michael H.G. Schmidt acf1119d26 changed ausweisapp 2024-03-07 12:26:39 +01:00
Michael H.G. Schmidt 15afe74871 . 2024-02-27 15:02:17 +01:00
Michael H.G. Schmidt 25f00492fe Merge branch 'master' of gitea.exabyte-systems.com:WINDOWS/w10install 2024-02-27 14:46:04 +01:00
Michael H.G. Schmidt 3b63b0de51 . 2024-02-27 14:45:54 +01:00
Michael H.G. Schmidt 326d11f18b bugfix 2024-02-25 10:50:33 +01:00
Michael H.G. Schmidt 0c6722cdb1 bugfix 2024-02-24 16:55:19 +01:00
Michael H.G. Schmidt b067277945 bugfix and relocation 2024-02-24 16:53:31 +01:00
Michael H.G. Schmidt 6d1161a4f2 blocked an update 2024-02-23 21:45:13 +01:00
Michael H.G. Schmidt bbae21eb36 . 2024-02-23 19:20:44 +01:00
Michael H.G. Schmidt 9ae1d25d0f delete mail password always ... 2024-02-23 16:56:20 +01:00
Michael H.G. Schmidt e42b241c9d bugfix 2024-02-23 14:29:31 +01:00
Michael H.G. Schmidt 6f49c025f1 bugfix 2024-02-23 14:06:39 +01:00
Michael H.G. Schmidt 6e3a477750 little reorg 2024-02-23 14:03:56 +01:00
Michael H.G. Schmidt a71744f803 . 2024-02-22 17:01:40 +01:00
Michael H.G. Schmidt 19c8c6e47c bugfix 2024-02-22 16:05:29 +01:00
Michael H.G. Schmidt 6f84b53f40 bugfix 2024-02-22 14:56:15 +01:00
Michael H.G. Schmidt effdb241a9 bugfix 2024-02-22 14:50:02 +01:00
Michael H.G. Schmidt 3348a0f221 bugfix 2024-02-22 14:47:24 +01:00
Michael H.G. Schmidt 4c39265a58 . 2024-02-22 14:24:16 +01:00
Michael H.G. Schmidt 01e0a59874 bugfix 2024-02-21 15:21:08 +01:00
Michael H.G. Schmidt 4872ebc761 removed company folder definitions 2024-02-21 13:31:26 +01:00
Michael H.G. Schmidt 76362e530a removed company folder 2024-02-21 13:25:46 +01:00
Michael H.G. Schmidt ab05f27cf4 removed references to company folder 2024-02-21 11:58:08 +01:00
Michael H.G. Schmidt 90f74dae1a ftpsettings moved 2024-02-21 11:21:09 +01:00
Michael H.G. Schmidt 3f882286ed . 2024-02-19 15:14:40 +01:00
Michael H.G. Schmidt eff992eb7e bugfix 2024-02-12 14:35:45 +01:00
Michael H.G. Schmidt 8e787ac57c Chrome devtools activated 2024-02-01 15:08:54 +01:00
Michael H.G. Schmidt edc1ec5bdc no ssl for git please. 2024-02-01 12:32:02 +01:00
Michael H.G. Schmidt a9faa4e339 bugfix 2024-02-01 09:35:21 +01:00
Michael H.G. Schmidt 54b42edb8d update on thinclient 2024-02-01 09:16:43 +01:00
Michael H.G. Schmidt 191bbf08b1 bugfix 2024-01-31 15:26:09 +01:00
Michael H.G. Schmidt 0230d8f9d1 softmaker fix 2024-01-31 15:21:59 +01:00
Michael H.G. Schmidt 138b1b1ef6 bugfixing 2024-01-31 14:14:46 +01:00
Michael H.G. Schmidt be50faa1f5 . 2024-01-30 21:40:08 +01:00
Michael H.G. Schmidt 28b5f3efe0 bugfix 2024-01-30 21:18:10 +01:00
Michael H.G. Schmidt 756db1f93a . 2024-01-30 17:49:57 +01:00
Michael H.G. Schmidt c7cca6418a . 2024-01-30 17:20:24 +01:00
Michael H.G. Schmidt 2dd374a011 thinclient 2024-01-30 15:07:50 +01:00
Michael H.G. Schmidt 8786f3c4f7 . 2024-01-30 00:27:33 +01:00
Michael H.G. Schmidt 1f012de6e9 . 2024-01-30 00:05:07 +01:00
Michael H.G. Schmidt c2c772e739 added RDP client mode 2024-01-30 00:02:55 +01:00
Michael H.G. Schmidt f8831d893b . 2024-01-10 21:09:48 +01:00
Michael H.G. Schmidt 35cea3799b . 2024-01-10 17:11:00 +01:00
Michael H.G. Schmidt ab01df41b9 preserving desktopinfo.ini 2024-01-10 13:12:06 +01:00
Michael H.G. Schmidt a5c18291cc removed imapcopy. not working with new dovecot 2024-01-05 22:35:16 +01:00
Michael H.G. Schmidt ad1e0dd0c4 . 2024-01-04 15:32:46 +01:00
Michael H.G. Schmidt 6dd29306a3 bugfix 2024-01-04 15:24:41 +01:00
Michael H.G. Schmidt 42b41ec9d3 . 2024-01-04 13:24:17 +01:00
Michael H.G. Schmidt 3f8d0c7cf8 . 2024-01-04 10:35:06 +01:00
Michael H.G. Schmidt b55be115a4 . 2024-01-03 23:56:48 +01:00
Michael H.G. Schmidt f1af0dc21a fixes 2024-01-03 23:36:14 +01:00
Michael H.G. Schmidt e791e50567 bugfix and change to BIOS only installation 2024-01-03 21:12:11 +01:00
Michael H.G. Schmidt 9be514fe3a . 2024-01-03 20:11:05 +01:00
Michael H.G. Schmidt 828f6acd51 . 2024-01-03 19:58:03 +01:00
Michael H.G. Schmidt 8e8b8d04d0 . 2024-01-03 19:16:22 +01:00
Michael H.G. Schmidt 700f7dfc66 moved Terminal to apps folder 2024-01-03 14:23:27 +01:00
Michael H.G. Schmidt e71ff1bdfb windowsterminal update 2024-01-03 11:10:18 +01:00
Michael H.G. Schmidt cab6ffe0b3 added script to remove BLOATWARE (windows backu app) 2024-01-03 10:59:51 +01:00
Michael H.G. Schmidt 3945fe7c89 . 2024-01-02 23:43:53 +01:00
Michael H.G. Schmidt e160c932bb bufixes 2024-01-02 21:20:41 +01:00
Michael H.G. Schmidt 550dc9210c . 2024-01-02 19:23:34 +01:00
Michael H.G. Schmidt caab9616d7 added updates 2024-01-02 17:12:15 +01:00
Michael H.G. Schmidt 01e87e1f1d prefer_egl=true 2024-01-02 14:16:31 +01:00
Michael H.G. Schmidt 2575f894b4 added wezterm 2024-01-01 20:17:03 +01:00
Michael H.G. Schmidt 0bf6e7975a typo/bugfix 2024-01-01 19:16:58 +01:00
Michael H.G. Schmidt 2fbac20ab0 . 2024-01-01 19:03:33 +01:00
Michael H.G. Schmidt 44f9232218 . 2024-01-01 19:03:13 +01:00
Michael H.G. Schmidt 50736a31d9 RDP settings added 2024-01-01 18:59:11 +01:00
Michael H.G. Schmidt efe74e37d2 added WezTerm 2024-01-01 18:23:31 +01:00
Michael H.G. Schmidt fd79cc7e21 rdpwrapper for 10.0.19041.3636 2024-01-01 17:55:39 +01:00
Michael H.G. Schmidt 72099e2203 added RDPwrapper 2023-12-29 22:53:58 +01:00
Michael H.G. Schmidt 97b88f8a62 added script for vmware remote console 2023-12-29 21:22:45 +01:00
Michael H.G. Schmidt 311bc8853e removed cyberjack junk drivers 2023-12-29 16:01:55 +01:00
Michael H.G. Schmidt 9a5ea41763 added date to ISO file and to disk label 2023-12-28 15:20:40 +01:00
Michael H.G. Schmidt eb92b54f8e bugfix 2023-12-27 23:19:17 +01:00
Michael H.G. Schmidt d88c225e42 added some exceptions for drive H: 2023-12-27 21:55:52 +01:00
Michael H.G. Schmidt 4593b7df4d . 2023-12-27 12:40:21 +01:00
Michael H.G. Schmidt abe9ed4bc5 . 2023-12-27 11:54:44 +01:00
Michael H.G. Schmidt 0cd24b5a02 added logging to logon.cmd 2023-12-27 11:21:42 +01:00
Michael H.G. Schmidt 37a2b18ef0 emclient settings integrated in logon script 2023-12-27 11:12:41 +01:00
Michael H.G. Schmidt 6c0be936fa disabled quickedit in cmd.exe 2023-12-26 23:32:21 +01:00
Michael H.G. Schmidt 388733dc91 move to LTSC 2023-12-26 22:43:59 +01:00
Michael H.G. Schmidt e4e64a818a . 2023-12-25 23:57:40 +01:00
Michael H.G. Schmidt 86f20fadd5 bugfixes 2023-12-25 22:05:37 +01:00
Michael H.G. Schmidt 04e0f03e56 LTSC change 2023-12-25 19:00:55 +01:00
Michael H.G. Schmidt a873c53ac9 . 2023-12-25 16:02:17 +01:00
Michael H.G. Schmidt 357f95907f . 2023-12-25 15:34:16 +01:00
Michael H.G. Schmidt 570a3014d3 move to W10 LTSC ... 2023-12-25 13:37:25 +01:00
Michael H.G. Schmidt 87648252da speelchecking emclient=off 2023-12-21 11:50:19 +01:00
Michael H.G. Schmidt c34af77996 emclient Arial 12pt 2023-12-21 11:20:58 +01:00
Michael H.G. Schmidt 375de0e0e0 emclient default settings added 2023-12-21 11:14:24 +01:00
Michael H.G. Schmidt 2f9169bb57 firefox update 2023-12-06 17:21:38 +01:00
Michael H.G. Schmidt 6ee58c466a bugfix for Softmaker Office 2024 2023-12-06 15:59:20 +01:00
Michael H.G. Schmidt 2257844ea2 bugfix 2023-12-06 15:47:03 +01:00
Michael H.G. Schmidt c8bb074b61 added softmaker 2024 2023-12-06 14:40:46 +01:00
Michael H.G. Schmidt 1ee3c54a5d tools move 2023-12-03 16:49:33 +01:00
Michael H.G. Schmidt 3782e3d78e Add scripts for adjoin/adleave #121 2023-12-03 14:04:37 +01:00
Michael H.G. Schmidt 4a972a6a04 added domain for AD-join 2023-12-03 14:04:06 +01:00
Michael H.G. Schmidt f15d4d1fe9 name change 2023-11-28 18:13:12 +01:00
Michael H.G. Schmidt cbab5986b4 added netlogon 2023-11-28 15:55:05 +01:00
Michael H.G. Schmidt a3d3855177 hide seafile main window 2023-09-11 12:31:15 +02:00
Michael H.G. Schmidt c13f60fae1 . 2023-09-04 14:46:19 +02:00
Michael H.G. Schmidt 19a485665c added shutdown/reboot scripts 2023-08-31 09:24:08 +02:00
Michael H.G. Schmidt 659ce766a4 . 2023-08-15 14:21:42 +02:00
Michael H.G. Schmidt 81216ee318 added permissions scripts 2023-08-15 14:17:13 +02:00
Michael H.G. Schmidt c449078818 bugfix 2023-08-15 13:40:58 +02:00
Michael H.G. Schmidt 87592193a7 . 2023-08-14 23:59:52 +02:00
Michael H.G. Schmidt c099928855 desktopinfo config bug fixed 2023-08-14 22:37:40 +02:00
Michael H.G. Schmidt 59a80fc00e ADK cannot installed OFFLINE, moved to optional! 2023-08-14 14:48:48 +02:00
Michael H.G. Schmidt 5dd0d1e99e all ok now 2023-08-13 22:40:14 +02:00
Michael H.G. Schmidt d68a706fdd bugfix 2023-08-13 18:26:28 +02:00
Michael H.G. Schmidt 1f401106c7 actived disable network features script 2023-08-13 16:32:05 +02:00
Michael H.G. Schmidt 961c8eaab4 added network protocol disabling ... 2023-08-13 16:24:59 +02:00
Michael H.G. Schmidt 1758d18f3d . 2023-08-13 14:44:59 +02:00
Michael H.G. Schmidt bf3b9ccd00 added wireshark, fixed issue #118 2023-08-13 14:42:56 +02:00
Michael H.G. Schmidt be84505362 . 2023-08-13 12:43:07 +02:00
Michael H.G. Schmidt 0a0914b90d bugfix - see comment 2023-07-30 19:34:23 +02:00
Michael H.G. Schmidt 7b5ca95343 VScode global plugin install 2023-07-30 19:30:55 +02:00
Michael H.G. Schmidt 6650e8e539 bugfix 2023-07-30 17:02:56 +02:00
Michael H.G. Schmidt f347611794 bug: check for existence of install.wim on target 2023-07-30 15:10:19 +02:00
Michael H.G. Schmidt 07adefd358 check for ADK added 2023-07-30 12:23:40 +02:00
Michael H.G. Schmidt 2382f6a81d portable OS causes problems with network tray and wifi 2023-07-30 11:54:17 +02:00
Michael H.G. Schmidt 87fed8177f Integrate draw.io Desktop #113 2023-07-30 11:53:23 +02:00
Michael H.G. Schmidt 604feb77ef Integrate 3rd Party Timesync tool #116 2023-07-30 10:42:03 +02:00
Michael H.G. Schmidt 5828ab9a42 portable OS #111 2023-07-30 10:00:45 +02:00
Michael H.G. Schmidt 1d1ad4b34d Add vscode update block to logon script #117 2023-07-30 09:28:16 +02:00
Michael H.G. Schmidt f44992d2b7 disable autoupdate for RUFUS #112 2023-07-30 09:01:34 +02:00
Michael H.G. Schmidt 45b158220b VS-Code plugins #114 2023-07-30 08:01:53 +02:00
Michael H.G. Schmidt d9e1fb3f9b create script for USER access rights in Filesystem #115 2023-07-29 16:36:24 +02:00
Michael H.G. Schmidt 11b8682e2b added version V1.12 of snapcontrol.exe 2023-07-23 11:57:43 +02:00
Michael H.G. Schmidt 5970b73f51 enabled new PDF.DLL in irfan view 2023-05-04 15:47:06 +02:00
Michael H.G. Schmidt 940cf1dbd1 added vcredist x86 packages 2023-04-21 15:43:29 +02:00
Michael H.G. Schmidt a59992c2f0 added vc redist 2010,2012,2013 2023-04-21 14:09:14 +02:00
Michael H.G. Schmidt 1806b6f52c new inkscape version 2023-04-19 16:09:44 +02:00
Michael H.G. Schmidt 177a708468 timeserver script fixed 2023-04-18 21:19:19 +02:00
Michael H.G. Schmidt 78b4986578 default browser setting in chrome.reg to 0 2023-04-18 14:42:13 +02:00
Michael H.G. Schmidt 6c38421e6a added upgrade KB5025221 to blocklist 2023-04-16 11:28:20 +02:00
Michael H.G. Schmidt 18e25197c5 need mechanism for adding shares ... #109 2023-04-11 16:15:05 +02:00
Michael H.G. Schmidt 8486480346 Sumatrapdfcache writes in c:\tools! #108 2023-04-09 19:41:09 +02:00
Michael H.G. Schmidt 88a57da130 desktopinfo shows drives with 0 Byte size! #110 2023-04-09 18:57:00 +02:00
Michael H.G. Schmidt 0edaaba9ec removed macdrivers 2023-04-06 14:07:19 +02:00
131 changed files with 16712 additions and 8339 deletions

2
.gitignore vendored
View File

@ -10,5 +10,5 @@ distribution
SOFTWAREBKP
tmp/
temp/
company/
custom/

View File

@ -28,7 +28,7 @@ for %%S in (
mount-image.cmd
) do (
echo ########## calling [ %%S ] ##########
call %%S || ( cd .. ; exit /b )
call %%S || ( cd .. ; exit /b )
echo.
)
@ -39,7 +39,7 @@ if /I %ARG1% == /R (
)
echo ########## calling [ finish-image.cmd ] ##########
call finish-image.cmd || ( cd .. ; exit /b )
call finish-image.cmd || ( cd .. ; exit /b )
echo.
rem go back ...

View File

@ -2,6 +2,11 @@
set T=c:\TEMP
set DPARTSCRIPT=%T%\diskpart.txt
rem set name for media ...
for /f "tokens=2 delims==" %%a in ('wmic OS Get localdatetime /value') do set "dt=%%a"
set "YY=%dt:~2,2%" & set "MM=%dt:~4,2%" & set "DD=%dt:~6,2%"
set OSLABEL=W10-%YY%%MM%%DD%
rem create temp directory ...
mkdir %T% 1>nul 2>nul
@ -10,13 +15,6 @@ echo Format Media ...
echo ====================
echo.
echo IMPORTANT HINT:
echo How is your target media formatted?
echo - use "exfat" for BIOS based installations only!
echo - use "fat32" for UEFI based installations only!
echo REASON: UEFI cannot read "exfat" filesystems and Windows setup will throw error code: 0x80042565
echo.
echo Showing disk list ...
> %DPARTSCRIPT% (
@echo.list disk
@ -56,6 +54,7 @@ set FS=fat32
GOTO CONT2
)
if /i "%FS%" EQU "exfat" (
echo IMPORTANT: some old BIOS versions can't use exfat!
GOTO CONT2
)
if /i "%FS%" EQU "" (
@ -88,7 +87,7 @@ set SIZE=32768
:CONT3
echo.
set LABEL=W10-20H2
set LABEL=%OSLABEL%
set /p LABEL="Please enter a label for the new disk [%LABEL%] : "
echo WARNING ! This will DELETE ALL data on disk number [%DISK%]

View File

@ -1,12 +1,11 @@
@echo off
set T=c:\temp
set W10=c:\TEMP\W10
set SOURCES=%W10%\sources
set BOOTFILE=boot.wim
set IMAGEFILE=install.wim
set SCRIPT_SETTINGS=scripts\settings.cmd
set COMPANY_SETTINGS=company\settings.cmd
set FOURGB=4294967296
set CUSTOM_SETTINGS=custom\settings.cmd
set SNAPCONTROL_INI=custom\snapcontrol.ini
IF %1.==. GOTO USAGE
@ -31,27 +30,14 @@ if NOT EXIST %DRIVE% (
echo using drive [ %DRIVE% ] ...
echo.
rem get drive type (is it fat32 ?) ...
for /f "tokens=5" %%A in ('@fsutil fsinfo volumeinfo %DRIVE%^|findstr /B "File System Name : "') do (@set DRIVETYPE=%%A)
echo DRIVETPYE = [ %DRIVETYPE% ]
rem check SOURCE for files LARGER 4 GB in case FAT32 was chosen ...
if /i "%DRIVETYPE%" EQU "fat32" (
for /f "tokens=*" %%F in ('"dir /S /B /A-D %W10%"') do if %%~zF GTR %FOURGB% (
echo ERROR: The file [ %%F : %%~zF bytes ] is greater than 4GB in size - cannot copy this to a FAT32 filesystem!
exit /b
)
)
if NOT EXIST %SOURCES%\%BOOTFILE% (
echo DOH! no %BOOTFILE% in [ %SOURCES% ] found
exit /b
)
if NOT EXIST %SOURCES%\%IMAGEFILE% (
echo DOH! no %IMAGE% in [ %SOURCES% ] found
echo DOH! no %IMAGEFILE% in [ %SOURCES% ] found
exit /b
)
rem =====
@ -61,6 +47,13 @@ rem =====
echo copying all files in [ %W10% ] to drive %DRIVE% ...
robocopy %W10%\ %DRIVE% /MIR /256 /NDL /R:1 /J /XX
rem check for existence of install.wim in case FAT32 was chosen ...
if NOT EXIST %DRIVE%\sources\%IMAGEFILE% (
echo ERROR ON COPY: no %IMAGEFILE% in [ %DRIVE%\sources\%IMAGEFILE% ] found!
echo HINT: FAT32 cannot handle files larger 4 GB!
exit /b
)
:CONT
if EXIST tools (
echo.
@ -75,7 +68,7 @@ if EXIST software (
/XF *.iso /XF *.txt /XF *.cmd /XF *.csv /XF .gitignore /XD .git
)
for %%P in (drivers scripts source optional personal company apps) do (
for %%P in (drivers scripts source optional personal apps custom) do (
if EXIST %%P (
echo.
echo copying folder [ %%P ] to %DRIVE%\tools ...
@ -84,6 +77,10 @@ for %%P in (drivers scripts source optional personal company apps) do (
)
)
echo.
echo deleting ftpsettings.cmd ...
del /F /Q %DRIVE%\tools\custom\ftpsettings.cmd
echo.
echo copying autoconfig starter script to %DRIVE% ...
copy /Y image\StartAutoConfig.cmd %DRIVE%\
@ -92,20 +89,27 @@ echo.
echo putting copytools script to %DRIVE% ...
copy /Y image\CopyTools.cmd %DRIVE%\
rem remove hidden attribute from tools folder ...
echo.
echo removing hidden attribute from tools folder ...
attrib -H %DRIVE%\tools
echo.
rem remove passwords from settings.cmd config files ...
echo removing passwords from settings.cmd config files ...
for %%A in (
%DRIVE%\tools\%SCRIPT_SETTINGS%
%DRIVE%\tools\%COMPANY_SETTINGS%
%DRIVE%\tools\%CUSTOM_SETTINGS%
) do (
if EXIST %%A (
tools\searchreplace %%A "^.*SET.*LOCALADMIN_PASSWORD.*=.*" "set localadmin_password=DELETED"
)
)
echo.
echo removing mail password from snapcontrol.ini
if EXIST %DRIVE%\tools\%SNAPCONTROL_INI% (
tools\searchreplace %DRIVE%\tools\%SNAPCONTROL_INI% "^.*MAILPASS.*=.*" "MailPass = DELETED"
)
echo.
echo ======
echo READY.

View File

@ -1,6 +1,11 @@
@echo off
rem set name for media ...
for /f "tokens=2 delims==" %%a in ('wmic OS Get localdatetime /value') do set "dt=%%a"
set "YY=%dt:~2,2%" & set "MM=%dt:~4,2%" & set "DD=%dt:~6,2%"
set OSLABEL=W10-%YY%%MM%%DD%
set OSCDPATH="%ProgramFiles(x86)%\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\Oscdimg"
set OSLABEL=WIN10-AUTO
set ISOFILE=%SystemDrive%\temp\%OSLABEL%.iso
IF %1.==. GOTO USAGE
@ -18,6 +23,7 @@ if /I %DRIVE% == %SystemDrive% (
)
echo using drive [ %DRIVE% ] ...
echo.
if NOT EXIST %DRIVE% (
echo ERROR: drive %DRIVE% not found!
@ -36,6 +42,12 @@ if EXIST %ISOFILE% (
exit /b
)
if NOT EXIST %OSCDPATH%\oscdimg.exe (
echo ERROR: cannot find oscdimg.exe!
echo HINT: is "Assessment and Deployment Kit (ADK)" installed?
exit /b
)
%OSCDPATH%\oscdimg -l%OSLABEL% -m -u2 -b%OSCDPATH%\etfsboot.com %DRIVE%\ %ISOFILE%
echo.

View File

@ -218,7 +218,7 @@ powershell -Command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMac
cd /D %USERPROFILE%
mkdir workspace\git
cd workspace\git
git clone https://gitea.exabyte.systems/WINDOWS/w10install.git
git clone https://gitea.exabyte-systems.com/WINDOWS/w10install.git
cd w10install
```
@ -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
@ -344,7 +340,7 @@ FTP_PASS=mypass
The folder "personal" is also used by some other scripts in this project. You can place config files or license files in this folder (This will be described in detail in some other chapters). It may be a good idea to have this folder ("personal") as GIT repository on git or somewhere else - just my 50 cents.
There is also a folder "company" which can be used for license files and special binaries. I'm also recommending to create a git repository that will be checked out by you just before creating the target media.
There is also a folder "custom" which can be used for license files and special binaries. I'm also recommending to create a git repository that will be checked out by you just before creating the target media.
Both folders must be created before calling the script that copies all files to the media. They will then be copied to the target machine when installing it via the Media ...
@ -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
```
@ -469,8 +465,8 @@ The operation completed successfully.
searching for SCRIPT settings ...
OK. Loading SCRIPT settings ...
searching for COMPANY settings ...
INFO: config file ..\company\settings.cmd NOT FOUND
searching for CUSTOM settings ...
INFO: config file ..\custom\settings.cmd NOT FOUND
renaming Windows setup.exe to boot image ...
1 file(s) moved.
@ -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:
```

View File

@ -1,3 +1,3 @@
https://apps.microsoft.com/store/detail/xbox-game-bar/9NZKPSTSNW4P
https://apps.microsoft.com/store/detail/microsoftremotedesktop/9WZDNCRFJ3PS
https://apps.microsoft.com/store/detail/microsoftterminal/9N0DX20HK701

View File

@ -1,5 +1,5 @@
@echo off
set FTPSETTINGS=..\company\ftpsettings.cmd
set FTPSETTINGS=..\custom\ftpsettings.cmd
set APPSFOLDER=storeapps
rem ===================

View File

@ -1,5 +1,5 @@
@echo off
set FTPSETTINGS=..\company\ftpsettings.cmd
set FTPSETTINGS=..\custom\ftpsettings.cmd
set APPSFOLDER=storeapps
rem ===================

View File

@ -1,30 +0,0 @@
@echo off
set EXE=..\software\cyberjack-setup.exe
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
if NOT EXIST %EXE% (
echo ERROR: %EXE% not found!
exit /b
)
if EXIST "%ProgramFiles(x86)%\REINER SCT\cyberJack\cJCC.exe" (
echo ERROR: Reiner SCT Cyberjack already installed!
exit /b
)
echo ####### %0 #######
echo installing Reiner SCT Cyberjack ...
start /wait %EXE%
echo removing CyberJack startmenu folder ...
rd /S /Q %STARTMENU%\"REINER SCT cyberjack" 2>nul
echo renaming CyberJack desktop shortcut ...
copy /Y startmenu\CyberJack.lnk %STARTMENU%
del /F %PUBLIC%\"Desktop\cyberjack*.*" 2>nul
echo ####### %0 #######
pause

View File

@ -1,28 +0,0 @@
@echo off
set T=c:\TEMP
set TOOLS=c:\tools
set ZIP=..\software\MACDRIVER.zip
if NOT EXIST %ZIP% (
echo ERROR: %ZIP% not found!
exit /b
)
echo ####### %0 #######
echo unpacking iMAC drivers ...
%TOOLS%\7z x -y -aoa -o"%T%" %ZIP%
echo renaming ...
move /Y %T%\WindowsSupport %T%\MACDRIVER
echo.
echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo INFO: iMAC drivers extracted to path [ %T%\MACDRIVER ]
echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo.
echo ####### %0 #######
pause

View File

@ -20,6 +20,10 @@ echo killing Desktopinfo ...
taskkill /F /IM DesktopInfo64.exe 2>nul
echo.
echo saving desktopinfo.ini ...
copy /Y %TOOLS%\desktopinfo\desktopinfo.ini %SystemDrive%\ 1>nul 2>nul
echo.
echo deleting %TOOLS% ...
takeown /F %TOOLS% /R /D Y 1>nul
rd /S /Q %TOOLS% 2>nul
@ -60,6 +64,9 @@ echo.
call install-git.cmd
echo.
echo moving desktopinfo.ini back to tools folder ...
move /Y %SystemDrive%\desktopinfo.ini %TOOLS%\desktopinfo 1>nul 2>nul
echo setting permissions for [ %TOOLS% ] ...
cd /D %SystemDrive%\
takeown /F %TOOLS% /R /A /D Y 1>nul

View File

@ -1,167 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<servicing></servicing>
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SetupUILanguage>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
<InputLocale>___MYLANG___</InputLocale>
<SystemLocale>___MYLANG___</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>___MYLANG___</UserLocale>
</component>
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk wcm:action="add">
<CreatePartitions>
<!-- Recovery partition -->
<CreatePartition wcm:action="add">
<Order>1</Order>
<Type>Primary</Type>
<Size>512</Size>
</CreatePartition>
<!-- EFI system partition (ESP) -->
<CreatePartition wcm:action="add">
<Order>2</Order>
<Type>EFI</Type>
<Size>128</Size>
</CreatePartition>
<!-- Microsoft reserved partition (MSR) -->
<CreatePartition wcm:action="add">
<Order>3</Order>
<Type>MSR</Type>
<Size>128</Size>
</CreatePartition>
<!-- Windows partition -->
<CreatePartition wcm:action="add">
<Extend>true</Extend>
<Type>Primary</Type>
<Order>4</Order>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<!-- Recovery partition -->
<ModifyPartition wcm:action="add">
<Order>1</Order>
<PartitionID>1</PartitionID>
<Label>Recovery</Label>
<Format>NTFS</Format>
<TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
</ModifyPartition>
<!-- EFI system partition (ESP) -->
<ModifyPartition wcm:action="add">
<Order>2</Order>
<PartitionID>2</PartitionID>
<Label>System</Label>
<Format>FAT32</Format>
</ModifyPartition>
<!-- MSR partition does not need to be modified -->
<!-- Windows partition -->
<ModifyPartition wcm:action="add">
<Order>3</Order>
<PartitionID>4</PartitionID>
<Label>Windows</Label>
<Letter>C</Letter>
<Format>NTFS</Format>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>4</PartitionID>
</InstallTo>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
<UserData>
<ProductKey>
<Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key>
</ProductKey>
<AcceptEula>true</AcceptEula>
<Organization>none</Organization>
</UserData>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OEMInformation>
<Manufacturer>IBM PC</Manufacturer>
<Model>Windows</Model>
</OEMInformation>
<CopyProfile>true</CopyProfile>
<RegisteredOrganization>none</RegisteredOrganization>
<RegisteredOwner>none</RegisteredOwner>
<TimeZone>Central Europe Standard Time</TimeZone>
<ProductKey>VK7JG-NPHTM-C97JM-9MPGT-3V66T</ProductKey>
<ShowPowerButtonOnStartScreen>true</ShowPowerButtonOnStartScreen>
</component>
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CEIPEnabled>0</CEIPEnabled>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>___MYLANG___</InputLocale>
<SystemLocale>___MYLANG___</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>___MYLANG___</UserLocale>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideLocalAccountScreen>true</HideLocalAccountScreen>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>___MYPASS___</Value>
<PlainText>true</PlainText>
</Password>
<DisplayName>___MYNAME___</DisplayName>
<Name>___MYUSER___</Name>
<Group>Administrators</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<AutoLogon>
<Password>
<Value>___MYPASS___</Value>
<PlainText>true</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>1</LogonCount>
<Username>___MYUSER___</Username>
</AutoLogon>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<Description>Password Never Expires</Description>
<CommandLine>cmd /C wmic useraccount where name=&quot;___MYUSER___&quot; set PasswordExpires=false</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>2</Order>
<Description>Initial Setup</Description>
<CommandLine>cmd /C c:\windows\setup\scripts\SearchAutoconfig.cmd</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>
<settings pass="offlineServicing">
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<EnableLUA>false</EnableLUA>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/temp/w10/sources/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

View File

@ -61,9 +61,6 @@
</OSImage>
</ImageInstall>
<UserData>
<ProductKey>
<Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key>
</ProductKey>
<AcceptEula>true</AcceptEula>
<Organization>none</Organization>
</UserData>
@ -79,12 +76,8 @@
<RegisteredOrganization>none</RegisteredOrganization>
<RegisteredOwner>none</RegisteredOwner>
<TimeZone>Central Europe Standard Time</TimeZone>
<ProductKey>VK7JG-NPHTM-C97JM-9MPGT-3V66T</ProductKey>
<ShowPowerButtonOnStartScreen>true</ShowPowerButtonOnStartScreen>
</component>
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CEIPEnabled>0</CEIPEnabled>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
@ -142,5 +135,5 @@
<EnableLUA>false</EnableLUA>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/temp/w10/sources/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
<cpi:offlineImage cpi:source="wim:c:/temp/install.wim#Windows 10 Enterprise LTSC 2021 Evaluation" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

View File

@ -1,8 +1,8 @@
@echo off
set SOURCES=%SystemDrive%\TEMP\W10\sources
set WIM=%SOURCES%\install.wim
set W10PRO=%SOURCES%\w10pro.wim
set STATEFILE=%SOURCES%\w10pro.txt
set W10WIM=%SOURCES%\w10.wim
set STATEFILE=%SOURCES%\w10done.txt
if EXIST %STATEFILE% (
@ -17,7 +17,7 @@ if EXIST %STATEFILE% (
if EXIST %WIM% (
rem cleanup ...
del /F %W10PRO% 1>nul 2>nul
del /F %W10WIM% 1>nul 2>nul
echo.
echo [%0] INFO: found %WIM%
@ -25,12 +25,12 @@ if EXIST %WIM% (
echo [%0] INFO: exporting image from %WIM% ...
dism /Export-Image ^
/SourceImageFile:%WIM% ^
/DestinationImageFile:%W10PRO% ^
/SourceName:"Windows 10 Pro" ^
/DestinationImageFile:%W10WIM% ^
/SourceIndex:1 ^
/Compress:Max ^
/CheckIntegrity
if %ERRORLEVEL% NEQ 0 (
if NOT EXIST %W10WIM% (
echo [%0] ERROR: while extracting %WIM%
exit /b
)
@ -39,8 +39,8 @@ if EXIST %WIM% (
attrib -R %WIM% 2>nul
del /F %WIM% 1>nul 2>nul
echo [%0] INFO: renaming %W10PRO% ...
move /Y %W10PRO% %WIM%
echo [%0] INFO: renaming %W10WIM% ...
move /Y %W10WIM% %WIM%
echo all done >%STATEFILE%
echo.

View File

@ -2,7 +2,7 @@
set SOURCES=%SystemDrive%\TEMP\W10\sources
set BOOT=%SystemDrive%\TEMP\BOOT
set SCRIPT_SETTINGS=..\scripts\settings.cmd
set COMPANY_SETTINGS=..\company\settings.cmd
set CUSTOM_SETTINGS=..\custom\settings.cmd
set LANG=en-US
set localadmin=localadmin
set localadmin_name=Local Administrator
@ -21,12 +21,12 @@ if NOT EXIST %SCRIPT_SETTINGS% (
)
echo.
echo searching for COMPANY settings ...
if NOT EXIST %COMPANY_SETTINGS% (
echo INFO: config file %COMPANY_SETTINGS% NOT FOUND
echo searching for CUSTOM settings ...
if NOT EXIST %CUSTOM_SETTINGS% (
echo INFO: config file %CUSTOM_SETTINGS% NOT FOUND
) else (
echo OK. Loading COMPANY settings ...
call %COMPANY_SETTINGS%
echo OK. Loading CUSTOM settings ...
call %CUSTOM_SETTINGS%
)
echo.
@ -50,28 +50,19 @@ copy /Y installer.exe %BOOT%\setup.exe
echo.
rem prepare unattended xml files ...
for %%A in (
echo copying config file for unattended install [ BIOS ]...
copy /Y autounattend_template.xml %BOOT%\autounattend.xml
BIOS
UEFI
) do (
echo copying config file for unattended install [ %%A ]...
copy /Y autounattend_%%A_template.xml %BOOT%\autounattend_%%A.xml
rem prepare BIOS version ...
..\tools\searchreplace %BOOT%\autounattend.xml ___MYUSER___ "%localadmin%"
..\tools\searchreplace %BOOT%\autounattend.xml ___MYNAME___ "%localadmin_name%"
..\tools\searchreplace %BOOT%\autounattend.xml ___MYPASS___ "%localadmin_password%" /S
..\tools\searchreplace %BOOT%\autounattend.xml ___MYLANG___ "%LANG%"
echo.
rem prepare BIOS version ...
..\tools\searchreplace %BOOT%\autounattend_%%A.xml ___MYUSER___ "%localadmin%"
..\tools\searchreplace %BOOT%\autounattend_%%A.xml ___MYNAME___ "%localadmin_name%"
..\tools\searchreplace %BOOT%\autounattend_%%A.xml ___MYPASS___ "%localadmin_password%" /S
..\tools\searchreplace %BOOT%\autounattend_%%A.xml ___MYLANG___ "%LANG%"
echo.
)
if EXIST ..\company\snapshot64.exe (
if EXIST ..\software\snapshot64_licensed.exe (
echo copying LICENSED snapshot64.exe to boot image ...
copy /Y ..\company\snapshot64.exe %BOOT%
copy /Y ..\software\snapshot64_licensed.exe %BOOT%\snapshot64.exe
) else (
echo copying STANDARD snapshot64.exe to boot image ...
copy /Y ..\software\snapshot64.exe %BOOT%

Binary file not shown.

View File

@ -18,7 +18,7 @@ echo setting write access for install.wim ...
attrib -R %SOURCES%\install.wim 2>nul
echo mounting install.wim to %IMAGE% ...
dism /Mount-IMAGE /IMAGEFile:%SOURCES%\install.wim /Name:"Windows 10 Pro" /MountDir:%IMAGE% || (
dism /Mount-IMAGE /IMAGEFile:%SOURCES%\install.wim /Index:1 /MountDir:%IMAGE% || (
echo.
echo ERROR while mounting WIM file! Please unmount orphaned images:
dism /Get-MountedWimInfo

View File

@ -15,3 +15,4 @@ dism /Cleanup-Mountpoints
echo showing status ...
dism /Get-MountedWimInfo

View File

@ -46,7 +46,7 @@ Windows Registry Editor Version 5.00
"CommandLineFlagSecurityWarningsEnabled"=dword:00000001
"ComponentUpdatesEnabled"=dword:00000001
"DNSInterceptionChecksEnabled"=dword:00000001
"DefaultBrowserSettingEnabled"=dword:00000001
"DefaultBrowserSettingEnabled"=dword:00000000
"DefaultClipboardSetting"=dword:00000002
"DefaultCookiesSetting"=dword:00000001
"DefaultFileSystemReadGuardSetting"=dword:00000002
@ -66,7 +66,7 @@ Windows Registry Editor Version 5.00
"DefaultWebUsbGuardSetting"=dword:00000002
"DefaultWindowManagementSetting"=dword:00000002
"DesktopSharingHubEnabled"=dword:00000001
"DeveloperToolsAvailability"=dword:00000002
"DeveloperToolsAvailability"=dword:00000001
"Disable3DAPIs"=dword:00000000
"DisableAuthNegotiateCnameLookup"=dword:00000000
"DisablePrintPreview"=dword:00000000

View File

@ -0,0 +1,5 @@
[Setup]
Lang=english
Dir=C:\Program Files\WezTerm
Group=(Default)
NoIcons=1

View File

@ -0,0 +1,5 @@
[ofw]
AutoSave=0
AutoTime=1
BackupType=0
UpdateCheckEnabled=0

View File

@ -0,0 +1,5 @@
[pmw]
AutoSave=0
AutoTime=1
BackupType=0
UpdateCheckEnabled=0

View File

@ -0,0 +1,5 @@
[prw]
AutoSave=0
AutoTime=1
BackupType=0
UpdateCheckEnabled=0

View File

@ -1,12 +1,12 @@
; SNAPCONTROL config file.
; https://gitea.exabyte.systems/WINDOWS/snapcontrol
; https://gitea.exabyte-systems.com/WINDOWS/snapcontrol.git
;
; This tool creates an image backups of windows machines,
; it uses the Drive Snapshot tool by Tom Ehlert Software.
; Please support this great tool and buy a license.
; http://www.drivesnapshot.de/en/order.htm
;
; Copyright (c) 2019-2021 Michael H.G. Schmidt
; Copyright (c) 2019-2024 Michael H.G. Schmidt
; EMAIL: michael@schmidt2.de
; Released under the MIT license.
;
@ -14,7 +14,8 @@
;
[BACKUP]
; path where snapshot.exe and cmail.exe is located ...
; path where cmail.exe is located ...
; (snaphot64.exe, this inifile and snapcontrol.exe must be always located in %WINDIR%!)
BinPath = c:\tools
; target PATH examples:
@ -80,6 +81,9 @@ EjectMedia = yes
; should we ask for a shutdown after backup ? (yes/no)
AskForShutdown = yes
; should we force a shutdown after the backup run?
; user will NOT be asked for consent! (useful for schedule mode "TIME" and silent mode)
ForcedShutdown = no
[LOGGING]

View File

@ -0,0 +1,5 @@
[tmw]
AutoSave=0
AutoTime=1
BackupType=0
UpdateCheckEnabled=0

36
optional/install-adk.cmd Normal file
View File

@ -0,0 +1,36 @@
@echo off
set EXE=..\software\adk-setup.exe
set OSCDPATH="%ProgramFiles(x86)%\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\Oscdimg"
set STARTMENU=%PROGRAMDATA%\"Microsoft\Windows\Start Menu\Programs"
if NOT EXIST %EXE% (
echo ERROR: %EXE% not found!
exit /b
)
echo ####### %0 #######
echo installing Microsoft ADK deployment tools ...
%EXE% /q /ceip off /norestart /features OptionId.DeploymentTools
if NOT EXIST %OSCDPATH%\oscdimg.exe (
echo ERROR: cannot find oscdimg.exe!
echo INFO: Installation of "Assessment and Deployment Kit (ADK)" failed!
echo.
echo ####### %0 #######
exit /b
)
rem ADK ...
move /Y %STARTMENU%\"Windows Kits\Windows ADK\Windows System Image Manager.lnk" ^
%STARTMENU%\"System Tools\Image Manager.lnk" 2>nul
rd /S /Q %STARTMENU%\"Windows Kits" 2>nul
rem show oscdimg usage:
%OSCDPATH%\oscdimg.exe
echo ####### %0 #######