Skip to content

Commit

Permalink
Merge pull request #3 from xyecosnya/origin
Browse files Browse the repository at this point in the history
Merge pull request
  • Loading branch information
xyecosnya authored Mar 20, 2024
2 parents bac9570 + 0f39c67 commit bfc6910
Show file tree
Hide file tree
Showing 4 changed files with 178 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,47 @@ actions:
# === Notify antivirus programs when opening attachments - Disabled
# ------> Default is 3
- !registryValue: {path: 'HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments', value: 'ScanWithAntiVirus', type: REG_DWORD, data: '1'}


# === Disables Automatic Folder Type Discovery
# ------> Disabling it fixes the 'folder always loading' issue when a folder contains a lot of media files.
# ------> https://www.windowslatest.com/2024/03/04/windows-11-can-open-big-folders-in-file-explorer-faster-if-you-turn-off-folder-discovery/
- !registryValue: {path: 'HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell', value: 'FolderType', type: REG_SZ, data: 'NotSpecified'}

# === Force explorer to use high performance GPU
- !registryValue: { path: 'HKCU\Software\Microsoft\DirectX\UserGpuPreferences', value: 'C:\Windows\explorer.exe', type: REG_SZ, data: 'GpuPreference=2;' }

# === Disable "Include account-based insights, recent, favorite and recommended" for OneDrive in File Explorer
- !registryValue: { path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer', value: 'DisableGraphRecentItems', type: REG_DWORD, data: '1' }

# === Disable Group By in the Downloads folder to avoid unnecessary dates comparison
- !powerShell:
runas: trustedInstaller
command: |
$folderTypesKey = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes'
$downloadsFolderID = '{885a186e-a440-4ada-812b-db871b942259}'
$path = Join-Path -Path $folderTypesKey -ChildPath $downloadsFolderID
Get-ChildItem -Path $path -Recurse | ForEach-Object {
if ((Get-ItemProperty -Path $_.PSPath).GroupBy) {
Set-ItemProperty -Path $_.PSPath -Name GroupBy -Value ''
}
}
# Necesarry to refresh 'Bags' to have an
- !powerShell:
runas: currentUserElevated
command: |
$downloadsFolderID = '{885a186e-a440-4ada-812b-db871b942259}'
$bagsPath = 'HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags'
Get-ChildItem -Path $bagsPath | ForEach-Object {
$fullPath = Join-Path -Path $_.PSPath -ChildPath 'Shell\{885A186E-A440-4ADA-812B-DB871B942259}'
if (Test-Path -Path $fullPath) {
Remove-Item -Path $fullPath -Recurse
}
}
# ========================
# === Discarded Tweaks ===
# ========================
Expand Down
11 changes: 10 additions & 1 deletion src/Configuration/features/revision/registry/configure-ifeo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,21 @@ actions:
# === CEIP
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\CompatTelRunner.exe', value: 'Debugger', type: REG_SZ, data: '%windir%\System32\taskkill.exe'}
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\AggregatorHost.exe', value: 'Debugger', type: REG_SZ, data: '%windir%\System32\taskkill.exe'}

# === Webcam Telemetry
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\DeviceCensus.exe', value: 'Debugger', type: REG_SZ, data: '%windir%\System32\taskkill.exe'}

# === Microsoft PC Manager spread
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\FeatureLoader.exe', value: 'Debugger', type: REG_SZ, data: '%windir%\System32\taskkill.exe'}

# === Bing pop-up ads
# -----> https://www.windowslatest.com/2024/03/15/microsoft-confirms-bing-pop-up-ads-in-chrome-on-windows-11-windows-10/
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\BingChatInstaller.exe', value: 'Debugger', type: REG_SZ, data: '%windir%\System32\taskkill.exe'}
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\BGAUpsell.exe', value: 'Debugger', type: REG_SZ, data: '%windir%\System32\taskkill.exe'}
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\BCILauncher.exe', value: 'Debugger', type: REG_SZ, data: '%windir%\System32\taskkill.exe'}


# === Change CPU priority to Below Normal
# ------> if no issues will be reported, then also change IO priority
# 1 Idle
# 2 Normal
# 3 High
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,19 +197,27 @@ actions:
# === Allow users to enable online speech recognition services - Disabled
# ------> If this policy is disabled, speech services will be disabled, and users cannot enable speech services via settings.
- !registryValue: {path: 'HKLM\SOFTWARE\Policies\Microsoft\InputPersonalization', value: 'AllowInputPersonalization', type: REG_DWORD, data: '0'}

# ======> Diagnostics & feedback
# === Diagnostic data - Disabled
# ------> Disable Telemetry - Enabled
- !registryValue: {path: 'HKCU\SOFTWARE\Policies\Microsoft\Windows\DataCollection', value: 'AllowTelemetry', type: REG_DWORD, data: '0'}
- !registryValue: {path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection', value: 'AllowTelemetry', type: REG_DWORD, data: '0'}
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection', value: 'AllowTelemetry', type: REG_DWORD, data: '0'}
- !registryValue: {path: 'HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Policies\DataCollection', value: 'AllowTelemetry', type: REG_DWORD, data: '0'}

- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\PolicyManager\default\System\AllowTelemetry', value: 'value', type: REG_DWORD, data: '0'}
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\CPSS\DevicePolicy\AllowTelemetry', value: 'DefaultValue', type: REG_DWORD, data: '0'}
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\CPSS\Store\AllowTelemetry', value: 'Value', type: REG_DWORD, data: '0'}

# === Improve inking and typing recognition - Disabled
- !registryValue: {path: 'HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\TextInput', value: 'AllowLinguisticDataCollection', type: REG_DWORD, data: '0'}
# === Improve inking and typing recognition - Disabled
- !registryValue: {path: 'HKCU\Software\Microsoft\Input\TIPC', value: 'Enabled', type: REG_DWORD, data: '0'}
# === Tailored experiences - Off
- !registryValue: {path: 'HKCU\Software\Microsoft\Windows\CurrentVersion\Privacy', value: 'TailoredExperiencesWithDiagnosticDataEnabled', type: REG_DWORD, data: '0'}
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\CPSS\DevicePolicy\TailoredExperiencesWithDiagnosticDataEnabled', value: 'DefaultValue', type: REG_DWORD, data: '0'}

# === View diagnostic data - Off
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack\EventTranscriptKey', value: 'EnableEventTranscript', type: REG_DWORD, data: '0'}
# === Feedback frequency - Never
Expand Down
152 changes: 119 additions & 33 deletions src/Executables/CAB/systemPackages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,38 +87,6 @@ updates:
target_arch: x86
version: 38655.38527.65535.65535

- target_component: Microsoft-Windows-OneDrive-Setup
target_arch: amd64
version: 38655.38527.65535.65535

- target_component: Microsoft-Windows-OneDrive-Setup-Deployment
target_arch: amd64
version: 38655.38527.65535.65535

- target_component: Microsoft-Windows-OneDrive-Setup-Deployment-LanguagePack
target_arch: amd64
version: 38655.38527.65535.65535

- target_component: Microsoft-Windows-OneDrive-SetupRegistry
target_arch: amd64
version: 38655.38527.65535.65535

- target_component: Microsoft-Windows-OneDrive-SetupRegistry
target_arch: wow64
version: 38655.38527.65535.65535

- target_component: Microsoft-Windows-OneDrive-Setup-WOW64-Deployment
target_arch: amd64
version: 38655.38527.65535.65535

- target_component: Microsoft-Windows-OneDrive-Setup-WOW64-Deployment-LanguagePack
target_arch: amd64
version: 38655.38527.65535.65535

- target_component: Microsoft-Windows-SystemSettings-SettingsHandlers-OneDriveBackup
target_arch: amd64
version: 38655.38527.65535.65535

- target_component: Microsoft-Windows-PhotoBasic-Feature-WOW64-Deployment-LanguagePack
target_arch: amd64
version: 38655.38527.65535.65535
Expand Down Expand Up @@ -344,6 +312,9 @@ updates:
target_arch: amd64
version: 38655.38527.65535.65535

- target_component: Microsoft-Windows-DeviceCensus
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-DeviceCensus-Schedule-ClientServer
target_arch: amd64
version: 38655.38527.65535.65535
Expand Down Expand Up @@ -409,10 +380,16 @@ updates:
- target_component: Windows-System-Diagnostics-Telemetry-PlatformTelemetryClient
target_arch: amd64
version: 38655.38527.65535.65535

- target_component: Windows-System-Diagnostics-Telemetry-PlatformTelemetryClient
target_arch: wow64
version: 38655.38527.65535.65535

- target_component: Windows-System-Diagnostics-TraceReporting-PlatformDiagnosticActions
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Windows-System-Diagnostics-TraceReporting-PlatformDiagnosticActions
target_arch: wow64
version: 38655.38527.65535.65535

- target_component: Microsoft-Windows-UNP-Task
target_arch: amd64
Expand Down Expand Up @@ -578,3 +555,112 @@ updates:
- target_component: Microsoft-Windows-PortableWorkspaces-SysPrep
target_arch: wow64
version: 38655.38527.65535.65535


# Edge
- target_component: MicrosoftEdge-Autologger
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Edge-WebView
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-Edge-Angle
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-Edge-EdgeContent
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-Edge-EdgeManager
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-Edge-MicrosoftEdgeBCHost
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-Edge-MicrosoftEdgeCP
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-Edge-MicrosoftEdgeDevTools
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-Edge-MicrosoftEdgeEnlightenment
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-Edge-MicrosoftEdgeEnlightenment
target_arch: wow64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-Edge-MicrosoftEdgeSH
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-MicrosoftEdgeBrowser
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-MicrosoftEdgeDevToolsClient.AppxMain
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-MicrosoftEdgeDevToolsClient.AppxMain.Resources
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-MicrosoftEdgeDevToolsClient.AppxSetup
target_arch: amd64
version: 38655.38527.65535.65535

- target_component: Microsoft-Windows-FlipGridPWA
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-FlipGridPWA-Deployment
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-FlipGridPWA-Deployment-LanguagePack
target_arch: amd64
version: 38655.38527.65535.65535

- target_component: Microsoft-Windows-BingSearch
target_arch: amd64
version: 38655.38527.65535.65535

- target_component: Microsoft-Windows-OutlookPWA
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-OutlookPWA-Deployment
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-OutlookPWA-Deployment-LanguagePack
target_arch: amd64
version: 38655.38527.65535.65535

# this component is removed via appx removal, but gets reinstalled after a cumulative update
- target_component: Microsoft-Windows-PeopleExperienceHost.AppxMain
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-PeopleExperienceHost.AppxMain.Resources
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-PeopleExperienceHost.AppxSetup
target_arch: amd64
version: 38655.38527.65535.65535

# OneDrive
- target_component: Microsoft-Windows-OneDrive-Setup
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-OneDrive-Setup-Deployment
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-OneDrive-Setup-Deployment-LanguagePack
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-OneDrive-SetupRegistry
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-OneDrive-SetupRegistry
target_arch: wow64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-OneDrive-Setup-WOW64-Deployment
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-OneDrive-Setup-WOW64-Deployment-LanguagePack
target_arch: amd64
version: 38655.38527.65535.65535
- target_component: Microsoft-Windows-SystemSettings-SettingsHandlers-OneDriveBackup
target_arch: amd64
version: 38655.38527.65535.65535

0 comments on commit bfc6910

Please sign in to comment.