diff --git a/site-modules/profile/manifests/custom_windows/.add_user.pp.swp b/site-modules/profile/manifests/custom_windows/.add_user.pp.swp deleted file mode 100644 index c6a0ce0..0000000 Binary files a/site-modules/profile/manifests/custom_windows/.add_user.pp.swp and /dev/null differ diff --git a/site-modules/profile/manifests/custom_windows/add_user.pp b/site-modules/profile/manifests/custom_windows/add_user.pp index 4145825..45b9db4 100644 --- a/site-modules/profile/manifests/custom_windows/add_user.pp +++ b/site-modules/profile/manifests/custom_windows/add_user.pp @@ -11,4 +11,33 @@ class profile::custom_windows::add_user { manage_home => true, user_file => 'myfile', } + + acl { 'C:\\Users\\myuser\myfile': + permissions => [ + { identity => myuser, rights => ['read','execute'] }, + { identity => mygroup, rights => ['read'] } + ], + } + + registry::value { 'Enable IE ESC': + key => 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}', + value => 'IsInstalled', + data => '1', + type => 'dword', + } + + + registry::value { 'Enable shutdown tracker': + key => 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Reliability', + value => 'ShutdownReasonOn', + data => '1', + type => 'dword', + } + + registry::value { 'Enable shutdown tracker UI': + key => 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Reliability', + value => 'ShutdownReasonUI', + data => '1', + type => 'dword', + } }