# Intunewinのデバッグ

intunewin パッケージはアプリケーションのインストールに RealmJoin エージェントを使用せず、Intune を使用するため、ログ記録は異なります。

### ログファイルの場所

Intunewin で展開されたアプリケーション パッケージは、3 種類の異なるログファイルを書き込みます。

* RJImeHost のログ: $env:Systemroot\Logs\RealmJoin\Packages\\\<package-id>\date\_package-id\_RjImeHost\_Install.log
* パッケージ インストーラーのログ: 利用可能な場合: $env:Systemroot\Logs\RealmJoin\Packages\\\<package-id>\\\*.log
* 一般 IME ログ: C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\intuneManagementExtension.log

<figure><img src="/files/9f6147d34ecfa0720776e23c2f7b1c9cd4ecf9ba" alt=""><figcaption></figcaption></figure>

次の RjImeHost.log の行は、インストール コマンドを示しています:

```
OUT: 240926-083509.886+02:00| DEBUG: パラメーター [{"Key":"silentArgs","Value":["/VERYSILENT /ALLUSERS /LOG=\"%LOGFILEPATH%\""]},{"Key":"installerFileName","Value":"gimp-2.10.38-setup.exe"},{"Key":"installerFileChecksum","Value":"e3515980c9012eed67cf78f1151d216725529e95676c16f5ff7478d46230ddab"}] を指定して関数 'Install-RealmjoinPackage' に入りました
OUT: 240926-083512.671+02:00| インストーラーを実行中...
OUT: 240926-083512.702+02:00| DEBUG: パラメーター [{"Key":"FilePath","Value":"C:\\Windows\\IMECache\\1ce860d8-c3a9-4032-b29d-cd51814038e9_1\\blobs\\gimp-2.10.38-setup.exe"},{"Key":"ArgumentList","Value":["/VERYSILENT /ALLUSERS /LOG=\"C:\\Windows\\Logs\\RealmJoin\\Packages\\generic-gimpteam-gimp\\2024-09-26_08-35-10.026_generic-gimpteam-gimp_2.10.38.0_install_gimp-2.10.38-setup.exe.log\""]},{"Key":"ValidExitCodes","Value":[0,1641,3010]}] を指定して関数 'Start-RealmjoinProcess' に入りました
OUT: 240926-083700.796+02:00|     インストーラーの実行が完了しました。
```

このセクションには、インストール エラー コードが含まれます。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.realmjoin.com/ja/sono/troubleshooting/package-installation-issues/intunewin-debugging.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
