Powered by NotePM

[Windows]手動でのエージェント情報取得方法

Published on 03/03/2024 23:10
  • 346

はじめに

作成・更新日情報
2026/01/13


概要

お問い合わせ時に使用環境を確認する為、取得していただく基本情報をまとめました。


留意点

  • 本内容はWindows10及び11に対応しております。
  • 可能な限り、事象発生中の取得をお願いします。
  • 管理者権限を持つユーザーでの使用を想定しています。

関連サイト

提供情報一覧

不明動作発生時に取得し展開をお願いする情報は下記となります。

  1. Windowsログファイル
  2. Diagnosisファイル

ステップ1. windowsログ取得

1-1. フォルダ作成とパス取得

b6288278-d966-11ee-bf11-064017533d40.png?ref=thumb

デスクトップで右クリックし、新規作成からフォルダーを作成します。
bdd5811a-d966-11ee-af95-06720a606bea.png?ref=thumb

フォルダの上で右クリックし、プロパティを開きます。
ad239e06-d966-11ee-9298-064017533d40.JPG?ref=thumb

フォルダパスを全て選択し、Ctrl+cを押してコピーします。

1-2. コマンドプロンプト起動

312b58a0-d963-11ee-b5c6-064017533d40.JPG?ref=thumb

Windowsボタンをクリックし「cmd」と入力します。

コマンドプロンプトを選択し、「管理者として実行」を選択します。


cb5d7ce8-d966-11ee-86a6-061da1ef3444.JPG?ref=thumb

cd 

cdとスペースを入力後、Ctrl+vを押しパスを入力します。

入力後、作成したフォルダに移動していることを確認します。

1-3. windowsログ取得コマンド実行

db8c38fc-d966-11ee-a336-06720a606bea.JPG?ref=thumb

下記コマンドを一つずつ入力し、情報取得を行います。

reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" /s > "VPN_ProxyRegistry.txt"
reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces" /s > "InterfaceRegistry.txt"
reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /s > "InternetSettingsRegistry.txt"
powershell -Command "$stores = @('AuthRoot', 'CA', 'My', 'Root', 'Trust'); foreach ($store in $stores) { $certs = Get-ChildItem -Path Cert:\LocalMachine\$store; Write-Output ('{0}: {1}' -f $store, $certs.Count) }" >> "Certs.txt"
PowerShell -Command "Get-NetConnectionProfile > './\GetNetConnectionProfile.txt'"
powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.msftconnecttest.com/connecttest.txt', './\connecttest_result.txt')"
powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.msftncsi.com/ncsi.txt', './\ncsi_result.txt')"
PowerShell -ExecutionPolicy Bypass -Command "Get-EventLog -LogName 'Application' | Select-Object EntryType,TimeGenerated,Source,EventID,Category,Message | Export-CSV -Encoding UTF8 -NoTypeInformation './\App-EventLog.csv'"
PowerShell -ExecutionPolicy Bypass -Command "Get-EventLog -LogName 'System' | Select-Object EntryType,TimeGenerated,Source,EventID,Category,Message | Export-CSV -Encoding UTF8 -NoTypeInformation './\Sys-EventLog.csv'"
powershell -Command "Get-WinEvent -LogName 'Microsoft-Windows-NetworkProfile/Operational' | Select-Object TimeCreated, Id, Message | Out-File -FilePath 'Network_event_simple.txt' -Encoding UTF8"
wevtutil qe Microsoft-Windows-NetworkProfile/Operational /rd:true /f:text > Network_event.txt
wevtutil qe Application /q:"*[System[Provider[@Name='RasClient']]]" /rd:true /f:text > RasClient.txt
wevtutil qe System /q:"*[System[Provider[@Name='rasman'] and TimeCreated[timediff(@SystemTime) <= 604800000]]]" /f:Text > "RasMan.txt"
wmic nic get Name,GUID > Interface_GUID_temp.txt
powershell -Command "Get-NetIPInterface | ForEach-Object { $_ | Add-Member -MemberType NoteProperty -Name IPAddress -Value ( (Get-NetIPAddress -InterfaceIndex $_.InterfaceIndex).IPAddress ) -PassThru } | Select-Object InterfaceAlias, IPAddress | Out-File -FilePath 'Interface_GUID.txt' -Encoding UTF8"
powershell -Command "Get-Content 'Interface_GUID_temp.txt' | Add-Content -Path './\Interface_GUID.txt' -Encoding UTF8"
reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces" /s >> "Interface_GUID.txt"
del "Interface_GUID_temp.txt"
netsh interface ipv4 show interfaces > "Interface_MTU.txt"
netsh winhttp show proxy > "./\Netsh_winhttp_show_proxy.txt"
copy "C:\Program Files\LTE-X UE\Service.log" 

powercfg /sleepstudy /output "./\SleepStudy.html"
netsh wlan show wlanreport
move C:\ProgramData\Microsoft\Windows\WlanReport\wlan-report-latest.html ./

※moveコマンドは失敗することがあり、うまく移動できない場合には「netsh wlan show wlanreport」コマンド実行後の画面に表示されたフォルダを確認し、手動で移動してください。
fb4c9bd2-d966-11ee-bc9b-064017533d40.JPG?ref=thumb

1-4. 取得情報確認とzip圧縮

全て取得できると、下記19個のファイルがフォルダに作成されます。
・App-EventLog.csv
・certs.txt
・connecttest_result.txt
・GetNetConnectionProfile.txt
・Interface_GUID.txt
・Interface_MTU.txt
・interfaceRegistry.txt
・InternetSettingsRegistry.txt
・ncsi_result.txt
・Netsh_winhttp_show_proxy.txt
・Network_event.txt
・Network_event_simple.txt
・RasClient.txt
・RasMan.txt
・Service.txt
・sleepstudy-report.html
・Sys-EventLog.csv
・VPN_ProxyRegistry.txt
・wlan-report-latest.html

ファイルが保存されていることを確認後、アイコンの上で右クリックし「ZIPファイルに圧縮する」を選択し圧縮します。

圧縮が完了すると、デスクトップにZIPファイルが作成されます。
※環境によりZIPファイル圧縮の表示が無い場合、他のソフトウェアで圧縮してください。
98c7caa8-d962-11ee-9080-061da1ef3444.png?ref=thumb

ステップ2. Diagnosisファイル

エージェントソフトウェアのDiagnosisファイルを下記手順で取得してください。

2-1. Diagnosisウィンドウの表示

エージェントのアイコンを右クリックし「infomation」を選択します。
97efeb9c-d962-11ee-bd72-061da1ef3444.png?ref=thumb

2-2. Diagnosisファイル作成と取得

infoWindowの「Diagnosis」タブを選択し「Download diagnosis file.」を押してデスクトップに保存します。
9826e39a-d962-11ee-947f-061da1ef3444.png?ref=thumb

Diagnosisファイルが生成されると下図のような画面になります。

生成されたzipファイルがデスクトップに作成されます。
98431e34-d962-11ee-985c-061da1ef3444.png?ref=thumb

ステップ3. ファイルの送付

ステップ1、ステップ2にて取得、圧縮したファイル2点をサポートへ送付します。
10665bac-d967-11ee-b936-061da1ef3444.png?ref=thumb
1-4. 取得情報確認とzip圧縮
2-2. Disganosisファイル作成と取得