Hi @Dean_N888 ,
As far as I know this is the by default behavior in OneDrive, if the Windows profile reset the %userprofile% will remove all local data.
In my opinion, you should back up the local data to cloud by the user account. You can refer to this support article and check if is helpful:
https://support.microsoft.com/en-us/office/back-up-your-folders-with-onedrive-d61a7930-a6fb-4b95-b28a-6552e77c3057?ui=en-us&rs=en-us&ad=us#ID0EBBH=PC
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.