为什么Microsoft-windows-security-auditing会阻止我的应用。 ? [英] Why is Microsoft-windows-security-auditing blocking my app. ?

查看:1540
本文介绍了为什么Microsoft-windows-security-auditing会阻止我的应用。 ?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我在使用Windows 10和Windows 7笔记本电脑之间的TCP通信的项目时遇到问题。两者都在同一个局域网上。



我在两台机器上都有完全相同的应用程序,使用Win.10启动两台机器之间的WiFi连接几乎立即连接,反之亦然完全没有连接。

两台机器都有Microsoft Security Essentials作为其AV保护。



两台机器中的防火墙应该是接受应用程序。 (公开和私下),但是当我检查Win.10机器的Windows安全日志时(通讯失败后几秒钟),我找到以下条目:



Hi,

I'm having a problem with a project using TCP communications between Windows 10 and Windows 7 laptops. Both on the same LAN.

I have EXACTLY the same application in both machines, initiating the WiFi connection between the two machines using the Win.10 the connection is made almost immediately but the other way round doesn't connect at all.
Both machines have Microsoft Security Essentials as their AV protection.

The firewalls in both machines are supposed to accept the app. (Publicly and Privately), however when I check the Windows Security Log for the Win.10 machine, (seconds after a comm's failure) I find the following entry:

Quote:



日志名称:安全

来源:Microsoft-Windows-Security-审核

日期:29/04/19 01:06:25

事件ID:5032

任务类别:其他系统事件
等级:信息

关键词:审计失败

用户:N / A

计算机:MSI

说明:

Windows防火墙无法通知用户它阻止应用程序接受网络上的传入连接。



错误代码:5

事件Xml:

< event xmlns =http://schemas.microsoft.com/win/2004/08/events/event>

< system>

< provider name =Microsoft-Windows-Security-Auditingguid ={54849625-5478-4994-a5ba-3e3b0328c30d}> ;

< eventid> 5032

< version> 0

< level> 0

< task> 12292

<操作码> 0

< keywords> 0x8010000000000000

< timecreated systemtime =2019-04-29T00:06:25.742620500Z> ;

< eventrecordid> 104834

< correlation activityid ={397352cc-fdbb-0003-d452-7339bbfdd401}>

< execution processid =876threadid =7680>

< channel> Security

< computer> MSI

< ;安全>



< eventdata>

5




Log Name: Security
Source: Microsoft-Windows-Security-Auditing
Date: 29/04/19 01:06:25
Event ID: 5032
Task Category: Other System Events
Level: Information
Keywords: Audit Failure
User: N/A
Computer: MSI
Description:
Windows Firewall was unable to notify the user that it blocked an application from accepting incoming connections on the network.

Error Code: 5
Event Xml:
<event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<system>
<provider name="Microsoft-Windows-Security-Auditing" guid="{54849625-5478-4994-a5ba-3e3b0328c30d}">
<eventid>5032
<version>0
<level>0
<task>12292
<opcode>0
<keywords>0x8010000000000000
<timecreated systemtime="2019-04-29T00:06:25.742620500Z">
<eventrecordid>104834
<correlation activityid="{397352cc-fdbb-0003-d452-7339bbfdd401}">
<execution processid="876" threadid="7680">
<channel>Security
<computer>MSI
<security>

<eventdata>
5





我对此并不了解,但它似乎在说它阻止了应用程序。具体列为'允许'。



微软称误差5表示:





I don't understand much of this, but it seems to be saying it's blocking the app. that is specifically listed as 'Allow'.

Microsoft say that error 5 means:

Quote:



本文介绍了AD操作失败并出现错误5的情况的症状,原因和解决步骤:访问权限是拒绝。



DCDIAG报告Active Directory复制测试失败,错误状态代码为(5):访问被拒绝

测试服务器:< site name => \< destination dc =name =>

开始测试:复制

*复制检查

[复制检查,< destination dc =name] =a =recent =replication =attempt =失败:

from = < source => to< destination dc =>

命名上下文:< directory partition =dn =path =>

复制生成的错误(5):

访问被拒绝。

失败发生在< date> <时间>。

最后一次成功发生在< date> <时间>。

自上次成功以来已发生3次失败。





I不知道这意味着什么...



我在VS 2017中使用VB.NET虽然我不相信这是相关的。



我尝试过:





I have no idea what that means...

I'm using VB.NET with VS 2017 although I don't believe that's relevant.

What I have tried:

I have the same code in both machines, I have the same AV in both machines, Win.7 accepts WiFi connection from Win.10, Win.10 blocks Win.7. I'm just trying to make a little 'Two computer game' to be played between two computers on the same LAN so I don't want to have to start messing with individual firewalls, I just want to be able to install the executable code in each (any windows) machine and play the game.

推荐答案

Win10上的安全性比Windows 7上的安全性要高。消息告诉您Windows防火墙阻止您的应用程序打开TCP / IP端口进行监听。



由您自己打开防火墙上的安全保护应用程序,它可以沟通。



错误代码5并不意味着你想出了什么。它只是意味着拒绝访问。
Security on Win10 is tigher than that it was on Windows 7. That message is telling you that Windows Firewall blocked your app from opening TCP/IP ports to listen on.

It's up to your to open up the security on the Firewall for your app so it can communicate.

Error code 5 does not mean what you came up with. It simply means "Access Denied".


这篇关于为什么Microsoft-windows-security-auditing会阻止我的应用。 ?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