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
  • Loading branch information
StefanStojanovic committed Mar 1, 2023
1 parent d7bf6c5 commit 4b3a4e1
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 4b3a4e1

Please sign in to comment.