Skip to content

Commit 30a6c30

Browse files
authored
Merge pull request #944 from Atlas-OS/dev
Automatic PR: Merging dev into main (27fa5a4)
2 parents 78a9cc3 + ae2a557 commit 30a6c30

File tree

85 files changed

+672
-453
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+672
-453
lines changed

src/playbook/Configuration/atlas/appx.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,16 @@ actions:
5757
# Paint 3D
5858
- !appx: {name: '*Microsoft.MSPaint*', type: family}
5959

60+
# Game Bar
61+
# Support is disabled by default - there shouldn't be a popup about 'ms-gaming-overlay-link'
62+
- !appx: {name: '*Microsoft.XboxGameOverlay*', type: family}
63+
- !appx: {name: '*Microsoft.XboxGamingOverlay*', type: family}
64+
6065
# Widgets
61-
# Uninstallation seems to fail with AME Wizard sometimes
6266
- !taskKill: {name: '*widgets*', ignoreErrors: true}
6367
- !appx: {name: '*MicrosoftWindows.Client.WebExperience*', type: family}
6468
- !powerShell:
65-
command: 'Get-AppxPackage *Client.WebExperience* -AllUsers | Remove-AppxPackage -AllUsers'
69+
command: 'Get-AppxPackage ''MicrosoftWindows.Client.WebExperience'' | Remove-AppxPackage'
6670
runas: currentUserElevated
6771

6872
# Get Started
@@ -77,15 +81,15 @@ actions:
7781
- !appx: {name: '*Global.BackupBanner*', type: app, unregister: true}
7882
- !appx: {name: '*Global.IrisService*', type: app, unregister: true}
7983
- !appx: {name: '*Global.ValueBanner*', type: app, unregister: true}
80-
- !appx: {name: '*Global.DesktopSpotlight*', type: app, unregister: true}
81-
84+
8285
- !run:
8386
exe: 'powershell.exe'
8487
args: '-NoP -File CLIENTCBS.ps1'
8588
exeDir: true
8689

87-
# Quick Assist
90+
# Family App, Quick Assist
8891
- !appx: {name: '*MicrosoftCorporationII.QuickAssist*', type: family}
92+
- !appx: {name: '*MicrosoftCorporationII.MicrosoftFamily*', type: family}
8993

9094
- !appx: {name: '*Microsoft.Advertising.Xaml*', type: family}
9195
- !appx: {name: '*Microsoft.BingNews*', type: family}

src/playbook/Configuration/atlas/components.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ actions:
3737
- !writeStatus: {status: 'Removing components'}
3838
- !run:
3939
exe: 'powershell'
40-
args: '& """$env:windir\AtlasModules\PackagesEnvironment\winrePackages.ps1""" -PlaybookInstall'
40+
args: '& """$env:windir\AtlasModules\PackagesEnvironment\centralScript.ps1""" -PlaybookInstall'
4141
option: 'defender-disable'
4242
- !run:
4343
exe: 'powershell'
44-
args: '& """$env:windir\AtlasModules\PackagesEnvironment\winrePackages.ps1""" -PlaybookInstall -EverythingButDefender'
44+
args: '& """$env:windir\AtlasModules\PackagesEnvironment\centralScript.ps1""" -PlaybookInstall -EverythingButDefender'
4545
option: 'defender-enable'
4646

4747
# Update Health Tools

src/playbook/Configuration/atlas/services.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ actions:
77

88
# Backup default Windows serivces & drivers
99
- !cmd:
10-
command: 'powershell -NoP -EP Unrestricted -File "BACKUP.ps1" "%windir%\AtlasModules\Other\atlasServices.reg"'
10+
command: 'powershell -NoP -EP Unrestricted -File "BACKUP.ps1" "%windir%\AtlasModules\Other\winServices.reg"'
1111
wait: true
1212
exeDir: true
1313

