How to Check OneDrive File Access After a Compromised Windows Account
Question details
The user needs to identify if any OneDrive files were viewed or downloaded during a 40-minute period when their Windows 11 account was compromised.

- Product
- OneDrive / Microsoft 365
- Device & OS
- Windows 11
- Scenario
- Securing and auditing files after an unauthorized account access incident.
- Observed behavior
- The user wants to find a log or history of file access, views, and downloads to assess potential data exposure.
Before auditing your files, immediately change your Microsoft account password, revoke all active sessions, and enable two-factor authentication (2FA) to prevent further unauthorized access.
Check File Activity via OneDrive Web
Use the OneDrive web interface to check the version history and recent activity details of individual files to see if they were modified.
For personal Microsoft accounts, OneDrive tracks file modifications and sharing activities. While it does not provide a comprehensive log of every time a file was simply viewed or downloaded, checking the version history can reveal if an attacker altered your documents.
Open your web browser and sign in to onedrive.com using your Microsoft account credentials.
Navigate to the folders containing your sensitive work documents that you suspect might have been targeted.
Right-click the specific file and select 'Details' from the context menu to open the information pane, which displays recent activity.
Right-click the file again and select 'Version history' to see if any unexpected edits or saves were made during the 40-minute compromise window.

Review Microsoft 365 Audit Logs (For Business/School)
If you use a work or school account, administrators can check comprehensive audit logs for precise file views and downloads.
Secure Your Documents Locally with WPS Office
While managing cloud security is essential, keeping highly sensitive files encrypted and stored locally can prevent unauthorized web access. WPS Office is a lightweight, secure, and free alternative to Microsoft Office that offers robust local document encryption and seamless compatibility with all your Microsoft formats.
- 1. Download and Install: Get WPS Office Free from the official website and install it on your device.
- 2. Open Microsoft Formats: Launch WPS Office to seamlessly open your existing .docx, .xlsx, and .pptx files without formatting loss.
- 3. Apply Local Encryption: Go to Menu > Document Encryption to set a secure password, ensuring your sensitive files remain protected even if your device is accessed.

Frequently Asked Questions
Can I see who viewed my personal OneDrive files?
Personal OneDrive accounts do not keep a detailed log of file views or downloads. They only track file modifications (Version History) and sharing activities. For comprehensive view and download logs, a Microsoft 365 Business or School account with auditing enabled is required.
What should I do immediately after my Windows account is compromised?
You should instantly change your Microsoft account password, navigate to the security settings to sign out of all active web and device sessions, and enable Multi-Factor Authentication (MFA) to block the attacker from re-entering your account.
Can attackers access my local OneDrive files without leaving a web trace?
Yes. If the attacker gained physical access or used Remote Desktop to access your Windows 11 device, they could view locally synced OneDrive files directly from File Explorer. This type of local access does not generate a web access log on OneDrive's servers.




