资讯

Your logon script (or logoff, etc.) should be used to handle those tasks and settings that can't be done with Group Policy. And even then, you need to ask if PowerShell is the best tool for the job.
If GPO Startup Script is not running on your Windows computer, follow the steps mentioned in the post to troubleshoot & fix the issue.
Learn how to configure Controlled Folder Access intrusion-prevention feature, using Group Policy & PowerShell in Windows 11/10.