summaryrefslogtreecommitdiff
path: root/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb
diff options
context:
space:
mode:
Diffstat (limited to 'kitchen-tests/cookbooks/end_to_end/recipes/windows.rb')
-rw-r--r--kitchen-tests/cookbooks/end_to_end/recipes/windows.rb22
1 files changed, 21 insertions, 1 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb b/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb
index 58ccec9b26..46176901dd 100644
--- a/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb
+++ b/kitchen-tests/cookbooks/end_to_end/recipes/windows.rb
@@ -27,9 +27,29 @@ timezone "Pacific Standard time"
include_recipe "ntp"
+windows_security_policy "NewGuestName" do
+ secvalue "down_with_guests"
+ action :set
+end
+
windows_security_policy "EnableGuestAccount" do
- secoption "EnableGuestAccount"
secvalue "1"
+ action :set
+end
+
+windows_security_policy "LockoutBadCount" do
+ secvalue "15"
+ action :set
+end
+
+windows_security_policy "LockoutDuration" do
+ secvalue "30"
+ action :set
+end
+
+windows_security_policy "ResetLockoutCount" do
+ secvalue "15"
+ action :set
end
windows_firewall_profile "Domain" do