Skip to content

Commit

Permalink
ansible: prevent autologin block on reboot windows
Browse files Browse the repository at this point in the history
Windows 10 and 11 machines occasionally show finish setting up device
screen thus preventing Jenkins from starting after reboot. These changes
disable that behavior.

Refs: nodejs#3046
PR-URL: nodejs#3211
Reviewed-By: Richard Lau <rlau@redhat.com>
  • Loading branch information
StefanStojanovic committed Mar 8, 2023
1 parent a7aa3c6 commit 6b02368
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ansible/roles/bootstrap/tasks/partials/win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,17 @@
name: Enabled
data: 0
type: dword

- block:
- name: disable Let's Finish Setting up Your Device screen
win_regedit:
path: 'HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement'
name: ScoobeSystemSettingEnabled
data: 0
type: dword
- name: disable Windows Welcome Experience
win_regedit:
path: 'HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager'
name: SubscribedContent-310093Enabled
data: 0
type: dword

0 comments on commit 6b02368

Please sign in to comment.