Fix Windows Security Real-Time Protection Turning Off Automatically - Task Scheduler Access Denied Troubleshooting Steps-Troubleshoot Windows Defender File Locked Issue

Prepare
Execute
Validate
Document
Operational follow-up
- Record the exact option, command, or setting that changed the result.
- Keep a rollback note if the workflow affects shared files or team settings.