0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Intune で展開した Win32 アプリのログ

0
Posted at

本記事では Win32 アプリを展開した際のログの例を紹介します。
Intune から展開した Win32 アプリの検出やダウンロード、インストール、検出規則等のログは、通常は次のフォルダーにあります。

C:\ProgramData\Microsoft\IntuneManagementExtension\Logs

ログに処理が記録されるタイミング

タイミング 動作
定期的なチェック IME は、新しい Win32 アプリの割り当てを 1 時間ごと(またはサービスやデバイスの再起動時)にチェックする
ESP/Windows Autopilot デバイスの準備の完了後 IME はすぐに新しい Windows アプリの割り当てを確認する
リターン コードの種類が「再試行」のとき アプリのインストールを 3 回試行する(各試行の間に 5 分間待機)
必須で割り当てたアプリがデバイスにないと検出されたとき 約 24 時間以内にアプリが再度提供される

IntuneManagementExtension.log

IME のチェックイン、ポリシー要求、ポリシー処理、レポートのアクティビティが記録されます。

Win32 アプリのダウンロード完了例

10-06-2026 13:25:24.170    IntuneManagementExtension    54 (0x36)    [Win32App][Win32AppDownloadExecutor] Execution completed with action status: Success, enforcement state: InProgressDownloadCompleted, error code: , and download running in background: False.

AppActionProcessor.log

割り当てられたアプリの検出と適用性チェックのアクションが記録されます。

10-06-2026 13:25:09.178    AppActionProcessor    54 (0x36)    [Win32App][ActionProcessor] App with id: edxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx7f0a, targeted intent: AvailableInstall, and enforceability: Enforceable has projected enforcement classification: EnforcementPoint with desired state: Present. Current state is:
Detection = NotDetected
Applicability =  Applicable
Reboot = Clean
Local start time = 1/1/0001 12:00:00 AM
Local deadline time = 1/1/0001 12:00:00 AM
GRS expired = True
Has deferral config = False
10-06-2026 13:25:09.180    AppActionProcessor    54 (0x36)    [Win32App][ActionProcessor] Found: 0 apps with intent to uninstall before enforcing installs: [].
10-06-2026 13:25:09.180    AppActionProcessor    54 (0x36)    [Win32App][ActionProcessor] Found: 1 apps with intent to install: [edxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx7f0a].
10-06-2026 13:25:09.180    AppActionProcessor    54 (0x36)    [Win32App][ActionProcessor] Found: 0 apps with intent to uninstall after enforcing installs: [].
10-06-2026 13:25:09.214    AppActionProcessor    54 (0x36)    [Win32App][ActionProcessor] Evaluating install enforcement actions for app with id: edxxxxx-xxxx-xxxx-xxxx-xxxxxxxx7f0a.
10-06-2026 13:27:28.902    AppActionProcessor    54 (0x36)    [Win32App][ActionProcessor] App with id: edxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx7f0a, targeted intent: AvailableInstall, and enforceability: Enforceable has projected enforcement classification: EnforcementPoint with desired state: Present. Current state is:
Detection = Detected
Applicability =  Applicable
Reboot = Clean
Local start time = 1/1/0001 12:00:00 AM
Local deadline time = 1/1/0001 12:00:00 AM
GRS expired = True
Has deferral config = False
10-06-2026 13:27:28.904    AppActionProcessor    54 (0x36)    [Win32App][ActionProcessor] Found: 0 apps with intent to uninstall before enforcing installs: [].
10-06-2026 13:27:28.906    AppActionProcessor    54 (0x36)    [Win32App][ActionProcessor] Found: 1 apps with intent to install: [edxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx7f0a].
10-06-2026 13:27:28.906    AppActionProcessor    54 (0x36)    [Win32App][ActionProcessor] Found: 0 apps with intent to uninstall after enforcing installs: [].
10-06-2026 13:27:28.906    AppActionProcessor    54 (0x36)    [Win32App][ActionProcessor] App with id: edxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx7f0a to install has previously been selected for enforcement. The app will not be enforced.

AppWorkload.log

メインのアプリ ワークロード ログです。アプリのチェック、インストール、適用性、検出のログが含まれます。

インストールの記録

開始

10-06-2026 13:25:06.284    AppWorkload    54 (0x36)    [Win32App] Start available apps check-in edxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx7f0a

構成されたアプリのポリシー情報

