defaultuser

Ansible Role: defaultuser

Build Status license Ansible Galaxy Ansible Role

Description

This role configures the desktop of a new user under Window. Under Windows, it can enable/disable the desktop icons such as "This Computer", "Recycle Bin", etc., control some functions and views in Windows Explorer, activate Num Lock by default, enable/disable autotray and disable the First Run Wizard. (Linux support not yet implemented)

Installation

ansible-galaxy install arillso.defaultuser

Requirements

Role Variables

Windows

Desktop Shortcuts

Add or remove on the desktop the icons for Computer, Recycle Bin, User Data, Control Panel, Network, Add or Remove, must now enter the 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 displayed 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

Hide or show Known File Type Extensions. See: https://bit.ly/2xxX3he

defaultuser_file_ext_enabled: true

Windows Explorer to Open This PC

Windows Explorer by default opens with the Libraries selected. If this value is set to True, This PC will be selected when opening the explorer.

See: https://bit.ly/2Xn3kH1

defaultuser_this_pc_enabled: true

Numlock

Sets the status of the NumLock key when Windows starts. See: https://bit.ly/2sI16Ua

defaultuser_numlock_default_enabled: true

Autotray

Controls whether inactive systray icons are shown or hidden. With true all icons are displayed.

defaultuser_auto_tray_enabled: true

First Run IE

Controls if the First Run wizard of the internet Explorer is enabled or not.

defaultuser_ie_first_run_wizard_enabled: false

Dependencies

none

Example Playbook

- hosts: all
  roles:
    - arillso.defaultuser

Author

License

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

(c) 2020, Arillso

About

Configures the default profile under Linux and Windows

Install
ansible-galaxy install arillso/ansible.defaultuser
GitHub repository
License
mit
Downloads
574261
Owner