Fix the System32 directory by running the System File Checker, refreshing the system or booting into the Recovery Environment. While the first two solutions are usually available after Windows launches, the recovery mode grants access to the tools when the system cannot boot into Windows.
System File Checker is a built-in Command Prompt utility that scans for and replaces corrupted system files, including those under the System32 directory. To use the tool, click the Start button, type "cmd" into the search box, right-click Command Prompt in search results, and click Run as Administrator. To verify the Command Prompt has administrative privileges, check the title bar, then type "sfc /scannow", and hit Enter. Wait for Windows to complete the process and keep the Command Prompt open until the verification is 100 percent complete.
Refreshing your Windows installation reinstalls all system files and deletes third-party applications while keeping your personal files intact. To refresh the system, click the Start button, choose Settings, and click Update and Security. Navigate to the Recovery tab, and click Get Started under Reset This PC. When the recovery options appear, choose Keep My Files. Windows may restart during the process.
If a System32 error keeps your system from booting into Windows, boot into the Recovery Environment. To do so, restart your computer, and repeatedly tap the F8 key until the Recovery Environment appears. Click Troubleshoot, and choose Advanced Options. Then, use either the Command Prompt to apply the first method or click System Restore to apply the second method. Alternatively, clicking Automatic Repair makes Windows try to fix the problem automatically.