One common issue encountered during Windows 10 installation is the error code 0x80070004, which typically arises when the Users or Program Files folders have been redirected to a different partition or drive. This redirection often results from advanced system configurations where user profiles or program directories are moved from their default locations on the system drive (usually the C: drive) to another partition. While such setups might be intended to optimize storage or system performance, they can conflict with Windows 10's installation process, leading to failures and rollback errors. The installation may fail with messages like "Windows 10 installation failed" or "Something happened and the Windows 8.1 couldn't be installed," accompanied by error codes such as 0x80070004 or 0xC1900102 .Microsoft SupportTo resolve this issue, Microsoft recommends backing up your files and performing a reset or clean installation of Windows, ensuring that the Users, Program Files, and ProgramData directories are located on the system drive. Relocating these directories is not supported in Windows and can lead to installation problems. After backing up your data, you can use the Windows installation media to perform a clean install, which will place all system directories in their default locations . It's important to note that while relocating these folders might be feasible in earlier versions of Windows, such configurations are not compatible with Windows 10's installation requirements.Microsoft SupportFor more detailed information, you can refer to the official Microsoft support article: Error installing Windows because Users or Program Files folder redirected to another partition.