Skip to content

Commit ac0c54c

Browse files
committed
Added scaffold script to disable windows setup prompts (#121)
1 parent 3a98a7e commit ac0c54c

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

packages/scaffold/config/defaults.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ $global:LaunchpadConfig.Windows.DisableTouchFeedback = $true
6060
$global:LaunchpadConfig.Windows.DisableTouchGestures = $true
6161
$global:LaunchpadConfig.Windows.DisableUpdateCheck = $true
6262
$global:LaunchpadConfig.Windows.DisableUpdateService = $true
63+
$global:LaunchpadConfig.Windows.DisableWinSetupPrompt = $true
6364
$global:LaunchpadConfig.Windows.EnableScriptExecution = $true
6465
$global:LaunchpadConfig.Windows.ResetTextScale = $true
6566
$global:LaunchpadConfig.Windows.UninstallBloatware = $true
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Import-Module -DisableNameChecking $PSScriptRoot/../vendor/force-mkdir.psm1
2+
3+
# Prevents "Let's finish setting up this device" prompt in Windows 11
4+
force-mkdir "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement"
5+
Set-ItemProperty "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement" "ScoobeSystemSettingEnabled" 0

packages/scaffold/setup.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ if ($LaunchpadConfig.Windows.DisableUpdateCheck) { RunScript ./scripts/windows/d
103103
if ($LaunchpadConfig.Windows.DisableUpdateService) { RunScript ./scripts/windows/disable_update_service.ps1 "Disable update service?" }
104104
if ($LaunchpadConfig.Windows.DisableAppInstalls) { RunScript ./scripts/windows/disable_app_installs.ps1 "Disable automatic Windows app installs?" }
105105
if ($LaunchpadConfig.Windows.DisableAppRestore) { RunScript ./scripts/windows/disable_app_restore.ps1 "Disable app restoration on boot up?" }
106+
if ($LaunchpadConfig.Windows.DisableWinSetupPrompt) { RunScript ./scripts/windows/disable_win_setup_prompts.ps1 "Disable Windows setup prompt?" }
106107
if ($LaunchpadConfig.Windows.EnableScriptExecution) { RunScript ./scripts/windows/enable_script_execution.ps1 "Enable execution of PS1 scripts?" }
107108
if ($LaunchpadConfig.Windows.ResetTextScale) { RunScript ./scripts/windows/reset_text_scale.ps1 "Reset text scale to 100%?" }
108109
if ($LaunchpadConfig.Windows.SetTimzone) { RunScript ./scripts/windows/set_timezone.ps1 ("Set current timezone to " + $LaunchpadConfig.Computer.Timezone + "?") }

0 commit comments

Comments
 (0)