Privacy and Security Clear Camera Last Accessed History in Windows 11


  • Staff
camera_banner.png

If your device comes with a camera light, the light will turn on when the camera (webcam) is in use.

If your system doesn’t have a camera light, you’ll get a notification to let you know when the camera (webcam) turns on or off.

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

See also:

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

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


EXAMPLE: Camera last accessed history by apps

Settings > Privacy & security > Camera

Last_accessed_by_desktop_apps.png
Last_accessed_by_Microsoft_Store_apps.png



Here's How:

1 Click/tap on the download button below to download the Clear_camera_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\webcam\* | Remove-ItemProperty -Name LastUsedTimeStart -ErrorAction SilentlyContinue"

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


:: Clear desktop apps last accessed history
Powershell -Command "Get-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\webcam\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 camera (webcam) last accessed by apps history.

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


That's it,
Shawn Brink


 

Attachments

  • camera.png
    camera.png
    6.3 KB · Views: 4
  • Clear_camera_last_accessed_history_for_current_user.bat
    870 bytes · Views: 8
Last edited:

Ghot

Well-known member
Pro User
VIP
Local time
2:45 PM
Posts
4,014
Location
PA, USA
OS
Win 11 Home ♦♦♦22000.1042
After last night... I suspected I would see some sort of tutorial like this. :D
 

My Computers

System One System Two

  • OS
    Win 11 Home ♦♦♦22000.1042
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE (BIOS 4201)
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    Cooler Master ATCS 840 Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    100/100
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Internet Security
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot®
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Mouse
    Logitech Optical M-BT96a
    Keyboard
    Logitech Classic Keybooard 200
    Internet Speed
    100/100
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 13 years?

    http://www.xtremesystems.org/forums/showthread.php?183088-5000-B-E-on-M2N32-SLI-Dlx-Overclocked&p=2891724#post2891724

Latest Tutorials

Top Bottom