Malware in OneDrive Automatically Restored To Computer

Timothy G. Slazyk 20 Reputation points
2025-08-15T00:03:02.51+00:00

I had an issue a few months ago where I somehow picked up malware, despite being extremely cautious at all times. This resulted in my system not booting and without any solution. I attempted several recommendations I found online without a resolution. Ultimately, the system no longer accepted my login credentials to log in to Windows 11 Pro. I attempted every solution under the sun and was forced to wipe my hard drive thoroughly and install a fresh copy of Windows 11 Pro, along with all my programs, which took weeks to get up and running due to music production activation codes and licensing issues with iLok. Prior to restoring a fresh copy of Windows, restoring from backups resulted in the same login credentials issue. Anyone who gets caught in this loop will not get out. There is no solution. Trust me.

Nevertheless, the reason I am writing is because, as soon as the system was working fine, something happened (not sure what) and the system insisted on connecting with OneDrive, which then synced files from OneDrive back to the computer and BAM! I was infected again!

Can you please put some safety measures in place so OneDrive is not so demanding? Plus, the program interferes with FL Studio music production DAW. OneDrive is a nuisance for this reason. Anyhow, I just wanted to bring this to Microsoft's attention.

I was up and running for a couple weeks before this issue with OneDrive occurred and I don't recall, specifically, what happened, but I certainly didn't want OneDrive to sync files to the computer. I'm so tired of computer problems related to malware and incompatibilities with other programs so I want to go offline, permanently with this music production computer. Is this even possible anymore? It should be. Also, if malware can be traced back to a person, and proven, it should be a felony.

Windows for home | Windows 11 | Accounts, profiles, and login
0 comments No comments

Answer accepted by question author
Airbus A350 7,765 Reputation points Volunteer Moderator
2025-08-15T00:35:24.7+00:00

Hello,

OneDrive syncs itself automatically once Windows is up and running, which is fine for most users, but when you have malware in your OneDrive, that leads to some issues.

If you're fine with resetting your PC again, you can do that, but once you get to the network selection screen, push Shift + F10 and then type start ms-cxh:localonly and then enter will allow you to create a local account. Make sure that if you're connected via Ethernet, that the cable is unplugged, otherwise, this won't work.

After you get your PC set up, you can sign into your Microsoft Account from Settings, and then once you're connected to your account, disconnect from the internet. This way, OneDrive won't be able to sync anything.

After you do that, right-click the OneDrive cloud icon on the taskbar and then push Settings, and then Unlink this PC.

Then, you won't be connected to OneDrive, and you can proceed to going to OneDrive on the Web and then delete the malicious files.

Hope this helps.

Was this answer helpful?


0 additional answers

Sort by: Newest

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.