我有一个关于删除目录/完全卸载软件的问题。所以我下载了 Adobe Creative Cloud 来做 UI 工作,但启动器甚至无法工作。所以我决定删除与 Adobe 相关的每个文件。我正在考虑删除程序文件 (x86) 目录和 AppData/Local 中的 Adobe 目录(我不知道要删除什么其他目录)。我该怎么做?
当我尝试使用Remove-Item
带有-Force
标志的命令时,什么都没起作用,它只是抛出无数个“权限被拒绝”错误。请帮忙。是的,我右键单击并以管理员身份打开。
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\WINDOWS\system32> Remove-Item "C:\Program Files (x86)\Adobe" -Force
Confirm
The item at C:\Program Files (x86)\Adobe has children and the Recurse parameter was not specified. If you continue, all
children will be removed with the item. Are you sure you want to continue?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y
Remove-Item : Cannot remove item C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AdobeCollabSync.exe: Access to
the path 'AdobeCollabSync.exe' is denied.
At line:1 char:1
+ Remove-Item "C:\Program Files (x86)\Adobe" -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (AdobeCollabSync.exe:FileInfo) [Remove-Item], UnauthorizedAccessExcept
ion
+ FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot remove item C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AXE8SharedExpat.dll: Access to
the path 'AXE8SharedExpat.dll' is denied.
At line:1 char:1
+ Remove-Item "C:\Program Files (x86)\Adobe" -Force
答案1
您的暴力破解方法是非常不明智的,可能会损坏您的 Windows 安装。对于复杂的程序,公司会针对这种情况制作清理工具。Adobe 也不例外。您可以在此处下载并运行他们的清理工具来解决问题:
https://helpx.adobe.com/creative-cloud/kb/cc-cleaner-tool-installation-problems.html