Reset this PC can affect different drives depending on the choices shown on your computer. Do not assume the letters D: and E: guarantee those files are outside the reset scope.

Back up folders on D: and E: to a separate physical drive before reset. Select the actual folders in the tree, then check the destination copy.
Step 1. Connect a separate external drive. Open Backup and Recovery and choose File backup.

Step 2. In the folder tree, expand the source disk and select the folders you need to preserve. Include files on each relevant partition; check hidden application-specific locations separately if needed.

Step 3. Choose a backup destination on a different physical drive. Check free space and name the task so you can identify it after the reset.

Step 4. Click Proceed and wait for the progress screen to finish. Confirm the backup is listed and keep the destination drive separate during the reset.

Open Disk Management and File Explorer to check that D: and E: still appear with the expected capacity and files. Restore from the independent backup if anything is missing. Do not initialize or format a volume that unexpectedly appears unreadable.
A reset can fail, the wrong drive can be selected, and hidden recovery or OEM layouts vary. Copying only a few visible folders may also miss application data stored outside Documents.
Will Keep my files preserve D: and E:? Usually it targets Windows, but confirm the options shown on your PC and maintain a separate backup.
Is E: always a separate drive? No. Disk Management shows whether it is another partition on the same disk.
Back up D: and E: independently and read the final reset scope. After Windows restarts, check both volumes before assuming their data is safe.