windows 无法从网络“0xc0000006”启动应用程序

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/20050368/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 11:06:08  来源:igfitidea点击:

Unable to start applications from network "0xc0000006"

windowsnetworking

提问by beny1700

I can't start applications from a network share or drive. An error Appears saying that the application was unable to start 0xc0000006. If I copy the .exe on my desktop it works fine. I tried to start Windows in safe mode and it works too.

我无法从网络共享或驱动器启动应用程序。出现错误提示应用程序无法启动 0xc0000006。如果我将 .exe 复制到我的桌面上,它就可以正常工作。我尝试以安全模式启动 Windows,它也能正常工作。

My machine run on an HP laptop core i5 with Windows 7 SP1.

我的机器在带有 Windows 7 SP1 的 HP 笔记本电脑 core i5 上运行。

Any idea?

任何的想法?

EDIT:

编辑:

I found my problem: It's a bug that append sometimes with Kaspersky endpoint Security v.10. I just uninstall this version and install an older version (v.8). I hate Kaspersky... Hope it will help someone!

我发现了我的问题:这是一个有时会附加到 Kaspersky Endpoint Security v.10 的错误。我只是卸载此版本并安装旧版本(v.8)。我讨厌卡巴斯基...希望它会帮助某人!

采纳答案by beny1700

Thank you for your replies.

谢谢您的回复。

I solved the problem by uninstalling Kaspersky end point 10.

我通过卸载卡巴斯基端点 10 解决了这个问题。

My colleges have the version 10 of kasperky and it works but not for me.

我的大学有 kasperky 的 10 版,它有效但不适合我。

I will install an older version waiting for kaspersky v 11.

我将安装一个旧版本,等待 kaspersky v 11。

回答by David Heffernan

0xc0000006 is an NTSTATUScode. Specifically it is STATUS_IN_PAGE_ERROR.

0xc0000006 是一个NTSTATUS代码。具体来说是STATUS_IN_PAGE_ERROR

It is not uncommon to see these errors when you attempt to run an executable from a network volume. For whatever reason, if there is any even intermittent problem accessing the network volume, then you may see this error. When a module is loaded, the code is not physically loaded until it is needed. A memory mapped file is created, and when a particular page is needed, it is brought into physical memory on demand. If your network fails to meet this demand, your application stops with STATUS_IN_PAGE_ERROR.

当您尝试从网络卷运行可执行文件时,经常会看到这些错误。无论出于何种原因,如果访问网络卷时出现任何间歇性问题,那么您可能会看到此错误。加载模块时,直到需要时才会物理加载代码。创建一个内存映射文件,当需要特定页面时,根据需要将其带入物理内存。如果您的网络无法满足此需求,您的应用程序将以STATUS_IN_PAGE_ERROR.

The common ways to deal with this include:

处理这种情况的常见方法包括:

  1. Getting a more robust connection to your network volumes.
  2. Copying the executable file to a local drive and running it from there.
  3. Adding the IMAGE_FILE_NET_RUN_FROM_SWAPflag to your PE file options.
  1. 与您的网络卷建立更强大的连接。
  2. 将可执行文件复制到本地驱动器并从那里运行它。
  3. IMAGE_FILE_NET_RUN_FROM_SWAP标志添加到 PE 文件选项。