src/playbook/Configuration/atlas/start.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Copies Atlas folders/files, installs dependencies and performs the
44
privilege: TrustedInstaller
55
actions:
66
# AME Wizard Live Log for development playbooks
7-
# Do not change the line position of this, otherwise things will break
7+
# Do not change the line position of this, otherwise things will break when using local-build
88
# - !run: {exe: 'cmd.exe', args: '/c start "AME Wizard Live Log" PowerShell -NoP -C "gc -Wait Logs\TIOutput.txt -EA SilentlyContinue | Write-Output; pause"', baseDir: true, wait: false}
99

1010
# Prevent annoying notifications during deployment
@@ -35,6 +35,15 @@ actions:
3535
# - !writeStatus: {status: 'Refreshing variables'}
3636
# - !run: {exeDir: true, exe: 'REFRESHENV.cmd'}
3737

38+
- !writeStatus: {status: 'Configuring Optional Features'}
39+
- !run: {exe: 'DISM.exe', args: '/Online /Cleanup-Image /StartComponentCleanup', weight: 30}
40+
- !run: {exe: 'DISM.exe', args: '/Online /Enable-Feature /FeatureName:"DirectPlay" /NoRestart /All', weight: 30}
41+
- !run: {exe: 'DISM.exe', args: '/Online /Disable-Feature /FeatureName:"Internet-Explorer-Optional-amd64" /NoRestart', weight: 30, builds: [ '!>=22000' ]}
42+
- !run: {exe: 'DISM.exe', args: '/Online /Disable-Feature /FeatureName:"Printing-Foundation-Features" /NoRestart', weight: 30}
43+
- !run: {exe: 'DISM.exe', args: '/Online /Disable-Feature /FeatureName:"Printing-Foundation-InternetPrinting-Client" /NoRestart', weight: 30}
44+
- !run: {exe: 'DISM.exe', args: '/Online /Disable-Feature /FeatureName:"Printing-XPSServices-Features" /NoRestart', weight: 30}
45+
- !run: {exe: 'DISM.exe', args: '/Online /Disable-Feature /FeatureName:"Printing-PrintToPDFServices-Features" /NoRestart', weight: 30}
46+
3847
################ NO LOCAL BUILD ################
3948

4049
- !writeStatus: {status: 'Installing software'}
@@ -43,27 +52,30 @@ actions:
4352
args: '-NoP -File "SOFTWARE.ps1"'
4453
exeDir: true
4554
weight: 150
55+
runas: currentUserElevated
4656
- !writeStatus: {status: 'Installing Google Chrome', option: 'browser-chrome'}
4757
- !run:
4858
exe: 'powershell.exe'
4959
args: '-NoP -File "SOFTWARE.ps1" -Chrome'
5060
exeDir: true
5161
weight: 150
5262
option: 'browser-chrome'
63+
runas: currentUserElevated
5364
- !writeStatus: {status: 'Installing Brave', option: 'browser-brave'}
5465
- !run:
5566
exe: 'powershell.exe'
5667
args: '-NoP -File "SOFTWARE.ps1" -Brave'
5768
exeDir: true
5869
weight: 150
5970
option: 'browser-brave'
60-
71+
runas: currentUserElevated
6172
- !writeStatus: {status: 'Installing Waterfox', option: 'browser-waterfox'}
6273
- !run:
6374
exe: 'powershell.exe'
6475
args: '-NoP -File "SOFTWARE.ps1" -Waterfox'
6576
exeDir: true
6677
weight: 150
6778
option: 'browser-waterfox'
79+
runas: currentUserElevated
6880

6981
################ END NO LOCAL BUILD ################

src/playbook/Configuration/tweaks.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ tasks:
152152
- tweaks\qol\show-all-tasks-control-panel.yml
153153
- tweaks\qol\visual-effects.yml
154154
- tweaks\qol\disable-tips.yml
155-
- tweaks\qol\disable-system-restore.yml
156155
- tweaks\qol\set-hidden-settings-pages.yml
157156

