Post Config Automation

Automated system maintenance, health checks, and troubleshooting scripts for the dedicated Hyper-V lab machine.

1. System Health Check

Automated PowerShell script that runs DISM and SFC to verify system integrity and repair corrupted Windows files. This script is scheduled to run daily at 7pm to maintain system health.

Running System Health Check - DISM operation
System Health Check - SFC scan in progress
System Health Check completed successfully
System Health Check script registration
System Health Check scheduled job confirmation

2. Temp File and Disk Cleanup

Automated cleanup scripts to remove temporary files, clear the recycle bin, and run Windows Disk Cleanup utility. These scripts help maintain optimal disk space and system performance.

Temp file cleanup script
Temp files and recycle bin cleaned
Clean Temp Files scheduled job registration
Disk Cleanup script
Disk Cleanup settings dialog
Disk Cleanup calculating space
Disk Cleanup in progress
Disk Cleanup script completion
Disk Cleanup scheduled job confirmation

3. Disk Health Check

PowerShell script that monitors disk space and alerts when drives fall below 15% free space threshold. Helps prevent storage-related issues in the virtualization environment.

Disk Health Check script code
Disk Health Check registration
Disk Health Check scheduled job confirmed

4. Event Error Log

PowerShell script that scans Windows Event Logs for system errors in the last 24 hours. Exports findings to a CSV file for analysis and troubleshooting.

Event Error Log Scanner script
System Errors report from Event Log
Event Error Log Scanner registration
Event Error Log Scanner scheduled job confirmed

5. Network Connectivity Troubleshooting

Comprehensive network diagnostics script that tests network adapters, DNS resolution, gateway reachability, and internet connectivity. Logs results for proactive network monitoring.

Network Connectivity Troubleshooting script
Network Connectivity registration
Network Connectivity scheduled job confirmed

6. Service Status Check

Script for monitoring critical Windows services and ensuring they remain running for system stability and proper Hyper-V operation.

Service Status Check script
Service Status Check scheduled job

7. User Profile Troubleshooting

Automated script that identifies potentially corrupted user profiles by checking profile paths, existence, and backup status. Essential for maintaining user account integrity.

User Profile Troubleshooter script output
User Profile Troubleshooter registration
User Profile Troubleshooter scheduled job confirmed

8. Windows Update & Compliance Check

Automated script that checks for missing or failed Windows updates, lists installed updates, and triggers update scans. Ensures the system remains compliant and secure with the latest patches.

Windows Update & Compliance Check script
Windows Update Compliance Check registration
Windows Update Compliance Check scheduled job confirmed
× Zoomed image