diff --git a/CHANGELOG.md b/CHANGELOG.md index 4289590..d3932bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,10 @@ Builds are continuous: every push to `main` produces a signed `xetup.exe` publis ## [Unreleased] -_Nothing yet._ +### Changed +- **Photos now kept** (01): `Microsoft.Windows.Photos` is added to the always-keep list + (`KeepPackages`), so the default image viewer is no longer removed - like Calculator. It stays + in the removal list but the keep-guard skips it and logs `KEEP Microsoft.Windows.Photos`. ## [0.9] - 2026-06-03 diff --git a/CLAUDE.md b/CLAUDE.md index 792856d..3911dd3 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -200,6 +200,7 @@ git push "http://x9:${TOKEN}@localhost:3100/x9/xetup.git" main - Do not use `$ErrorActionPreference = "Stop"` - scripts must survive partial failure - Do not remove Calculator (Microsoft.WindowsCalculator) +- Do not remove Photos (Microsoft.Windows.Photos) - Do not use ARM VM for testing - Do not write scripts depending on specific username - Do not use hardcoded paths that do not exist on clean Windows diff --git a/scripts/01-bloatware.ps1 b/scripts/01-bloatware.ps1 index 92cfb45..ff9dd71 100644 --- a/scripts/01-bloatware.ps1 +++ b/scripts/01-bloatware.ps1 @@ -5,11 +5,12 @@ .DESCRIPTION Removes Microsoft-bundled apps and features not needed in a business MSP deployment. Removal is done for all users (-AllUsers) and from the provisioning store so new - users do not get them either. Calculator is intentionally kept. + users do not get them either. Calculator and Photos are intentionally kept. .ITEMS appx-balicky-odstraneni-pro-vsechny-uziv: Uses Remove-AppxPackage -AllUsers and Remove-AppxProvisionedPackage. The provisioned removal prevents apps from reinstalling for new user profiles. Covers ~35 apps including Cortana, Copilot, Teams personal, Xbox, Skype, News, Weather, Maps. zachovano-microsoft-windowscalculator: Calculator is explicitly excluded. Lightweight utility frequently used by technicians and end users. Removing it would require manual reinstall from Store. + zachovano-microsoft-windows-photos: Photos is explicitly excluded via KeepPackages. Default image viewer expected by end users; removing it leaves no built-in viewer and would require manual reinstall from Store. windows-capabilities-fax-ie-openssh-wmp-: Removed via Remove-WindowsCapability: Fax & Scan, Internet Explorer mode, OpenSSH client, Windows Media Player (legacy), WordPad, Handwriting recognition, Steps Recorder, Math Input Panel, Quick Assist. windows-optional-features-ps-2-0-mediapl: Disabled via Disable-WindowsOptionalFeature: PowerShell 2.0 (security risk - allows unsigned script execution bypass on older hosts), MediaPlayback, Windows Recall (AI screenshot surveillance), Snipping Tool optional component. feature-toggles: Three GUI feature flags gate removal. standardBloatware (default on) covers the bulk list. removeNewOutlook (default on) controls Microsoft.OutlookForWindows; classic Outlook from M365 is a Win32 app and is never touched. removeSnippingTool (default OFF) controls Snipping Tool across all three lists (ScreenSketch app + legacy capability + legacy feature) - kept by default as a common productivity tool, like Calculator. @@ -104,7 +105,7 @@ $AppxToRemove = @( ) # Packages to always keep -$KeepPackages = @("Microsoft.WindowsCalculator") +$KeepPackages = @("Microsoft.WindowsCalculator", "Microsoft.Windows.Photos") if ($Config -and $Config.bloatware -and $Config.bloatware.keepPackages) { $KeepPackages += $Config.bloatware.keepPackages } diff --git a/web/data/descriptions.json b/web/data/descriptions.json index 0db5ba5..622f242 100644 --- a/web/data/descriptions.json +++ b/web/data/descriptions.json @@ -13,10 +13,11 @@ }, "01-bloatware": { "synopsis": "Removes pre-installed bloatware: AppX packages, Capabilities, and Optional Features.", - "description": "Removes Microsoft-bundled apps and features not needed in a business MSP deployment.\nRemoval is done for all users (-AllUsers) and from the provisioning store so new\nusers do not get them either. Calculator is intentionally kept.", + "description": "Removes Microsoft-bundled apps and features not needed in a business MSP deployment.\nRemoval is done for all users (-AllUsers) and from the provisioning store so new\nusers do not get them either. Calculator and Photos are intentionally kept.", "items": { "appx-balicky-odstraneni-pro-vsechny-uziv": "Uses Remove-AppxPackage -AllUsers and Remove-AppxProvisionedPackage. The provisioned removal prevents apps from reinstalling for new user profiles. Covers ~35 apps including Cortana, Copilot, Teams personal, Xbox, Skype, News, Weather, Maps.", "zachovano-microsoft-windowscalculator": "Calculator is explicitly excluded. Lightweight utility frequently used by technicians and end users. Removing it would require manual reinstall from Store.", + "zachovano-microsoft-windows-photos": "Photos is explicitly excluded via KeepPackages. Default image viewer expected by end users; removing it leaves no built-in viewer and would require manual reinstall from Store.", "windows-capabilities-fax-ie-openssh-wmp-": "Removed via Remove-WindowsCapability: Fax & Scan, Internet Explorer mode, OpenSSH client, Windows Media Player (legacy), WordPad, Handwriting recognition, Steps Recorder, Math Input Panel, Quick Assist.", "windows-optional-features-ps-2-0-mediapl": "Disabled via Disable-WindowsOptionalFeature: PowerShell 2.0 (security risk - allows unsigned script execution bypass on older hosts), MediaPlayback, Windows Recall (AI screenshot surveillance), Snipping Tool optional component.", "feature-toggles": "Three GUI feature flags gate removal. standardBloatware (default on) covers the bulk list. removeNewOutlook (default on) controls Microsoft.OutlookForWindows; classic Outlook from M365 is a Win32 app and is never touched. removeSnippingTool (default OFF) controls Snipping Tool across all three lists (ScreenSketch app + legacy capability + legacy feature) - kept by default as a common productivity tool, like Calculator." diff --git a/web/spec/index.html b/web/spec/index.html index 999c620..81e350d 100644 --- a/web/spec/index.html +++ b/web/spec/index.html @@ -578,6 +578,7 @@ +
AppX balicky – odstraneni pro vsechny uzivatele a provisionedRemove-AppxPackage -AllUsers + Remove-AppxProvisionedPackage
Zachovano: Microsoft.WindowsCalculatorZamerny vyjimek
Zachovano: Microsoft.Windows.PhotosZamerny vyjimek (vychozi prohlizec obrazku)
Windows Capabilities (Fax, IE, OpenSSH, WMP, WordPad, …)Remove-WindowsCapability
Windows Optional Features (PS 2.0, MediaPlayback, Recall, …)Disable-WindowsOptionalFeature
GUI prepinace: standardBloatware, removeNewOutlook, removeSnippingToolKazdy krok lze v GUI samostatne zaskrtnout/odskrtnout