Hi Julia,
This message mostly happen when your computer has remnants of your old Security software. Try backing up your files even if you are getting that message.
If it did not back up your files, we suggest that you check this link to fix the possible cause why your system is detecting Windows 7 instead of Windows 10.
Please keep us updated with this concern.