# Windows – Cannot remove entry in HKLM\SYSTEM\ControlSet001\Services\bam\State\UserSettings\

windowswindows 10windows-registry

In the Windows registry I find two entries in HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\bam\State\UserSettings\S-1-5-21-… (my user account) pointing to files in \Device\HarddiskVolume4\Users\\Downloads\ that have been deleted.

Even after I purge the trash folder and reboot Windows I'm still unable to remove these entries from the registry using regedit.

What are these entries for and how can I delete them?