Fix Remote Desktop Gateway Server Unavailable Error Code 500 - Access Denied Error When Activating Windows 10-Fix Windows 10 Search by Rebuilding Index Database

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.