logo
search
File Sharing Problems

Stop Malicious Shared PDF Spam in OneDrive

Amos GikundaAmos Gikunda Sep 29, 2026 869 views

Question details

User is receiving malicious PDF files containing inappropriate spam via OneDrive sharing, and cannot delete or report the shared files directly.

Product
Microsoft OneDrive
Device & OS
not provided
Scenario
The user's Hotmail/OneDrive account is being targeted by spammers who are sharing malicious PDF files.
Observed behavior
Unwanted messages appear in the inbox, and the linked PDF files cannot be permanently deleted, unlinked, or reported by the recipient because they do not own the files.
Before you start

Do not click on any suspicious links or attempt to open the unknown PDF files, as they could compromise your account security or expose you to phishing content.

Solution 1Recommended

Remove from Shared View and Block the Sender

Since you do not own the shared files, you cannot delete them permanently. However, you can remove them from your shared list and block the spammer's email address.

Shared files consume the sender's storage space, not yours. By removing the files from your shared view and blocking the sender in Outlook, you can stop seeing the spam.

1
Remove from shared list

Log into OneDrive on the web, click on the 'Shared' tab in the left navigation menu, select the malicious files, and click 'Remove from shared list' at the top.

2
Block the sender

Open your Outlook or Hotmail inbox, locate the sharing notification email, right-click the email message, select 'Block', and then choose 'Block sender'.

3
Report as phishing

In Outlook, select the spam email again, click 'Report' on the top toolbar, and select 'Report phishing' or 'Report junk' to notify Microsoft's security team.

Remove from Shared View and Block the Sender
Ownership Limitations: You cannot permanently delete files shared with you because they physically reside in the sender's OneDrive account, not yours.
Free Microsoft Office alternative

Try WPS Office for Secure Document Management

Tired of dealing with complex cloud sharing settings and unwanted online spam? WPS Office provides a secure, locally managed, and highly compatible alternative for viewing, editing, and managing all your documents safely offline.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install the software: Run the installer and follow the simple on-screen instructions to set up the suite.
  3. 3. Open your documents safely: Launch WPS Office and open your local Word, Excel, PowerPoint, or PDF files securely without forced cloud sharing.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats.Built-in PDF reader and editor for safe, local document viewing without cloud sharing risks.Lightweight software that runs incredibly fast on both old and new devices.Completely free to use with a clean, familiar interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why can't I delete a malicious file shared with me on OneDrive?

In OneDrive, you only have permission to delete files that you own. Files shared with you remain in the sender's cloud storage. You can only remove the shortcut from your 'Shared' view.

Can I get a virus from just receiving a shared PDF notification?

Simply receiving the email notification or having the file appear in your 'Shared' view will not infect your computer. However, opening the file or clicking links inside it can expose you to malware or phishing.

Is there a way to block all unknown users from sharing files with me?

Microsoft does not currently offer a one-click setting to block all incoming file shares from unknown senders for personal accounts. Your best defense is to block individual senders and rely on Outlook's junk filters.