How to go about managing policies through powershell

Friendly_Scripter 20 Reputation points
Hello all, 
    I am currently trying to write an all in one script for windows 10 and 11 and so far it's coming along great. This poses an interesting problem however, how can I manage policies as there does not appear to be any built in commands for it. I'm looking to manage password policies, and stuff like requiring CTRL+ALT+DELETE to log on. Anything helps :) 

Thank you in advance. 
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,199 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
7,621 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 27,831 Reputation points Microsoft Vendor

    Hi Friendly_Scripter,

    You can use secedit to configure the system security settings.

    The exported security templates can be edited with the "Security Templates" mmc snap-in.

    Best Regards,

    Ian Xue

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 additional answers

Sort by: Most helpful