通过我的事件查看器,我偶然发现了两个文件夹C:\Program Files\WindowsApps\Deleted\
- Clipchamp.Clipchamp_2.9.1.0_neutral__yxz26nhyzhsrtf4b62535-506c-4978-ab73-b65ae9af9b03
- SpotifyAB.SpotifyMusic_1.232.997.0_x64__zpdnekdrzrea08f17d678-b99e-4af7-9178-d6dd2f37975e
引发这一发现的事件是error 0x12C: Deleting file \\?\C:\Program Files\WindowsApps\Deleted\Clipchamp.Clipchamp_2.9.1.0_neutral__yxz26nhyzhsrtf4b62535-506c-4978-ab73-b65ae9af9b03\Clipchamp\Microsoft.Bcl.AsyncInterfaces.dll failed.
经过一番研究,我决定最好删除它们。我打开了一个升级的 powershell 实例并尝试,但被拒绝了。
Remove-Item : Cannot remove item C:\Program
Files\WindowsApps\Deleted\Clipchamp.Clipchamp_2.9.1.0_neutral__yxz26nhyzhsrtf4b62535-506c-4978-ab73-b65ae9af9b03\Clipchamp.cli\Microsoft.Bcl.AsyncInterfaces.dll: Access to
the path 'Microsoft.Bcl.AsyncInterfaces.dll' is denied.
At line:1 char:1
+ Remove-Item Clipchamp.cli
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (Microsoft.Bcl.AsyncInterfaces.dll:FileInfo) [Remove-Item], UnauthorizedAccessException
+ FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Program
Files\WindowsApps\Deleted\Clipchamp.Clipchamp_2.9.1.0_neutral__yxz26nhyzhsrtf4b62535-506c-4978-ab73-b65ae9af9b03\Clipchamp.cli\Microsoft.IdentityModel.Abstractions.dll:
Access to the path 'Microsoft.IdentityModel.Abstractions.dll' is denied.
At line:1 char:1
+ Remove-Item Clipchamp.cli
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (Microsoft.IdentityModel.Abstractions.dll:FileInfo) [Remove-Item], UnauthorizedAccessException
+ FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Program
Files\WindowsApps\Deleted\Clipchamp.Clipchamp_2.9.1.0_neutral__yxz26nhyzhsrtf4b62535-506c-4978-ab73-b65ae9af9b03\Clipchamp.cli\System.Buffers.dll: Access to the path
'System.Buffers.dll' is denied.
At line:1 char:1
+ Remove-Item Clipchamp.cli
如果没有的话我应该担心吗?为什么我无法删除此文件夹?
答案1
除非有任何恶意行为的迹象,否则这实际上不应该令人担忧(错误中提到的那些 dll 应该是良性的,除非你下载了一些冒充良性的恶意 dll)请参考以下内容https://answers.microsoft.com/en-us/windows/forum/all/what-is-program-fileswindowsappsdeleted-for-can-i/e050e07c-09a4-4c08-877e-3003b1bd6f85 至于访问被拒绝错误,它可能由多种原因造成,其中之一就是该文件已被其他程序访问。