Does DPAPI Protect Clipboard History From Other Users?
Partly. DPAPI (the Windows Data Protection API) encrypts data so that, normally, only the same Windows account on the same PC can decrypt it. That protects clipboard history files from other accounts on the PC and from someone who copies the files elsewhere. It doesn't protect anything while your session is unlocked: anyone at your keyboard, and any program running as you, sees your clipboard history as you do.
What DPAPI actually does
DPAPI's main function is CryptProtectData. Microsoft's documentation says:
- Normally only a user with the same logon credentials as the user who encrypted the data can decrypt it, and usually only on the same computer.
- A user with a roaming profile can decrypt the data on another computer on the network.
- If the app sets the
CRYPTPROTECT_LOCAL_MACHINEflag, the data is tied to the computer instead of the user, and any user on that computer can decrypt it. - The encrypted data includes an integrity check that detects tampering.
So "encrypted with DPAPI" means "locked to this Windows account" only when the app uses the default user scope.
Who DPAPI protects you from
| Who's trying to read your clipboard history | Does user-scoped DPAPI stop them? |
|---|---|
| Another person signed in with their own Windows account | Yes, along with normal file permissions on your profile |
| Someone who copies your files to another PC | Yes, without your Windows account credentials |
| Someone using your unlocked session | No. They are signed in as you |
| Malware running in your session | No. It can call the same APIs you can, and can read the live clipboard directly |
| Someone who knows your Windows password | No. They can sign in as you |
Any user, if the app used CRYPTPROTECT_LOCAL_MACHINE | No. Machine-scoped data can be decrypted by any account on the PC |
The bigger protections for most people are simpler: a separate Windows account for each person, locking the PC with Win+L, and BitLocker for the drive when the PC is off or stolen.
Is Windows clipboard history encrypted with DPAPI?
Microsoft's support documentation doesn't say. It documents clipboard history as a per-user feature: each Windows account has its own Win+V list, unpinned items are cleared when the PC restarts, and pinned items persist.
Forensic researchers have looked more closely. ThinkDFIR found clipboard history data in the user's profile under AppData\Local\Microsoft\Windows\Clipboard, with pinned items stored in an encrypted or encoded form, and a later update to that write-up identified the scheme as DPAPI-NG. The same research found that history in memory doesn't appear to be encrypted. Treat these as observations of one Windows version, not as a Microsoft guarantee.
Either way, the practical answer is the same: another Windows account can't open your Win+V list, but anyone using your unlocked session can.
Does Edge Drop use DPAPI?
Yes, for its history index. Edge Drop stores its data in %APPDATA%\Edge-Drop (the Microsoft Store edition keeps the same files in a package folder under %LOCALAPPDATA%\Packages). The history index (items.json, which holds the item list, pins, notes, short text and file paths) is encrypted with Electron's safeStorage, which uses Windows DPAPI tied to your user account. If encryption isn't available on the system, an index that is already encrypted is never overwritten with plain JSON. Edge Drop skips the save until encryption works again. Only a history that has never been saved encrypted, such as a new install or an old plain-text index, is written as plain JSON. Because of that tie to your account, the index can't simply be copied to a new PC. If it can't be decrypted there, Edge Drop sets the file aside as an items.json.unreadable-<timestamp>.bak copy and starts a new history, and a later launch that can read the copy merges its items back. See whether you can back up or move Edge Drop history.
Not everything is in the index:
- captured images are saved as ordinary image files (PNG in most cases) in the
imagesfolder, - text clips longer than 300 characters are saved as plain text files in the
payloadsfolder, settings.jsonis plain JSON.
Those files rely on your user profile's file permissions and on drive encryption, not on DPAPI. Where Edge Drop stores data on disk lists every file. If you share a PC, the protections that matter most are the same as for Win+V: your own Windows account, a locked screen, and BitLocker. Edge Drop's Clear unpinned on restart and Auto-delete timer settings reduce how much is kept in the first place. Both keep pinned and noted cards, so delete a sensitive one by hand.
Other clipboard managers vary: some encrypt their database, some don't. Check the app's documentation rather than assuming. Does a local clipboard app need encryption at rest? covers what to look for.
How to keep clipboard history private on a shared PC
- Give each person their own Windows account. This is the real boundary. A shared login means a shared clipboard history.
- Lock the PC when you step away with Win+L. Encryption doesn't matter once the session is open.
- Turn on BitLocker (or Device Encryption) so the drive is protected if the PC is lost or stolen.
- Keep clipboard sync off unless the account is yours alone. Synced text is stored by Microsoft's service, not by DPAPI on your PC.
- Clear history when it matters. Select Clear clipboard data in Settings > System > Clipboard, and delete pins you don't need.
Clipboard history on a shared family PC walks through setting this up at home.
Test it yourself
- In account A, turn on clipboard history and copy a test phrase.
- Use Switch user to sign in to account B and press Win+V. The phrase shouldn't appear.
- Switch back to account A. The phrase is still there.
That shows per-account isolation, which is what most households need. It doesn't test DPAPI itself.
FAQ
Can an administrator read my clipboard history?
An administrator can access other users' files on the same PC, but data encrypted with user-scoped DPAPI still needs your account's credentials to decrypt. An administrator can, however, install software that runs in your session, so on a work PC, assume IT can see what you do.
Does DPAPI protect the live clipboard?
No. The current clipboard isn't stored in a DPAPI file at all; any program in your session can read it. Can other apps read everything you copy? explains how clipboard access works.
Is DPAPI the same as BitLocker?
No. BitLocker encrypts the whole drive and protects it while the PC is off. DPAPI encrypts individual pieces of data for a specific account and protects them from other accounts while the PC is running.
Related reading
- Does a Local Clipboard App Need Encryption at Rest?
- Where Edge Drop Stores Data on Disk
- Is Windows Clipboard History Safe?
- Can Shared Microsoft Accounts Leak Your Clipboard?
Sources
- CryptProtectData function (Microsoft Learn) — user versus machine scope, roaming profiles, integrity check.
- Using the clipboard (Microsoft Support) — clipboard history behaviour, pins and sync.
- Clippy History (ThinkDFIR) — observed clipboard history storage location and encryption of pinned items.
- BitLocker overview (Microsoft Learn) — full-drive encryption.
- Keyboard shortcuts in Windows (Microsoft Support) — Windows logo key + L locks the computer.
Mohit Sehrawat helps test Edge Drop, trying features on Windows and reporting bugs. A B.Tech Computer Science Engineering student focused on software testing and product quality, Mohit writes the troubleshooting and privacy guides.
GitHub · LinkedInCopy. Stack. Drop.
Transform your clipboard into an interactive edge shelf. Stack, pin, and drag assets into any app with zero friction.
Download for Windows Get from Microsoft Store
How to Install Guide · First 10 Minutes Guide · Drag & Drop Guide · Edge Drop vs Win+V · Support
Free · Lightweight · Privacy First