Commit graph

112 commits

Author SHA1 Message Date
Snshadow
acf7fd73ae
Merge e094eff295 into 00e7d8a151 2025-09-12 16:41:03 +09:00
NTDEV
00e7d8a151
Merge pull request #441 from FrysCrypto/main
Update tiny11maker.ps1
2025-09-12 10:23:23 +03:00
FrysCrypto
af06d5ab57
Update tiny11maker.ps1
-StartComponentCleanup switch no longer supported in most recent powershell versions
2025-09-12 01:46:20 -05:00
Snshadow
e094eff295 fix: Instruction list number 2025-09-11 08:43:37 +09:00
Snshadow
1c8480abda Merge ntdevlabs/tiny11builder/main into several-fixes 2025-09-11 08:38:10 +09:00
NTDEV
b8cd6e9003
Update README.md 2025-09-11 01:45:57 +03:00
NTDEV
44da0a4b4a
Merge pull request #419 from Miiraak/tiny11maker-patch-#1
Tiny11maker patch #1
2025-09-07 22:54:25 +03: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
NTDEV
bde07ab406
Merge pull request #395 from Miiraak/Merged-PR-tiny11maker.ps1
Update documentation and merged fixes
2025-09-06 15:20:35 +03:00
Old Character
ecd3c8310e
Merge branch 'main' into Merged-PR-tiny11maker.ps1 2025-09-06 13:43:03 +02:00
NTDEV
977c06ae18
Update README.md
new desc
2025-09-06 00:26:15 +03: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
88c058a383 Merge branch 'Merged-PR-tiny11maker.ps1' of https://github.com/Miiraak/tiny11builderDev into Merged-PR-tiny11maker.ps1 2025-08-31 14:58:36 +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
Old Character
ca2f2dff7e
Delete .gitignore 2025-08-31 12:34:09 +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
Snshadow
a5864da64c fix: ScratchDisk variable and some more..
- fix (noted in https://github.com/ntdevlabs/tiny11builder/issues/339) by adding ':' colon for validation pattern, which used to be set to empty value(resulting in using script root path)
- use `Export-WindowsImage` with undocumented Compression Type for more consistence
- use direct string check for little performance improvement
2025-04-06 21:22:29 +09:00
Snshadow
df16ad64f5 fix: look for WOW6432Node first
- registry value from WOW6432Node is regarded first for setup
2025-01-16 14:21:11 +09:00
Snshadow
688458d458 refactor: add new line for more readable console lines
- revert packagePrefixed change as the package is already in github.com/ntdevlabs/tiny11builder/pull/253
2025-01-16 11:33:09 +09:00
Snshadow
5fae99b01e enhance: reduce iso image size
- Revert to use dism for exporting install.esd to use recovery compression which reduced the size about 1 gigabytes.
- Add outlook provisioned appxpackage for removal.
2025-01-16 10:47:13 +09:00
Snshadow
e9d131c691 refactor: use explict parameters
- align switch block
2025-01-16 08:36:06 +09:00
Snshadow
f1e79e8d16 update: powershell dism feature and provisoned appx
- Get architecture using Get-WindowsImage and its property directly.
- Use Get-AppxProvisionedPackage and Remove-AppxProvisionedPackage instead if dism for more consistence.
- Use Export-WindowsImage with -CompressionType Maximum instead of Fast for smaller type(used to be recovery with dism.exe).
2025-01-15 17:26:46 +09:00
Snshadow
e1273fe6ca fix: do not call method on $null object
- fix the cause of crash if ADK is not installed
2025-01-15 13:20:27 +09:00
Snshadow
b0750f317c fix: change disallowing ExecutionPolicy
- Add AllSigned, Undefined for consideration which also prevent script from running
2025-01-15 12:12:13 +09:00
Snshadow
49dac34d87 several-fixes
- Edit README.md part for `Set-ExecutionPolicy` to use `-Scope Process` to prevent changing the entire computer's policy.
- Fix tiny11maker.ps1 and tiny11Coremaker.ps1 to find oscdimg.exe from registry instead of using fixed path.
- Add Run.bat helper batch file(referenced from Win11Debloat) to help running tiny11maker with double clicking.
2025-01-15 11:28:39 +09:00
NTDEV
af69a48265
Merge pull request #266 from qtqgyt/patch-1
Fix readme strikethrough (again)
2024-11-17 21:00:21 +02:00
NTDEV
1175178bf6
Merge pull request #277 from ntdevlabs/experimental
Fixes for 24H2
2024-11-17 20:52:59 +02:00
NTDEV
9ca84542f3
Fixes for 24H2 2024-11-17 20:51:22 +02:00
NTDEV
71e1e30e5e
Merge pull request #268 from Karl-WE/patch-1
Update tiny11maker.ps1 - use dism with PowerShell commands / QoL improvements
2024-11-17 20:36:53 +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
qtqgyt
1fe45e2e80
Update README.md 2024-11-03 12:22:50 -07:00
NTDEV
233b6b0fc4
Merge pull request #246 from Kichura/bitlocker
Disable device encryption by default
2024-10-12 18:07:49 +03:00
Kichura
5153812f23
Disable device encryption by default. 2024-09-27 23:03:21 +02:00
NTDEV
48714d253f
Merge pull request #197 from ntdevlabs/experimental
replace max compression with recovery compression
2024-05-21 23:34:35 +03:00
NTDEV
7ec6a7c253
replace max compression with recovery compression 2024-05-21 23:34:02 +03:00
NTDEV
9d9e51758a
Delete oscdimg.exe
There is no need for it since it downloads it on the fly now.
2024-05-20 21:11:14 +03:00
NTDEV
e51044f5af
Merge pull request #195 from ntdevlabs/experimental
Add oscdimg downloader
2024-05-20 21:06:40 +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