Privacy and Security Clear Microphone Last Accessed History in Windows 11


  • Staff
microphone_banner.png

When your microphone is in use, a microphone icon will be displayed in the notification area of the taskbar.

You can also look in Settings > Privacy & security > Microphone to see which apps are currently using your microphone or have recently or previously accessed your microphone. If an app had accessed your microphone, it will have a last accessed time stamp to let you know when.

See also:

If wanted, you can clear the microphone last accessed history by Windows apps (Microsoft Store apps) and desktop apps.

This tutorial will show you how to clear the microphone last accessed history by apps for your account in Windows 11.


EXAMPLE: Microphone last accessed history by apps

Settings > Privacy & security > Microphone

Last_accessed_by_Microsoft_Store_apps.png
Last_accessed_by_desktop_apps.png



Here's How:

1 Click/tap on the download button below to download the Clear_microphone_last_accessed_history_for_current_user.bat file.


(Contents of BAT file for reference)
Code:
@echo off

:: Clear Microsoft Store apps last accessed history
Powershell -Command "Get-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\microphone\* | Remove-ItemProperty -Name LastUsedTimeStart -ErrorAction SilentlyContinue"

Powershell -Command "Get-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\microphone\* | Remove-ItemProperty -Name LastUsedTimeStop -ErrorAction SilentlyContinue"


:: Clear desktop apps last accessed history
Powershell -Command "Get-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\microphone\NonPackaged\* | Remove-Item -Recurse -Force"

2 Save the BAT file to your desktop.

3 Unblock and run the BAT file.

4 You will now see a command prompt quickly flash open and close to run the commands to clear the microphone last accessed by apps history.

5 You can now delete the BAT file if you like.


That's it,
Shawn Brink


 

Attachments

  • microphone.png
    microphone.png
    6.8 KB · Views: 11
  • Clear_microphone_last_accessed_history_for_current_user.bat
    886 bytes · Views: 24
Last edited:

pyxsara

New member
Local time
9:58 AM
Posts
3
OS
Windows 11
hello thank you for information. my question is about clearing those request. how i can clear this list?
recent.png
 

My Computer

System One

  • OS
    Windows 11

Brink

Administrator
Staff member
MVP
Thread Starter
Local time
12:58 AM
Posts
6,590
OS
Windows 11 Pro for Workstations
hello thank you for information. my question is about clearing those request. how i can clear this list?

Hello, and welcome. :alien:

The tutorial below can help you with that.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 980 PRO M.2,
    1TB Samsung 970 EVO Plus M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Motorola MB8611 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S20 Ultra 5G phone
  • Operating System
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1
    CPU
    i7-1065G7 3.9 GHz
    Memory
    16 GB LPDDR4-3200
    Graphics card(s)
    Intel Iris Plus
    Sound Card
    Intel SST
    Monitor(s) Displays
    13.3" 4K UWVA AMOLED multitouch
    Screen Resolution
    3840 x 2160
    Hard Drives
    512 GB PCIe NVMe M.2 SSD
    Browser
    Google Chrome
    Antivirus
    Windows Defender and Malwarebytes Premium

Latest Support Threads

Top Bottom