You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/application/collections/windows.yaml
+182-5Lines changed: 182 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -30988,8 +30988,28 @@ actions:
30988
30988
-
30989
30989
name: Remove "Cortana" app
30990
30990
recommend: standard
30991
-
docs: |-
30991
+
docs: |- # TODO: Improve
30992
+
This app
30993
+
30992
30994
[Microsoft Store Page](https://web.archive.org/web/20231003195834/https://apps.microsoft.com/store/detail/cortana/9NFFX4SZZ23L)
30995
+
30996
+
### Technical Details
30997
+
30998
+
This scripts uninstall store app with id `Microsoft.549981C3F5F10`.
30999
+
31000
+
It also disables its associated auto start app `CortanaStartupId`.
31001
+
According to tests, this app exists on:
31002
+
31003
+
| OS | Version | Existence |
31004
+
| -- |:-------:|:---------:|
31005
+
| Windows 10 | 19H2 | ❌ |
31006
+
| Windows 10 | 20H2 | ❌ |
31007
+
| Windows 10 | 21H2 | ❌ |
31008
+
| Windows 10 | 22H2 | ❌ |
31009
+
| Windows 11 | 21H2 | ✅ |
31010
+
| Windows 11 | 22H2 | ✅ |
31011
+
| Windows 11 | 23H2 | ✅ |
31012
+
| Windows 11 | 24H2 | ❌ |
30993
31013
30994
31014
### Overview of default preinstallation
30995
31015
@@ -31004,13 +31024,24 @@ actions:
31004
31024
| Windows 11 | 21H2 | ✅ |
31005
31025
| Windows 11 | 22H2 | ✅ |
31006
31026
| Windows 11 | 23H2 | ✅ |
31027
+
| Windows 11 | 24H2 | ❌ |
31007
31028
31008
31029
[1]: https://web.archive.org/web/20240613063743/https://www.sita.co.za/sites/default/files/documents/Product_Certification/TASRR40_Windows_optimisation.pdf "List of installed apps: Windows 11 | TAS Research Report: Desktop Windows Optimisation | www.sita.co.za"
deleteOnRevert: 'true' # Missing by default since Windows 10 Pro (≥ 22H2) and Windows 11 Pro (≥ 23H2) | Tested since EdgeUpdate ≥ 1.3.187.41
43530
43561
minimumWindowsVersion: Windows11-FirstRelease # No TrustedInstaller is needed on Windows 10, but the functionality is missing so the script won't work.
43531
43562
elevateToTrustedInstaller: 'true' # Without TrustedInstaller: ✅ Windows 10 Pro (>= 20H2) | ❌ Windows 11 Pro (>= 23H2)
43563
+
-
43564
+
name: DisableStoreAppAutoStart
43565
+
parameters:
43566
+
- name: packageName
43567
+
- name: publisherId
43568
+
- name: taskName
43569
+
- name: enabledByDefault
43570
+
optional: true
43571
+
- name: missingByDefault
43572
+
optional: true
43573
+
- name: minimumWindowsVersion # See `RunPowerShellWithWindowsVersionConstraints`
43574
+
optional: true
43575
+
- name: maximumWindowsVersion # See `RunPowerShellWithWindowsVersionConstraints`
43576
+
optional: true
43577
+
# Marked refactor-with-if-syntax:
43578
+
# `enabledByDefault` and `disabledByDefault` can be merged
43579
+
docs: |- # TODO: Revise
43580
+
This function disables startup items of an UWP app [1].
43581
+
43582
+
These startup items are registered using a special mechanims, not visible via conventional ways [1].
43583
+
43584
+
This function disables them using registry entries.
The default is Disabled, so in the normal case, the user must run the app at least once explicitly [3].
43651
+
Here are the possible values for the `State` [2] [3]:
43652
+
43653
+
| Value | Name | Description |
43654
+
| ----- | ---- | ----------- |
43655
+
| `0` | Disabled | The task is disabled. |
43656
+
| `1` | DisabledByUser | The task was disabled by the user. It can only be re-enabled by the user. |
43657
+
| `2` | Enabled | The task is enabled. |
43658
+
| `3` | DisabledByPolicy | The task is disabled by the administrator or group policy. Platforms that don't support startup tasks also report DisabledByPolicy. |
43659
+
| `4` | EnabledByPolicy | The task is enabled by the administrator or group policy. |
43660
+
43661
+
[1]: https://web.archive.org/web/20250414111920/https://stackoverflow.com/questions/63746294/how-to-use-powershell-to-manage-startup-items-of-uwp-app-in-windwos-10/63759561#63759561 "c# - How to use powershell to manage startup items of uwp app in windwos 10? - Stack Overflow | stackoverflow.com"
43662
+
[2]: https://web.archive.org/web/20250414111811/https://learn.microsoft.com/en-us/uwp/api/windows.applicationmodel.startuptaskstate?view=winrt-19041 "StartupTaskState Enum (Windows.ApplicationModel) - Windows apps | Microsoft Learn | learn.microsoft.com"
43663
+
[3]: https://web.archive.org/web/20190629014652/https://windowsadmins.com/configure-your-app-to-start-at-log-in/ "Configure your app to start at log-in - Windows Admins | windowsadmins.com"
0 commit comments