ICode9

精准搜索请尝试: 精确搜索
首页 > 系统相关> 文章详细

关于windows收集日志

2021-11-01 22:01:49  阅读:230  来源: 互联网

标签:security 收集 trace windows 日志 ds etl 客户端


1.最近在处理windows远程登陆发生【出现了内部错误】。

2.开case跟microsoft,给出如下收集trace的步骤,记录一下

一:Netmon trace安装和使用

您可以从以下站点下载 Network Monitor 3.4 (NetMon),然后以管理员身份运行以安装 netmon 工具:
Download Microsoft Network Monitor 3.4 (archive) from Official Microsoft Download Center

CAPI2 log:
您需要在客户端和故障服务器捕获数据之前都启用 CAPI2 日志,因为默认情况下 CAPI2 事件日志是禁用的。
Open Event Viewer, expand Application and Services Logs – Microsoft – Windows – CAPI2. Right click Operational and select Properties. Then enable logging

Steps:

  1. 开启netmon capture(需要参考network monitor caputer) 和右击以管理员身份运行RDS tracing工具 在客户端和服务器端(需要添加截图)
    客户端:

服务器端:

  1. 运行 Schannel etl trace 分别在客户端和服务器端:
    以管理员身份打开CMD,运行以下命令启动schannel etl trace:

logman create trace “ds_security” -ow -o c:/ds_security.etl -p {37D2C3CD-C5D4-4587-8531-4696C44244C8} 0xffffffffffffffff 0xff -nb 16 16 -bs 1024 -mode Circular -f bincirc -max 40960 -ets
logman update trace “ds_security” -p {1F678132-5938-4686-9FDC-C8FF68F15C85} 0xffffffffffffffff 0xff -ets
logman update trace “ds_security” -p {44492B72-A8E2-4F20-B0AE-F1D437657C92} 0xffffffffffffffff 0xff -ets
logman update trace “ds_security” -p “Schannel” 0xffffffffffffffff 0xff -ets

  1. 从客户端远程故障2019 VM复现远程失败问题。

  2. 运行以下命令在客户端和服务器上停止 schannel etl trace:
    logman stop “ds_security” -ets

Schannel etl trace will be saved as c:/ds_security.etl

  1. 停止的RDS tracing 和network monitor在客户端和服务器端。

然后请将以下日志上传到工作区:
日志摘要:
客户端:
• netmon trace;
• CAPI2 Event log;
• Schannel etl
• RDS tracing logs
这个目录下所有日志
C:/Windows/System32/winevt/Logs

故障w2019 VM端:
• netmon trace;
• CAPI2 Event log;
• Schannel etl
• RDS tracing logs
这个目录下所有日志
• C:/Windows/System32/winevt/Logs

二.network monitor capture安装和使用

About how to capture network monitor traffic:
1.Choose the version for your system to download, install it as typical: Download Microsoft Network Monitor 3.4 (archive) from Official Microsoft Download Center
2.Run Network Monitor as administrator.

3.In the bottom left-hand, choose the NIC or NICs you want to capture.

4.Run command: ipconfig /flushdns to clean DNS cache.

5.Then start capture when the issue reoccurs. After the necessary information is collected, click Stop.

6.Save the captured files, please upload them in the case link below.

标签:security,收集,trace,windows,日志,ds,etl,客户端
来源: https://blog.csdn.net/hbhe0316/article/details/121089815

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有