Commit Graph

36 Commits

Author SHA1 Message Date
FrysCrypto
af06d5ab57 Update tiny11maker.ps1
-StartComponentCleanup switch no longer supported in most recent powershell versions
2025-09-12 01:46:20 -05:00
Old Character
4a24bff48b Correction typo in comment and output
## Purpose :
- Fix #20 

## Details :
- Change `or` by `of` in line 349 and 350
2025-09-07 00:35:07 +02:00
Old Character
a3bb93e0d9 Remove duplicated reg. keys
## Purpose :
- Fix #19 

## Details :
- Removing duplicate of the value `OemPreInstalledAppsEnabled`.
- Removing duplicate of the value `PreInstalledAppsEnabled`.
- Removing duplicate of the value `SilentInstalledAppsEnabled`.
- Removing duplicate of the value `SubscribedContentEnabled`.
- Removing duplicate of the value `ContentDeliveryAllowed`.
2025-09-07 00:29:42 +02:00
Old Character
e5752915f6 Update log path and name
## Purpose :
- Fix #17 
- Fix #18 
> This will avoid collision and let user retrive easely the log file. 

## Details :
- Using subexpression `$(get-date -f yyyyMMdd_HHmms)` inside the log file name.
- Changing path of the log to `$PSScriptRoot` . (so iso, log, script will be at the same place.)
2025-09-07 00:00:24 +02:00
Old Character
ecd3c8310e Merge branch 'main' into Merged-PR-tiny11maker.ps1 2025-09-06 13:43:03 +02:00
NTDEV
6584d2f432 September 2025 release
Features

Added removal of Copilot, the new Outlook client, and Microsoft Teams packages.

Added registry keys to proactively disable Copilot and prevent app re-installations.

Improvements

Switched to Dism.exe with /Compress:recovery for significantly smaller final ISO file sizes.

Reworked scheduled task removal to be simpler and more reliable.
2025-09-06 00:24:22 +03:00
Old Character
13b88eeea7 Fixes for PSScriptAnalysis report
- Fix `PSAvoidTrailingWhitespace`
- Fix `PSAvoidUsingWriteHost`
- Fix `PSAvoidUsingEmptyCatchBlock`
- Fix `PSUseShouldProcessForStateChangingFunctions`
> False positive, it does not touch the running system registry.

For `PSAvoidUsingPositionalParameters` i can add named parameters but it's not mandatory if positional is repected.
2025-08-31 18:08:10 +02:00
Old Character
35aa44d4e3 Update PackagesToRemove with new ones
- Add new packages in `$packagePrefixes`.
- Change disposiition of `$packagePrefixes` to better lisibility.
- Modify the `where-object` query param from `-like "$_*"` to `-like "*$_*"`
2025-08-31 16:56:02 +02:00
Miiraak
cc7e53647e Refactor registry removal and enhance cleanup process
Updated `tiny11maker.ps1` to replace `Remove-RegistryKey`
with `Remove-RegistryValue` for specific registry values.
Expanded the cleanup section to include detailed checks
and messages for the existence and removal of temporary
files and directories, improving script robustness and
user feedback.
2025-08-31 14:58:20 +02:00
Miiraak
9af52a8206 Add autounattend.xml download if missing
Implement a check for the existence of `autounattend.xml`. If the file is not found, download it from a specified URL using `Invoke-RestMethod` and save it to the script's root directory. This ensures the configuration file is available for the script's execution.
2025-08-31 12:32:36 +02:00
Miiraak
5da84b9737 Update documentation and enhance tiny11maker script
*merge from my old different pr.

## New parameter and improvement
- Updated script parameters to include a new $p_IsoDisk parameter.
- Renamed $ScratchDisk to $p_ScratchDisk throughout the script.
- Added logic to handle $p_IsoDisk, prompting user if not provided.
- Removed output of scratch disk setting.
- Change the ordre to match iso then scratch
- Rename parameter
- Adding pattern for second one too
- Adding synopsis with some informations on the script and calling exemples.

## New Functions for optimisation
- Introduced Remove-RegistryValue and Set-RegistryValue functions to replace direct reg commands for registry modifications.

## Auto Dismount
- Dismounting the iso image after process completion.

## SKU validation
- Added validation to ensure the entered index is valid by checking against available indices in the Windows image file.
- Introduced a loop to repeatedly prompt the user until a valid index is provided.

