Enterprise IT Support • Bangkok & Nationwide

How to Disable 6 Windows 11 Local Data Records That May Store Passwords

Technology news

Learn how to turn off 6 Windows 11 local recording features, from PowerShell history to Notepad sessions, based on a MakeUseOf analysis of potential privacy risks.

Edited by SyncTech Solution Published Original report makeuseof.com
Windows 11 settings interface displaying toggles for clipboard and typing privacy controls

Key Findings: Local Records Maintained by Windows 11

According to an analysis by Shaheer Khan on MakeUseOf, Windows 11 actively stores user activity records across at least six local locations on the system. Some of these records contain plain-text information that could expose sensitive tokens or passwords if an unauthorized party gains access to an active user session.

The examined locations include the system's custom dictionary (default.dic located at %AppData%\Microsoft\Spelling), which logs newly typed words, and PowerShell's history file (ConsoleHost_history.txt at %AppData%\Microsoft\Windows\PowerShell\PSReadLine\). While PowerShell's PSReadLine module attempts to filter out commands containing tokens and passwords, the report notes that keyword-based filtering is not foolproof, leaving plain-text logs exposed.

Additional locations highlighted include Notepad's TabState feature (which keeps unsaved text open between launches by default), Clipboard History (retaining up to 25 items), the Snipping Tool (which automatically saves all captures locally and potentially backs them up to OneDrive), and Windows Recall on Copilot+ PCs (which stores encrypted, searchable screen snapshots locally).

Step-by-Step Instructions to Stop Local Logging

Based on MakeUseOf's guide, users can configure Windows 11 settings to prevent these features from recording local activity:

  1. Disable Dictionary Logging: Go to Settings > Privacy & security > Inking & typing personalization > Custom inking and typing word list, and turn it off. To stop transmitting typing telemetry to Microsoft servers, navigate to Settings > Privacy & Security > Diagnostics & Feedback > Improve inking and typing, and toggle it off.
  2. Clear and Disable PowerShell History: Execute the following commands in PowerShell to clear existing logs:

Clear-History and Remove-Item (Get-PSReadLineOption).HistorySavePath
Then stop recording future commands using:
Set-PSReadLineOption -HistorySaveStyle SaveNothing

  1. Reset Notepad Session Behavior: Open Notepad, click Settings, expand "When Notepad starts", and select "Start new session and discard unsaved changes". Also toggle off "Recent Files".
  2. Turn Off Clipboard History: Go to Settings > System > Clipboard, and toggle off "Clipboard history" to retain only the most recently copied item.
  3. Disable Snipping Tool Auto-Save: In the Snipping Tool, open Settings via the three-dot menu, then toggle off "Automatically save original screenshots" and "Automatically save original screen recordings". Check OneDrive under Settings > Sync and Backup > Manage Backup to manage cloud photo sync.
  4. Disable Recall Snapshots (Copilot+ PCs): Go to Settings > Privacy & Security > Recall & Snapshots, toggle off "Save Snapshots", and delete existing snapshots within that window.

Practical Applicability and Risk Reduction

Applying these steps is directly applicable to environments where multiple individuals share a Windows login session or where users handle credentials, code tokens, or sensitive text. Disabling unencrypted command logging in PowerShell and session persistence in Notepad prevents sensitive one-time strings from lingering on disk.

Furthermore, turning off Clipboard History and Snipping Tool auto-saves mitigates accidental exposure across synchronized devices, particularly when OneDrive cloud backup is actively configured to sync media folders without explicit user confirmation for each individual capture.

Limitations and Operational Caveats

The MakeUseOf article points out that these local recording features exist primarily for user convenience, such as preserving drafts, quick command retrieval, or spellchecking assistance. Disabling them removes these conveniences; for instance, the clipboard will no longer retain previous entries, and Notepad will discard unsaved text upon exit.

Additionally, the highlighted risks depend primarily on who has physical or remote access to sign into the user's account session or whether malicious software is running under user privileges. Regarding typing telemetry, while Microsoft claims that data transmitted to its servers strips email addresses and numeric values, privacy-minded users must evaluate whether to disable cloud-based diagnostics based on their own policies.

Source: makeuseof.com, https://www.makeuseof.com/windows-keeps-local-records-of-data-that-can-hold-passwords/

Better IT starts with understanding your business.

Tell our engineers what you need and receive an initial recommendation at no cost.