arillso.defaultuser

Ansible Role: defaultuser

Build Status license Ansible Galaxy Ansible Role

Description

This role sets up the desktop for a new user on Windows. It can manage desktop icons like "This Computer" and "Recycle Bin," adjust some functions and views in Windows Explorer, turn on Num Lock by default, control auto tray settings, and deactivate the First Run Wizard. (Linux support is not available yet.)

Installation

ansible-galaxy install arillso.defaultuser

Requirements

Role Variables

Windows

Desktop Shortcuts

Add or remove desktop icons for Computer, Recycle Bin, User Data, Control Panel, Network, and Add or Remove. You need to input new settings.

Option Name
Option Description
{018D5C66-4533-4307-9B53-224DE2ED1FE6} OneDrive
{20D04FE0-3AEA-1069-A2D8-08002B30309D} This PC
{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0} Control Panel
{59031a47-3f72-44a7-89c5-5595fe6b30ee} Users Files
{645FF040-5081-101B-9F08-00AA002F954E} Recycle Bin
{F02C1A0D-BE21-4350-88B0-7367FC96EF3C} Network
Option Data
Option Description
0 Icon is shown on the desktop
1 Icon is hidden
defaultuser_explorer_shortcuts:
  - name: '{20D04FE0-3AEA-1069-A2D8-08002B30309D}'
    data: '0'
  - name: '{59031a47-3f72-44a7-89c5-5595fe6b30ee}'
    data: '0'
  - name: '{645FF040-5081-101B-9F08-00AA002F954E}'
    data: '0'

File Type Extensions

Choose to hide or show known file type extensions. See: Link

defaultuser_file_ext_enabled: true

Windows Explorer to Open This PC

Windows Explorer usually opens with Libraries selected. Setting this value to True will make it open with This PC selected.

See: Link

defaultuser_this_pc_enabled: true

Numlock

Sets the state of the NumLock key when Windows starts up. See: Link

defaultuser_numlock_default_enabled: true

Autotray

Controls whether inactive system tray icons are shown. Setting to true shows all icons.

defaultuser_auto_tray_enabled: true

First Run IE

Decides if the First Run wizard for Internet Explorer is enabled.

defaultuser_ie_first_run_wizard_enabled: false

Dependencies

None

Example Playbook

- hosts: all
  roles:
    - arillso.defaultuser

Author

License

This project is licensed under the MIT License. See the LICENSE file for the complete license text.

(c) 2020, Arillso

Informazioni sul progetto

Configures the default profile under Linux and Windows

Installa
ansible-galaxy install arillso.defaultuser
Licenza
mit
Download
574.5k
Proprietario