Skip to content

Commit

Permalink
Enable Credential Guard in Windows Server
Browse files Browse the repository at this point in the history
  • Loading branch information
123lzxm committed Jun 7, 2023
1 parent 8c3ef55 commit 2cd1193
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion windows/utils/win_enable_vbs_guest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v "LsaCfgFlags" /t REG_DWORD /d 1 /f
when: >
(guest_os_build_num | int < 22621) or
(guest_os_product_type | lower == 'client' and guest_os_build_num | int >= 22621 and guest_os_edition | lower not in ['enterprise', 'education'])
(guest_os_product_type | lower == 'client' and guest_os_build_num | int >= 22621 and guest_os_edition | lower not in ['enterprise', 'education']) or
(guest_os_product_type | lower == 'server')
# Try to enable 'HVCIMATRequired' feature from registry while it does not take effect.
# Refer to 3rd party issue: https://partner.microsoft.com/en-us/dashboard/collaborate/engagements/1759/feedback/wits/Bugs/786316
Expand Down

0 comments on commit 2cd1193

Please sign in to comment.