158157
# -------------------------------------------------------------------------- #

src/playbook/Configuration/tweaks/debloat/disable-scheduled-tasks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ actions:
3232

3333
# Here are the scheduled tasks that are currently commented as they're under review.
3434
# This list should be somewhat minimal in the tasks it deletes, as a lot of the tasks below won't run by default ever anyways, unless needed.
35-
# Telemetry, Windows Error Reporting and CEIP/SQM is stripped by default anyways, so don't worry about that.
35+
# Telemetry and CEIP/SQM is stripped by default anyways, so don't worry about that.
3636

3737
# - !scheduledTask:
3838
# path: '\Microsoft\Windows\DeviceDirectoryClient'

src/playbook/Configuration/tweaks/misc/config-oem-information.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ actions:
1111
- !registryValue:
1212
path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation'
1313
value: 'Model'
14-
data: 'AtlasOS v0.3.0'
14+
data: 'AtlasOS v0.3.1'
1515
type: REG_SZ
1616
- !registryValue:
1717
path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation'

src/playbook/Configuration/tweaks/misc/delete-version-specific-files.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ actions:
1010
- !file: {path: '%windir%\AtlasDesktop\4. Optional Tweaks\File Explorer Customization\Gallery', builds: [ '!>=22000' ]}
1111
- !file: {path: '%windir%\AtlasDesktop\4. Optional Tweaks\Windows 11 Context Menu', builds: [ '!>=22000' ]}
1212
- !file: {path: '%windir%\AtlasModules\Tools\TimerResolution.exe', builds: [ '!>=22000' ]}
13+
- !file: {path: '%windir%\AtlasDesktop\4. Optional Tweaks\File Explorer Customization\Folders in This PC\Win11', builds: [ '!>=22000' ]}
1314

1415
# Delete Windows 10-only tweaks
1516
- !file: {path: '%windir%\AtlasDesktop\4. Optional Tweaks\Volume Flyout', builds: [ '>=22000' ], ignoreErrors: true}
17+
- !file: {path: '%windir%\AtlasDesktop\4. Optional Tweaks\File Explorer Customization\Folders in This PC\Win10', builds: [ '>=22000' ]}

src/playbook/Configuration/tweaks/privacy/search-settings.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,3 @@ actions:
5757
value: 'SearchboxTaskbarMode'
5858
data: '1'
5959
type: REG_DWORD
60-
scope: activeUsers

src/playbook/Configuration/tweaks/qol/appearance/atlas-theme.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ actions:
1212
# Set lockscreen
1313
- !run:
1414
exe: 'powershell.exe'
15-
args: '-NoP -EP Unrestricted & "LOCKSCREEN.ps1"'
15+
args: '-NoP -EP Unrestricted -File "LOCKSCREEN.ps1"'
1616
exeDir: true
1717
runas: currentUserElevated
1818
- !taskKill: {name: 'SystemSettings', ignoreErrors: true}

src/playbook/Configuration/tweaks/qol/config-start-menu.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ actions:
2727
data: '1'
2828
type: REG_DWORD
2929
- !registryValue:
30-
path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Start'
31-
value: 'ShowRecentList'
32-
data: '0'
30+
path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer'
31+
value: 'ShowOrHideMostUsedApps'
32+
data: '2'
3333
type: REG_DWORD
3434

3535
- !run:

src/playbook/Configuration/tweaks/qol/disable-system-restore.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/playbook/Configuration/tweaks/qol/explorer/remove-shortcut-text.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Removes '- Shortcut' text appended onto the end of shortcuts for Qo
44
privilege: TrustedInstaller
55
actions:
66
- !registryValue:
7-
path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer'
8-
value: 'link'
9-
data: '00000000'
10-
type: REG_BINARY
7+
path: 'HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates'
8+
value: 'ShortcutNameTemplate'
9+
data: '"%s.lnk"'
10+
type: REG_SZ

