Windows中的设置过程在尝试创建"uc.micro"时无法拒绝访问.文件夹 [英] The setup process in windows fails access denied when trying to create "uc.micro" folder

查看:221
本文介绍了Windows中的设置过程在尝试创建"uc.micro"时无法拒绝访问.文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是无法安装该软件(在Windows 10中),其他人处理了此问题吗?

I just can't install the software (in Windows 10), have somebody else handled this issue?

推荐答案

安全软件干扰(误报检测)

这仅仅是访问被拒绝的警告吗?似乎是安全软件问题-该文件夹被识别为恶意软件.随着安全软件在当今条件下加强安全性,这个问题越来越普遍: https://github.com com/Microsoft/vscode/issues/13559

Security Software Interference (False Positive Detection)

Is that just an access denied warning? It looks like it might be a security software issue - the folder is being recognized as malware. This problem is more and more prevalent as security software tightens security for today's conditions: https://github.com/Microsoft/vscode/issues/13559

禁用防病毒或安全软件,然后重试.如果那不起作用,请在下面阅读一些其他建议.

Disable your anti-virus or security software and try again. If that doesn't work, please read some further suggestions below.

请报告是什么安全软件导致了您的问题-如果有的话. 这对社区很重要.我们正在看到越来越多的这些问题,而且一开始它们可能非常神秘.

Please report what security software caused the problem for you - if any. This is important for the community. We are seeing more and more of these problems, and they can be very mysterious at first.

警告:请注意,目前,某些安全软件可能会直接从超级隐藏的本地缓存文件夹中隔离整个MSI文件!!发生这种情况时,您确实有问题.请阅读此答案中的第7节以获取信息:

WARNING: Please note that certain security software may quarantine whole MSI files directly from the super-hidden, local cache folder these days! When this happens you really have a problem. Please read section 7 in this answer for information: How do I avoid triggering MSI self-repair with my WiX / MSI package? (don't be deceived by the question name - section 7 is relevant). You may be stuck with an un-uninstallable and un-upgradeable package.

部署问题往往围绕着:某些情况是锁定资源(正在使用),某些情况是阻止/阻止访问(安全软件干预,网络无法访问),某些情况是拒绝权限(ACL,特权),某些东西已损坏(数据文件,操作系统设置),未满足运行时要求(缺少相关性)

Deployment problems tend to center around: something is locking resources (in use), something is blocking / preventing access (security software intervention, network unreachable), something is denying permission (ACL, privileges), something is corrupted (data file, OS settings), a runtime requirement is not met (missing dependencies).

请考虑以下简单而通用的措施,以最大程度地减少问题:

Please consider these easy, general measures to minimize problems:

核心

  • 在尝试执行其他任何操作之前,先在干净系统(虚拟机)上尝试失败的安装程序.
  • 如果发现部署问题,可以关闭安全软件和防病毒软件.
  • 在安装之前,请关闭尽可能多的应用程序和软件解决方案.
  • 验证目标磁盘具有足够的可用空间(比当前笔记本电脑的SD磁盘和巨大的媒体文件要常见的问题要多.)
  • 如果本地化安装程序失败,是否有英文版本?
  • Try a failed installer on a clean system (virtual machine) before trying anything else.
  • Definitely shut down security software and anti-virus if you see deployment problems.
  • Shut down as many applications and software solutions as possible before installing.
  • Verify that the target disk has enough free space available (a more common problem than expected with today's laptop SD-disks and huge media files).
  • If your localized installer fails, is there an English version available?

进一步

  • 确保没有远程用户登录或访问共享资源.
  • 验证下载的安装程序文件的完整性-如果可能的话.
  • 检查目标安装盘中的文件系统或表面错误.
  • 在部署之前进行恶意软件检查(如果以前的部署失败).
  • 在目标位置检查自定义权限(ACL),以防安装失败.

设置失败的潜在原因集中在锁定问题,连接性问题,数据损坏问题,系统设置干扰和各种晦涩.这个列表有点疯狂-尤其是到最后-只是一个脑筋急转弯.

Potential causes of setup failures that I can think of right now center around locking issues, connectivity issue, data corruption issues, system settings interference and various obscurities. This list is a bit mad - especially towards the end - it is just a brain dump.

  1. 框上的运行工具(Visual Studio?)上的文件夹上的.关闭嫌疑犯,然后重试.如果安装到网络驱动器上,则网络连接可能会丢失.
    • 如上所述,您的情况锁可能是由于安全软件在尝试创建被识别为恶意软件的文件夹时阻止了您的安装程序(可能为误报).
    • 其他工具也可能有问题,包括Windows中的计划任务开发工具或类似的涉及"或高级"软件.还是普通的,简单的软件可以解决此问题(但是在文件夹结构中,它们到底会做些什么?). Windows服务也可能会造成干扰.许多可能性.
    • 我想您可能安装到网络驱动器,并且连接性可能会丢失.
    • 我想您可能要安装到共享文件夹中,并且网络上的某人可能对您的安装程序试图替换的文件具有锁定.
    • 我想文件夹可以通过某种方式加密,而不是解密且可以写入? (我不使用此功能-而且,对安装目录进行加密也很奇怪.
    • 既然我们已经束手无策了,那么如果用户通过远程桌面连接并且在目标文件夹中具有锁定状态,该怎么办?
    • 域管理员可以随时在您的本地磁盘上工作,锁定资源而没有任何可见的踪迹.
  1. There is a lock on the folder by a running tool on the box (Visual Studio?). Close down suspects and try again. Or network connectivity could be lost if installing to a network drive (don't).
    • As stated above the lock in your case is probably from a security software blocking your installer as it tries to create a folder recognized as malware (false positive - probably).
    • Other tools could also be at fault, including scheduled tasks in Windows or development tools or similarly "involved" or "advanced" software. Or regular, simple software for that matter (but what would those be doing so deep in the folder structure?). Windows services can also interfere. Many possibilities.
    • I suppose you could be installing to a network drive, and connectivity could be lost.
    • I suppose you could be installing into a folder that is shared, and someone on the network may have a lock on a file your installer is trying to replace.
    • I suppose a folder could be encrypted somehow, and not decrypted and available for writing? (I don't use this feature - also, it would be weird to encrypt an installation directory.
    • Since we are out on a limb already, how about if a user is connected by remote desktop and has a lock in the target folder?
    • A domain admin could be working on your local disk at any time, locking resources without any visible trace for you.
  • Besides incomplete download and security software interference other things can also cause the file to become corrupt. Real malware for one thing, network connectivity issues, bugs in SAMBA (Linux / Windows file sharing technology) or other relevant tools (decompressors etc...), and many other, more obscure reasons, etc...
  • Even hardware issues such as bad drivers for cutting edge I/O components such as super fast NVMe disks. No end to grief the latter can cause you. And there is the issue of flash drive wear and exhaustion.
  • If you can, check your download with Virustotal.com. You may already know that your own security software detects the setup as malware, see if other security software agree? This is general advice for unknown installers - your installer is probably fine.
  • The file may be too large to upload to Virustotal.com (or other online malware scanners). You can also use procexp64.exe from Sysinternals to check running processes for malware interactively (direct download of Sysinternals Process Explorer) to scan all your running processes after test installation. See some suggested usage steps for the tool here.
查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