10-06-2026 13:25:08.446    AppWorkload    54 (0x36)    Get policies = [{"Id":"edxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx7f0a","Name":"ChromeSetup.exe","Version":1,"Intent":1,"TargetType":1,"AppApplicabilityStateDueToAssginmentFilters":null,"AssignmentFilterIds":null,"DetectionRule":"[{\"DetectionType\":2,\"DetectionText\":\"{\\\"Path\\\":\\\"C:\\\\\\\\Program Files\\\\\\\\Google\\\\\\\\Chrome\\\\\\\\Application\\\",\\\"FileOrFolderName\\\":\\\"chrome.exe\\\",\\\"Check32BitOn64System\\\":false,\\\"DetectionType\\\":1,\\\"Operator\\\":0,\\\"DetectionValue\\\":null}\"}]","InstallCommandLine":"ChromeSetup.exe /silent /install","UninstallCommandLine":"ChromeSetup.exe /uninstall","RequirementRules":"{\"RequiredOSArchitecture\":96,\"MinimumFreeDiskSpaceInMB\":null,\"MinimumWindows10BuildNumer\":\"10.0.14393\",\"MinimumMemoryInMB\":null,\"MinimumNumberOfProcessors\":null,\"MinimumCpuSpeed\":null,\"RunAs32Bit\":false}","ExtendedRequirementRules":"[]","InstallEx":"{\"RunAs\":1,\"RequiresLogon\":true,\"InstallProgramVisibility\":3,\"MaxRetries\":3,\"RetryIntervalInMinutes\":5,\"MaxRunTimeInMinutes\":60,\"DeviceRestartBehavior\":1,\"InUseExperience\":null}","ReturnCodes":"[{\"ReturnCode\":0,\"Type\":1},{\"ReturnCode\":1707,\"Type\":1},{\"ReturnCode\":3010,\"Type\":2},{\"ReturnCode\":1641,\"Type\":3},{\"ReturnCode\":1618,\"Type\":4}]","AvailableAppEnforcement":0,"SetUpFilePath":"ChromeSetup.exe","ToastState":0,"Targeted":1,"FlatDependencies":null,"MetadataVersion":2,"RelationVersion":0,"RebootEx":{"GracePeriod":-1,"Countdown":-1,"Snooze":-1},"InstallBehavior":0,"StartDeadlineEx":{"TimeFormat":"","StartTime":"\/Date(-62135596800000)\/","Deadline":"\/Date(-62135596800000)\/"},"RemoveUserData":false,"DOPriority":1,"newFlatDependencies":true,"AssignmentFilterIdToEvalStateMap":null,"ContentCacheDuration":null,"ESPConfiguration":null,"ReevaluationInterval":480,"SupportState":null,"InstallContext":1,"InstallerData":null,"AvailableAppRequestType":0,"ContentMode":null,"Scripts":null}]

検出の記録

10-06-2026 13:25:09.057    AppWorkload    54 (0x36)    [Win32App] DetectionType 2
10-06-2026 13:25:09.057    AppWorkload    54 (0x36)    [Win32App] Start detectionManager SideCarFileDetectionManager
10-06-2026 13:25:09.059    AppWorkload    54 (0x36)    [Win32App] Disable Wow64FsRedirection
10-06-2026 13:25:09.061    AppWorkload    54 (0x36)    [Win32App] Path doesn't exists: C:\Program Files\Google\Chrome\Application\chrome.exe applicationDetected: False
10-06-2026 13:25:09.061    AppWorkload    54 (0x36)    [Win32App] Checked under Path: C:\Program Files\Google\Chrome\Application, filePath:C:\Program Files\Google\Chrome\Application\chrome.exe, agent was checking under expanded: C:\Program Files\Google\Chrome\Application\chrome.exe, applicationDetected: False
...
10-06-2026 13:25:09.099    AppWorkload    54 (0x36)    [Win32App][DetectionActionHandler] Handler completed.

要件の記録

10-06-2026 13:25:09.160    AppWorkload    54 (0x36)    [Win32App] RequiredOSArchitecture: 96,is64BitOperatingSystem: True,AllowedArchitectures: X64, X86,applicability: ApplicableBuild: 26100.
10-06-2026 13:25:09.160    AppWorkload    54 (0x36)    [Win32App] applicationRequirementMetadata expected version: 10.0.14393, client version: 10.0.26100, applicability: Applicable.
10-06-2026 13:25:09.160    AppWorkload    54 (0x36)    [Win32App] applicationRequirementMetadata.RequiredFreespace is , skip check.
10-06-2026 13:25:09.160    AppWorkload    54 (0x36)    [Win32App] applicationRequirementMetadata.RequiredMemory is , skip check.
10-06-2026 13:25:09.160    AppWorkload    54 (0x36)    [Win32App] applicationRequirementMetadata.RequiredCPUSpeed is , skip check.
10-06-2026 13:25:09.160    AppWorkload    54 (0x36)    [Win32App] applicationRequirementMetadata.MinimumNumberOfProcessors is , skip check.

ダウンロードの記録

10-06-2026 13:25:09.985    AppWorkload    54 (0x36)    [Win32App] Downloading app on session 1. App: edxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx7f0a
10-06-2026 13:25:10.064    AppWorkload    54 (0x36)    Get content info from Intune

インストールの記録

10-06-2026 13:25:24.314    AppWorkload    54 (0x36)    [Win32App] ===Step=== InstallBehavior RegularWin32App, Intent 3, UninstallCommandLine ChromeSetup.exe /uninstall
10-06-2026 13:25:24.336    AppWorkload    54 (0x36)    ChromeSetup.exe /silent /install
...
10-06-2026 13:27:13.618    AppWorkload    54 (0x36)    [Win32App] Installation is done, collecting result
10-06-2026 13:27:13.618    AppWorkload    54 (0x36)    [Win32App] lpExitCode 0

ログと照らし合わせるアプリの設定

AppWorkload.log や AppActionProcessor.log を読むときは、管理センターでアプリの [プロパティ] を開き、次の設定と照らし合わせると原因を絞り込みやすくなります。

設定 動作
[プログラム] のインストール コマンド アプリをインストールする完全なコマンド ライン
[プログラム] の必要なインストール時間 インストール プログラムの完了を待つ時間(既定 60 分、最大 1440 分)。これより時間がかかるとインストールは失敗になる
[プログラム] のリターン コード インストール後の動作を示すリターン コード。種類は「失敗」「ハード再起動」「ソフト リブート」「再試行」「成功」
[要件] アプリをインストールする前にデバイスが満たす必要がある要件
[検出規則] アプリの存在を検出する規則。アプリを検出するには、すべての規則の条件を満たす必要がある

参考リンク

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?