Testing and Debugging AppId Tagging Policies
Note
Some capabilities of App Control for Business are only available on specific Windows versions. Learn more about App Control feature availability.
After deployment of the App Control AppId Tagging policy, App Control will log a 3099 policy deployed event in the Event Viewer logs. You first should ensure that the policy has been successfully deployed onto the system by verifying the presence of the 3099 event.
Verifying Tags on Running Processes
After verifying the policy has been deployed, the next step is to verify that the application processes you expect to pass the AppId Tagging policy have your tag set. Note that processes running at the time of policy deployment will need to be restarted since App Control for Business can only tag processes created after the policy has been deployed.
Download and Install the Windows Debugger
Microsoft's WinDbg Preview application can be downloaded from the Store and used to verify tags on running processes.
Get the Process ID (PID) of the process under validation
Using Task Manager, or an equivalent process monitoring tool, locate the PID of the process you wish to inspect. In the example below, we've located the PID for the running process for Microsoft Edge to be 2260. The PID will be used in the next step.
Use WinDbg to inspect the process
After opening WinDbg. select File followed by
Attach to Process
, and select the process with the PID identified in the step prior. Finally, selectAttach
to connect to the process.Lastly, in the textbox, type
!token
and then press the Enter key to dump the security attributes on the process, including the POLICYAPPID:// followed by the key you set in the policy, and its corresponding value in the Value[0] field.