classroom/roles/fri_base/tasks/main_win.yml
Gašper Fele-Žorž f5456a7f57 Change RTC to UTC
2025-08-13 16:38:12 +02:00

40 lines
975 B
YAML

- name: Set RTC to UTC
win_regedit:
path: HKLM:\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
name: RealTimeIsUniversal
data: 1
type: dword
- name: Set timezone
win_timezone:
timezone: Central Europe Standard Time
- name: Show file extensions in Explorer
win_regedit:
path: HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
name: HideFileExt
data: 0
type: dword
- name: Allow SMB insecure guest access
win_regedit:
path: HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation
name: AllowInsecureGuestAuth
data: 1
type: dword
- name: Enable Unified Write Filter
win_optional_feature:
include_parent: true
name: Client-UnifiedWriteFilter
state: present
- name: Install PSCX
community.windows.win_psmodule:
name: Pscx
accept_license: true
allow_clobber: true
state: present
# TODO: turn on GPO to allow guest SMB logins
# TODO: open firewall for Samba