Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

windows_autologin (8) Versions 2.2.0

Configures Winlogon

Policyfile
Berkshelf
Knife
cookbook 'windows_autologin', '= 2.2.0', :supermarket
cookbook 'windows_autologin', '= 2.2.0'
knife supermarket install windows_autologin
knife supermarket download windows_autologin
README
Dependencies
Changelog
Quality 67%

Windows Autologin Cookbook

Cookbook Version
Build Status

Enables/disables automatic logon using Windows
AutoAdminLogon.

Automatic logon uses the domain (optional), username, and password
stored in the registry to log users on to the computer when the system
starts. The Log On to Windows dialog box is not displayed.

Use count to limit the Number of Automatic Logins. Once the limit has
been reached the auto logon feature will be disabled.

WARNING: Automatic logon allows other users to start your computer
and to log on using your account. Also note that password is stored
unencrypted under windows registry
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon when
enabled.

Requirements

  • Chef 11.6+ (includes a built-in registry_key resource)

Platforms

  • Windows

Usage

Requires Administrator privileges.

Enable automatic login for user

node.set['windows_autologin']['username'] = 'username'
node.set['windows_autologin']['password'] = my_secret
node.set['windows_autologin']['autologoncount'] = 1

include_recipe[windows_autologin]

or

windows_autologin 'enable autologin' do
  username 'username'
  password my_secret
  count 1
  action :enable
end

Disable automatic login and remove password and count entry

windows_autologin 'disable autologin' do
  action :disable
end

or

node.set['windows_autologin']['enable'] = false

include_recipe[windows_autologin]

Attributes

  • username - The username to autologin as. Defaults to resource block name.
  • password - Required to enable. Default: nil.
  • domain - Only needed if computer has joined a domain. Default: nil.
  • count - Number of Automatic Logins. Once the limit has been reached the auto logon feature will be disabled. Default: 0.

Getting Help

Contributing

Please refer to CONTRIBUTING.

License

MIT - see the accompanying LICENSE file
for details.

Changelog

2.2.0 2016-01-01

  • Add AutoLogonCount support

2.1.0 2016-12-31

  • Add enable/disable resource

2.0.0 2015-09-22

  • Merge remove recipe into default recipe

1.0.1 2015-07-28

  • Fix #1 WARN: Cloning resource attributes from prior resource (CHEF-3694)

1.0.0 2015-05-20

  • Initial release

Collaborator Number Metric
            

2.2.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Foodcritic Metric
            

2.2.0 passed this metric

License Metric
            

2.2.0 passed this metric