src/playbook/Configuration/tweaks/qol/windows-update/disable-auto-updates.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,18 @@ actions:
1111
- !registryKey: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Orchestrator\UScheduler\DevHomeUpdate'}
1212
- !registryKey: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Orchestrator\UScheduler\OutlookUpdate'}
1313

14-
# Prevent random apps from installing, including Widgets
14+
# Prevent random apps from installing, including Widgets or advertisements
1515
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Orchestrator\Settings', value: 'STOREBIZCRITICALAPPS', operation: delete}
16+
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\InstallService\State\CategoryCache', value: '48caba8a-2e62-2097-dcd8-4255c637b32dUS', operation: delete}
17+
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell\Update\Packages\Components', value: 'AccountsService', operation: delete}
18+
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell\Update\Packages\Components', value: 'BackupBanner', operation: delete}
19+
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell\Update\Packages\Components', value: 'DesktopSpotlight', operation: delete}
20+
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell\Update\Packages\Components', value: 'IrisService', operation: delete}
21+
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell\Update\Packages\Components', value: 'SystemSettingsExtensions', operation: delete}
22+
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell\Update\Packages\Components', value: 'WebExperienceHost', operation: delete}
23+
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell\Update\Packages\Components', value: 'WindowsBackup', operation: delete}
24+
- !registryValue: {path: 'HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\RestrictedServices\AppIso\FirewallRules', value: '{5D2C72C6-969D-4C1E-8484-41ED53782351}', data: 'v2.32|Action=Block|Active=TRUE|Dir=Out|Profile=Domain|Profile=Private|Profile=Public|RA42=IntErnet|RA62=IntErnet|Name=Windows Web Experience Pack|Desc=Windows Web Experience Pack|LUAuth=O:LSD:(A;;CC;;;S-1-15-3-1)(A;;CC;;;WD)(A;;CC;;;AN)|LUOwn=S-1-5-21-1752034362-1788923297-4099944-1001|AppPkgId=S-1-15-2-1312876954-3728250218-3694470604-4188764552-3197360367-780678243-3229644300|EmbedCtxt=Windows Web Experience Pack|'}
25+
- !registryValue: {path: 'HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules', value: '{26037439-AD8B-4A56-AF2E-F6CDDB59F6BE}', data: 'v2.32|Action=Block|Active=TRUE|Dir=Out|Profile=Domain|Profile=Private|Profile=Public|Name=Windows Web Experience Pack|Desc=Windows Web Experience Pack|LUOwn=S-1-5-21-1752034362-1788923297-4099944-1001|AppPkgId=S-1-15-2-1312876954-3728250218-3694470604-4188764552-3197360367-780678243-3229644300|EmbedCtxt=Windows Web Experience Pack|Platform=2:6:2|Platform2=GTEQ|'}
1626

1727
# Prevent Microsoft Teams installation
1828
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Communications', value: 'ConfigureChatAutoInstall', data: '0', type: REG_DWORD}

src/playbook/Configuration/tweaks/scripts/script-backup2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ description: Backs up default Atlas services and drivers, after all the tweaks a
44
privilege: TrustedInstaller
55
actions:
66
- !cmd:
7-
command: 'powershell -NoP -EP Unrestricted -File "BACKUP.ps1" "%windir%\AtlasModules\Other\winServices.reg"'
7+
command: 'powershell -NoP -EP Unrestricted -File "BACKUP.ps1" "%windir%\AtlasModules\Other\atlasServices.reg"'
88
wait: true
99
exeDir: true

src/playbook/Configuration/tweaks/scripts/script-cleanup.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ actions:
77
exe: 'powershell.exe'
88
args: '-NoP -File CLEANUP.ps1'
99
exeDir: true
10+
runas: currentUserElevated

src/playbook/Executables/AtlasDesktop/1. Software/Remove Edge.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ function RemoveEdgeAppX {
193193
}
194194

