Wednesday, January 11, 2023

UXtrace - how to collect UXtrace with Procmon

 UXTrace:

Download UXTrace

 

  1. Login using a affected user account and check if issue reproduces. If yes, then follow the below steps to capture logs.
  2. Download the Procmon tool from this hyper link and extract it to a C:\Temp folder.
  3. Download the UXTrace powershell script file from the file transfer link and place the UXTrace.ps1 file in the same C:\Temp folder.
  4. Open Powershell as admin from Taskmanager.
  5. Navigate to C:\Temp folder.
  6. Run the below command to start tracing:

 .\UXTrace.ps1 -Start -AppX -Shell -COM -Procmon -ProcmonPath C:\temp

 

If you get any error that script cannot be run and permissions required. Then to grant the trace permissions to run below Powershell command

Set-ExecutionPolicy Bypass

 Type Y for yes

 Then run the above Powershell command for script again.

 

  1. You will the prompt to start reproducing the issue.
  2. From here, left click on the Start menu, Action center date/time, Right click on taskbar, action center 2 times each with 2 seconds interval in between.
  3. Now, Go back to the Powershell window where script is executing.
  4. Press "Enter" to stop the log capture.
  5. The script will now start saving the logs. It will take 10 mins.
  6. The logs will be saved on Desktop with the name MSLOGS folder.
  7. Compress the folder to zip for further analysis.

No comments:

Post a Comment

How to troubleshoot window updates and OS related issues.

The article here addresses the issue how to get rid of a specific KB (Update) and shows some more DISM commands to fix broken Windows online...