Yes, there are multiple tools to repair Windows 10 without losing data:
Windows 10 installation media repair tool
Windows Startup Repair
DISM and SFC commands via Command Prompt
Alternatively, you can create a backup of your system and restore it on a fresh Windows 10 installation (we recommend Windows’ own’ backup and restore tool in Control Panel’s System and Security menu or use a third-party app to create a system image backup).