Commit graph

117 commits

Author SHA1 Message Date
Old Character
cd14413b3b
Merge 39e0d5dd4c into 00e7d8a151 2025-09-12 15:59:59 +08: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
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
Old Character
39e0d5dd4c
Update tiny11makerGUI.ps1 2025-02-15 14:10:32 +01:00
Old Character
4e4fecbd24
Delete .gitignore 2024-11-24 14:45:15 +01:00
Old Character
5f1f770429
Delete .github/ISSUE_TEMPLATE directory 2024-11-24 14:45:00 +01:00
Old Character
d37e3e1b01
Merge pull request #10 from Miiraak/UI-&-Log-overhaul
UI & Log overhaul
2024-11-23 22:23:20 +01:00
Miiraak
603b3e25e2 UI overhaul to dark theme and improved user guidance
- Changed main form, buttons, and textboxes to dark theme with white text
- Removed title label from the form
- Updated placeholder text for ISO selection textbox
- Relocated various UI elements for better layout
- Added log messages to guide user through mounting process
- Improved user prompts and completion messages
2024-11-23 22:20:57 +01:00
Old Character
8e284c3631
Merge pull request #9 from Miiraak/Refactor-functions-&-improve-logs
Refactor functions and improve logging
2024-11-23 14:36:42 +01:00
Miiraak
eb327a3aa8 Refactor script for UI and functionality improvements
Added :
- Disable image index combobox after selection
- Move process completion message box to script end

Removed:
- Some comments removed
2024-11-23 14:16:58 +01:00
Miiraak
c5be566d96 Refactor functions and improve logging
- Introduced `Remove-RegistryValue` and `Set-RegistryValue` functions to replace direct `reg` commands for registry modifications.
- Moved and redefined `Add-Log` function to enhance logging capabilities.
- Added `Mount-Image` function and updated `MountButton.Add_Click` event handler to use it.
- Enhanced logging for better user feedback.
- Updated final cleanup message for improved user-friendliness.
2024-11-23 13:36:48 +01:00
Old Character
c49ab4fa1e
Merge pull request #8 from Miiraak/SKU-information-logs
Enhance logging for image processing
2024-11-22 02:18:52 +01:00
Miiraak
867c939b0d Enhance logging for image processing
- Change `$ImageIndexLabel` text from "SKU:" to "SKU index:".
- Update `Copy-Item` command to include:
  * Save image info using `dism`.
  * Add image index to combobox from `Get-WindowsImage`.
  * Update message box text to refer to logs for edition info.
  * Log `$SKUInfo` variable.

User can now look in logs to see index edition.
2024-11-22 02:17:10 +01:00
Old Character
096002aaed
Merge pull request #7 from Miiraak/GUI-Improvement-&-issue-dismount-image
UI adjustments, logging, window hiding and dismounting image
2024-11-22 01:55:24 +01:00
Miiraak
7a76db033c UI adjustments, logging, window hiding and dismounting image
- Added DllImport for `ShowWindow` to hide PowerShell window.
- Adjusted UI element sizes and positions for better layout.
- Disabled buttons and combo boxes after actions, added corresponding logs.
- Added message box prompt for SKU image selection.
- Added logging and dismounting of images after process completion.
- Included various logging messages to track script progress.
2024-11-22 01:50:58 +01:00
Old Character
1e232a1442
Merge pull request #1 from Miiraak/Miiraak-patch-1
Update issue templates
2024-11-20 20:31:43 +01:00
Old Character
734697e3c2
Update issue templates 2024-11-20 20:30:42 +01:00
Miiraak
7c52e83fba Update .gitignore and enhance tiny11makerGUI.ps1
- Add .iso files to .gitignore
- Modify $MountButton event handler to remove enabling of $ImageIndexLabel and $ImageIndexComboBox
- Remove placeholder items from $ImageIndexComboBox initialization
- Update $StartButton event handler:
  - Remove SKU log entry
  - Remove setting $ImageIndexComboBox.Items to Get-WindowsImage result
  - Add Get-WindowsImage command to show image info
  - Add image index to $ImageIndexComboBox based on Get-WindowsImage result
  - Enable $ImageIndexLabel and $ImageIndexComboBox
  - Add log messages to prompt user to select image index
  - Add event handler for $ImageIndexComboBox.SelectedIndexChanged to set $index and log mounting process
- Update final steps of script:
  - Remove completion log message and message box display
  - End script with closing event handler and add new label for logs
2024-11-20 20:17:42 +01:00
Miiraak
da63f65b54 - Add 'tiny11makerGUI.ps1' to folder
A new file that add GUI to the logic of 'tiny11maker.ps1'.
Not totally functionnal right now, need to improve some things...

- Add .vs directory to .gitignore for Visual Studio
A new section has been added to the .gitignore file, indicating that it was automatically created by Microsoft Visual Studio. The .vs directory, which is used by Visual Studio to store temporary files and settings, has been added to the ignore list to prevent these files from being tracked by Git.
2024-11-20 12:19:17 +01: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