## Others
- Updated `.gitignore` to exclude Visual Studio files.
- Revised `README.md` for clarity and added new features.
2025-08-31 12:27:32 +02:00
Karl Wester-Ebbinghaus
9b70166776 Update tiny11maker.ps1 - prevent outlook and devhome sideloading
added changes from #203
2024-11-07 03:03:19 +01:00
Karl Wester-Ebbinghaus
8c1a8d1045 Update tiny11maker.ps1
last corrections 
- to replace wrong command -ScratchDirectory with -Path
- putting param to the top
- make sure $Scratchdisk is $PSScriptRoot remove :\ or trailing \
- param will now have error handling for drive letters c-z and C-Z
- all references to $env:systemdrive or $($env:systemdrive) now generalized to $ScratchDisk


- tested the modified script and review log for errors
2024-11-07 02:19:39 +01:00
Karl Wester-Ebbinghaus
5ca27c740e Update tiny11maker.ps1 - error handling param
error handling for param as we will later make the script agnostic to execution on OSDrive / $env:systemdrive
2024-11-07 02:07:18 +01:00
Karl Wester-Ebbinghaus
a5a4d97994 Update tiny11maker.ps1
fixed typo -ScratchDirectory (2)
2024-11-07 00:45:53 +01:00
Karl Wester-Ebbinghaus
d53ba61bd4 Update tiny11maker.ps1
typo -ScratchDirectory
2024-11-07 00:42:52 +01:00
Karl Wester-Ebbinghaus
3ef0c7efd9 Update tiny11maker.ps1
small corrections
2024-11-07 00:27:04 +01:00
Karl Wester-Ebbinghaus
bba078c34b Update tiny11maker.ps1 - use dism with PowerShell commands
The idea of the release of this project is using PowerShell instead of commandline in the previous version, which is a great move and make it easier to maintain and read.

For sake of easier syntax and readability I have attempted using PowerShell commandlets for dism.


There are few remaining areas that need to be reworked (invoking dism.exe) to become fully consistent.
2024-11-07 00:25:16 +01:00
Kichura
5153812f23 Disable device encryption by default. 2024-09-27 23:03:21 +02:00
NTDEV
7ec6a7c253 replace max compression with recovery compression 2024-05-21 23:34:02 +03:00
NTDEV
af2e6159d0 Add files via upload 2024-05-20 21:04:18 +03:00
NTDEV
eeb3c580e2 Added oscdimg downloader 2024-05-20 21:02:09 +03:00
Robert C. Maehl
fb59b449b2 Implement #183
Allow ScratchDisk parameter
2024-05-19 18:22:36 -04:00
NTDEV
e618386dbd Revert "Use PowerShell DISM cmdlets" 2024-05-09 01:29:55 +03:00
NTDEV
f762e66aff Merge pull request #173 from Ziron/powershell_dism
Use PowerShell DISM cmdlets
2024-05-06 23:53:52 +03:00
NTDEV
218e141897 Introducing tiny11 core builder! 2024-05-06 19:59:43 +03:00
Sebastian Gustavsson
e8327ffa5f Use PowerShell DISM cmdlets 2024-05-03 15:02:54 +02:00
Elrondo46
d475687923 Disable bing search in Start Menu 2024-05-02 10:56:55 +02:00
NTDEV
d014d0119e more lang-agnostic admin 2024-05-02 02:30:41 +03:00
NTDEV
8158c07cd9 language-agnostic admin icacls 2024-05-02 01:51:15 +03:00
NTDEV
fd1aa7dd61 ESD support, cleans Edge, fixes logging
This new release of tiny11 builder enables the ability to use images that has ESD files instead of the standard WIM. It also suppresses some of the output, making it a bit easier to track what is going on.
It also cleans up the last remains of Edge! Last, but not least, it fixes an issue with logging.
2024-05-01 23:40:33 +03:00
Eugene San (eugenesan)
501e10c1ad Add support for system ADK, Logging and Debug 2024-04-29 15:35:08 -07:00
NTDEV
dcb2c27332 tiny11 builder v04-29-24
Added telemetry disabling features.
2024-04-29 19:59:03 +03:00
Matteo Hausner
98014c0b2a Fixes #136 - add /English to dism invocations
This ensures that the output of the `dism` command is in the expected
language, which is especially important if it gets parsed afterwards.
2024-04-24 00:34:03 +02:00
Viktor Szépe
beab8214d5 Indent with 4 spaces 2024-04-22 08:40:16 +00:00
NTDEV
3c72acf1f1 Added tiny11 builder rewritten in PowerShell 2024-04-21 03:02:55 +03:00