195195
function RemoveWebView {
196-
$edges = @(); $bho = @(); $edgeupdates = @(); 'LocalApplicationData','ProgramFilesX86','ProgramFiles' | foreach {
196+
$edges = @(); $bho = @(); $edgeupdates = @(); 'LocalApplicationData','ProgramFilesX86','ProgramFiles' | foreach {
197197
$folder = [Environment]::GetFolderPath($_)
198198
$edges += dir "$folder\Microsoft\Edge*\setup.exe" -rec -ea 0 | where {$_ -like '*EdgeWebView*'}
199199
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[{000214A0-0000-0000-C000-000000000046}]
2+
Prop3=19,11
3+
[InternetShortcut]
4+
IDList=
5+
URL=https://docs.atlasos.net/faq-and-troubleshooting/common-questions/itunes-compatibility/
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[{000214A0-0000-0000-C000-000000000046}]
2+
Prop3=19,11
3+
[InternetShortcut]
4+
IDList=
5+
URL=https://docs.atlasos.net/faq-and-troubleshooting/common-questions/bluetooth-compatibility/
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[{000214A0-0000-0000-C000-000000000046}]
2+
Prop3=19,0
3+
[InternetShortcut]
4+
IDList=
5+
URL=ms-windows-store://review/?ProductId=9NZKPSTSNW4P

src/playbook/Executables/AtlasDesktop/3. Configuration/Lanman Workstation (SMB)/Disable Lanman Workstation.cmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ call setSvc.cmd srv2 4
1515

1616
DISM /Online /Disable-Feature /FeatureName:"SmbDirect" /NoRestart
1717

18+
echo]
1819
echo Finished, please reboot your device for changes to apply.
1920
pause
2021
exit /b

src/playbook/Executables/AtlasDesktop/3. Configuration/Lanman Workstation (SMB)/Enable Lanman Workstation (default).cmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ DISM /Online /Enable-Feature /FeatureName:"SmbDirect" /NoRestart
2020

2121
if "%~1" == "/silent" exit /b
2222

23+
echo]
2324
echo Finished, please reboot your device for changes to apply.
2425
pause
2526
exit /b

src/playbook/Executables/AtlasDesktop/3. Configuration/Notifications/Disable Notifications (default).cmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ whoami /user | find /i "S-1-5-18" > nul 2>&1 || (
99

1010
:main
1111
call %windir%\AtlasModules\Scripts\setSvc.cmd WpnService 4
12+
sc stop WpnService > nul 2>&1
1213
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\userNotificationListener" /v "Value" /t REG_SZ /d "Deny" /f > nul
1314
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings" /v "NOC_GLOBAL_SETTING_ALLOW_NOTIFICATION_SOUND" /t REG_DWORD /d "0" /f > nul
1415
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\PushNotifications" /v "ToastEnabled" /t REG_DWORD /d "0" /f > nul

src/playbook/Executables/AtlasDesktop/3. Configuration/Notifications/Enable Notifications.cmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ whoami /user | find /i "S-1-5-18" > nul 2>&1 || (
66
)
77

88
call setSvc.cmd WpnService 2
9+
sc start WpnService > nul 2>&1
910
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\userNotificationListener" /v "Value" /t REG_SZ /d "Allow" /f > nul
1011
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings" /v "NOC_GLOBAL_SETTING_ALLOW_NOTIFICATION_SOUND" /t REG_DWORD /d "1" /f > nul
1112
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\PushNotifications" /v "ToastEnabled" /t REG_DWORD /d "1" /f > nul

src/playbook/Executables/AtlasDesktop/3. Configuration/Power/Timer Resolution/Disable timer resolution (default).cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ whoami /user | find /i "S-1-5-18" > nul 2>&1 || (
55
exit /b
66
)
77

8-
reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v "GlobalTimerResolutionRequests" /f > nul
8+
reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v "GlobalTimerResolutionRequests" /f > nul 2>&1
99
taskkill /f /im SetTimerResolution.exe > nul 2>&1
1010
schtasks /delete /tn "Force Timer Resolution" /f > nul 2>&1
1111

src/playbook/Executables/AtlasDesktop/3. Configuration/Power/Timer Resolution/Enable timer resolution.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v "Globa
1414
schtasks /create /tn "Force Timer Resolution" /xml "%windir%\AtlasModules\Other\Force Timer Resolution.xml" /f > nul
1515
schtasks /run /tn "Force Timer Resolution" > nul
1616

17-
echo Finished, changes have been applied.
17+
echo Finished, please reboot your device for changes to apply.
1818
pause
1919
exit /b

src/playbook/Executables/AtlasDesktop/3. Configuration/VPN/Disable VPN support.cmd

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,19 @@ for %%a in (
1919
call setSvc.cmd %%~a 4
2020
)
2121

22+
:: Hide Settings page
23+
if not "%~1" == "/silent" (
24+
set "pageKey=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer"
25+
reg query "!pageKey!" /v "SettingsPageVisibility" > nul 2>&1
26+
if %ERRORLEVEL% == 0 (
27+
for /f "usebackq tokens=3" %%a in (`reg query "!pageKey!" /v "SettingsPageVisibility"`) do (
28+
reg add "!pageKey!" /v "SettingsPageVisibility" /t REG_SZ /d "%%a;network-vpn;" /f > nul
29+
)
30+
) else (
31+
reg add "!pageKey!" /v "SettingsPageVisibility" /t REG_SZ /d "hide:network-vpn;" /f > nul
32+
)
33+
)
34+
2235
echo Finished, please reboot your device for changes to apply.
2336
pause
2437
exit /b

src/playbook/Executables/AtlasDesktop/3. Configuration/VPN/Enable VPN support (default).cmd

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ call setSvc.cmd RasMan 2
1616
call setSvc.cmd SstpSvc 3
1717
call setSvc.cmd WinHttpAutoProxySvc 3
1818

19+
:: Hide Settings pages
20+
set "pageKey=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer"
21+
reg query "%pageKey%" /v "SettingsPageVisibility" > nul 2>&1
22+
if %ERRORLEVEL% == 0 call :enableSettingsPage
23+
1924
echo Finished, please reboot your device for changes to apply.
2025
pause
26+
exit /b
27+
28+
:enableSettingsPage
29+
for /f "usebackq tokens=3" %%a in (`reg query "%pageKey%" /v "SettingsPageVisibility"`) do (set "currentPages=%%a")
30+
reg add "%pageKey%" /v "SettingsPageVisibility" /t REG_SZ /d "%currentPages:network-vpn;=%" /f > nul
2131
exit /b

src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/Send To Context Menu/Debloat Send To Context Menu.cmd

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
@echo off
22

3-
whoami /user | find /i "S-1-5-18" > nul 2>&1 || (
4-
call RunAsTI.cmd "%~f0" %*
5-
exit /b
6-
)
7-
83
for %%a in (
94
"bluetooth"
105
"zipfolder"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Windows Registry Editor Version 5.00
22

3-
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons]
3+
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons]
44
"29"="C:\\Windows\\AtlasModules\\Other\\Classic.ico,0"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Windows Registry Editor Version 5.00
22

3-
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons]
3+
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons]
44
"29"=-
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Windows Registry Editor Version 5.00
22

3-
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons]
3+
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons]
44
"29"="C:\\Windows\\AtlasModules\\Other\\Blank.ico,0"
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Windows Registry Editor Version 5.00
22

3-
[-HKEY_CLASSES_ROOT\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}]
3+
[-HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}]
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Windows Registry Editor Version 5.00
22

3-
[HKEY_CLASSES_ROOT\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32]
3+
[HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32]
44
@=""

0 commit comments

Comments
 (0)