๐Ÿงฐ

Troubleshooting Tools for Windows 11

By Richard Gamarra

A categorized cheat sheet for Tier 2 and Tier 3 Help Desk engineers: Windows 11 local triage, CMD and PowerShell commands, Outlook and Teams troubleshooting, Microsoft 365 admin tools, Exchange message flow, remote support, service health, internal OS diagnostics, Splunk searches, account lockouts, and Duo triage.

47
Visible tools / cards
๐ŸชŸ Windows 11 โŒจ๏ธ CMD โšก PowerShell ๐Ÿ“ง Outlook ๐ŸŽฅ Teams โ˜๏ธ Microsoft 365 ๐Ÿ”Ž Splunk ๐Ÿ” DUO ๐Ÿงญ Tier 2 / Tier 3

๐Ÿšฆ Core Triage Workflow

1๏ธโƒฃ
First 5 Minutes

Fast triage sequence

  • Confirm scope: one user, one device, one site, or tenant-wide.
  • Check Microsoft 365 Service Health and Teams/Exchange admin portals first.
  • Compare thick client vs web client vs another machine/profile.
  • Capture error text, timestamp, impacted account, machine name, and network path.
  • Collect logs before clearing cache or rebuilding profiles.
โœ…
Golden Rule

Differentiate service issue vs local issue

Before rebuilding a profile or reimaging a machine, compare: Outlook desktop vs OWA, Teams desktop vs Teams web, local device vs known-good device, and user account vs alternate test account.

Always verify whether the issue is local, profile-based, network-based, or tenant-side.
๐Ÿ“
Case Notes

Capture these details every time

User UPN:
Device name:
Time issue started:
Exact error:
VPN on/off:
Client or web:
Recent password change:
Recent update / patch:
Mailbox migrated?:
Other users affected?:

โŒจ๏ธ CMD Cheat Sheet

๐ŸŒ
Network Basics

Daily network commands

ipconfig /all
ipconfig /flushdns
ipconfig /registerdns
nslookup contoso.com
ping hostname
tracert hostname
pathping hostname
netstat -ano
arp -a
route print

Use for DNS, route, NIC, port, and reachability checks.

๐Ÿงฑ
System Repair

Core Windows repair commands

sfc /scannow
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
chkdsk C: /scan

Use for system file integrity and component store repair.

Run in elevated CMD or PowerShell.
๐Ÿ‘ค
Identity / Rights

Local user and permissions checks

whoami
whoami /all
whoami /groups
hostname
systeminfo
gpresult /r
gpresult /h c:\temp\gp.html

Useful for GPO, token, local machine state, and elevation questions.

โš™๏ธ
Process / Service

Quick process and service control

tasklist
taskkill /PID 1234 /F
taskkill /IM outlook.exe /F
sc query
sc queryex
sc qc wuauserv
shutdown /r /t 0

Use when a process is hung, a service is stopped, or a restart is required.

โšก PowerShell Cheat Sheet

๐Ÿ–ง
Network

PowerShell networking commands

Get-NetIPConfiguration
Get-NetAdapter
Get-DnsClientServerAddress
Resolve-DnsName outlook.office365.com
Test-NetConnection outlook.office365.com -Port 443
Test-NetConnection smtp.office365.com -Port 587
Get-NetTCPConnection | Sort-Object State

Faster and more scriptable than legacy CMD tools for port and adapter diagnostics.

๐Ÿ“œ
Logs / Events

Event and log collection

Get-WinEvent -LogName System -MaxEvents 50
Get-WinEvent -LogName Application -MaxEvents 50
Get-WinEvent -LogName Microsoft-Windows-WindowsUpdateClient/Operational -MaxEvents 50
Get-EventLog -LogName System -Newest 20

Use when Event Viewer is too slow or you need fast exportable output.

๐Ÿงฐ
System State

Inventory and machine state

Get-ComputerInfo
Get-Service | Sort-Object Status,DisplayName
Get-Process | Sort-Object CPU -Descending | Select-Object -First 15
Get-Printer
Get-Volume
Get-CimInstance Win32_OperatingSystem

Useful for quick inventory, printer checks, storage checks, and service review.

๐ŸชŸ
AppX / Built-in Apps

Built-in app checks

Get-AppxPackage *Microsoft.GetHelp*
Get-AppxPackage *Teams*
Get-AppxPackage *WindowsStore*
Get-AppxPackage | Select Name, PackageFullName
winget list

Useful when Get Help, Store apps, or built-in Windows packages are missing or broken.

๐Ÿ“ง Outlook / Exchange Troubleshooting

๐Ÿฉบ
Primary Tool

SaRA / Get Help diagnostics

Use Microsoft diagnostics first for connectivity, profile, sign-in, activation, and known Outlook issues.

Classic Outlook quick tests:
- SaRA / Enterprise SaRA
- Get Help app
- Advanced Diagnostics for Outlook
๐Ÿšช
Startup Switches

Outlook command-line switches

outlook.exe /safe
outlook.exe /resetnavpane
outlook.exe /profiles
outlook.exe /cleanviews

Use Safe Mode first to isolate add-ins, then reset nav pane or views if the UI is broken.

๐ŸŒ
Scope Check

Desktop Outlook vs OWA

  • If OWA works and Outlook desktop fails, suspect local profile, add-ins, cache, token, Office build, or local network path.
  • If both fail, suspect mailbox, auth, service health, policy, or backend routing.
  • If one mailbox fails on multiple PCs, focus on the account or mailbox side.
๐Ÿ“จ
Mail Flow

Message trace is mandatory for delivery questions

Use Exchange Admin Center message trace for send/receive, delay, block, and transport path questions.

Key questions:
- Did the service receive it?
- Was it delivered, deferred, failed, quarantined, or blocked?
- Internal only or external only?
- Sender, recipient, timestamp, subject?
๐Ÿงพ
Headers

Email headers and phishing analysis

For spoofing, routing, and external delivery questions, extract full headers from Outlook or OWA and correlate them with message trace results.

Headers + message trace together usually solve mail path questions faster than client-side guesswork.
๐Ÿ› ๏ธ
Local Fixes

Basic Outlook workstation repair path

  • Test Safe Mode.
  • Disable add-ins.
  • Open Mail control panel and test a new profile.
  • Run Office Quick Repair / Online Repair if needed.
  • Clear stale credentials or token issues if sign-in symptoms are present.

๐ŸŽฅ Microsoft Teams Troubleshooting

๐Ÿ“ฆ
Logs

Collect Teams support logs

Capture logs before cache clearing or reinstall steps.

Windows Teams log collection:
Ctrl + Alt + Shift + 1

Also:
Settings / tray icon > Collect support files
๐Ÿ”
Sign-in

Sign-in troubleshooting flow

  • Test Teams web vs desktop.
  • Confirm password / MFA / Conditional Access changes.
  • Check service health and sign-in scope.
  • Review proxy, VPN, and endpoint filtering if web also fails.
๐Ÿ“Š
Quality

Call Quality Dashboard and analytics

Use CQD for org-wide quality patterns. Use per-user analytics for individual bad call or meeting investigations.

๐ŸŒ
Network

Teams and M365 network testing

For meeting quality, sign-in, intermittent drops, and high latency issues, run Microsoft 365 connectivity testing and compare by site or VPN path.

๐Ÿงน
Common Fixes

High-value Teams checks

  • Compare desktop app to Teams web.
  • Collect logs before clearing anything.
  • Check service health.
  • Check audio device selection and default communications device.
  • Verify firewall, proxy, VPN, and web filtering path.

โ˜๏ธ Microsoft 365 Admin Essentials

โค๏ธ
Tenant Health

Service Health must be checked early

Before deep workstation troubleshooting, verify service incidents, advisories, and planned maintenance in Microsoft 365.

๐Ÿ“ฌ
Exchange

Exchange Admin Center

  • Message trace
  • Mail flow rules
  • Quarantine / delivery patterns
  • Mailbox properties and delivery path review
๐ŸŽ›๏ธ
Teams Admin

Teams Admin Center

  • User policy review
  • Call analytics
  • CQD access
  • Meeting, calling, and app policy checks
๐Ÿ“ˆ
Connectivity

Microsoft 365 network connectivity tool

Use for user experience complaints tied to route quality, DNS path, front door proximity, and network perimeter design.

๐ŸชŸ Internal OS Tools

๐Ÿ“˜
Eventing

Event Viewer

Check Application, System, Setup, WindowsUpdateClient/Operational, and app-specific logs before concluding that an issue is random.

eventvwr.msc
๐Ÿ“Š
Performance

Task Manager / Resource Monitor / Performance Monitor

taskmgr
resmon
perfmon
  • Task Manager: process, startup, memory pressure.
  • Resource Monitor: disk, CPU, network, handles.
  • Performance Monitor: long-duration counters and deeper analysis.
๐Ÿ›ก๏ธ
Security

Windows Security and Defender basics

windowsdefender:
ms-settings:windowsdefender

Verify quarantine, protection history, and controlled folder access when apps behave strangely.

๐Ÿ”
Reliability

Reliability Monitor

perfmon /rel

One of the most underrated tools for finding crash patterns, failed installs, and update-related breakpoints.

Excellent for proving "it started after update X" or repeated app faulting.
๐Ÿ”ง
Built-in Support

Get Help and Troubleshooters

ms-contact-support:
Get Help app

Useful for Microsoft-guided remediation and built-in self-help paths for Windows and Microsoft 365 apps.

๐Ÿ–ฅ๏ธ Remote Support / Network / Escalation

๐Ÿค
Remote Assist

Quick Assist

Preferred Microsoft-native interactive support tool for many help desk scenarios requiring screen share or control.

quickassist
๐ŸชŸ
RDP

Remote Desktop Connection

mstsc

Still essential for admin access, server work, jump hosts, and controlled remote troubleshooting.

๐Ÿ“ก
Port Test

Fast remote connectivity commands

ping hostname
tracert hostname
Test-NetConnection hostname -Port 443
Test-NetConnection hostname -Port 3389
nslookup hostname
Resolve-DnsName hostname

Use to isolate DNS vs route vs port vs service issues quickly.

๐Ÿ“ค
Escalation Ready

What to attach before escalation

  • Screenshots and exact error text
  • Event excerpts or exported logs
  • Outlook / Teams logs if applicable
  • Message trace IDs and timestamps
  • Test results from web client vs desktop client
  • Output of relevant commands
Never escalate with "user says it doesn't work" and no timestamps, no scope, and no reproduction notes.

๐Ÿ”Ž Splunk Cheat Sheet

๐Ÿ”
Core Search

Most useful Splunk commands for Tier 2 / Tier 3

index=wineventlog sourcetype=WinEventLog:Security
| table _time host EventCode Account_Name Message

Useful commands:
search
table
stats
sort
dedup
where
eval
rex
transaction

These are the day-to-day commands most help desk engineers use to narrow scope, summarize results, and isolate patterns.

๐Ÿ“Š
Stats

Top statistics examples

index=wineventlog EventCode=4740
| stats count by user host

index=wineventlog sourcetype=WinEventLog:Security
| stats count by EventCode

index=wineventlog host=PC123
| stats count by SourceName EventCode

Use stats to answer "how many", "by who", "by host", and "what event codes are recurring".

๐Ÿ“‹
Table / Sort

Fast readable output

index=wineventlog EventCode=4740
| table _time host user Caller_Computer_Name Message
| sort - _time

index=o365*
| table _time user operation workload result status
| sort - _time

Use table to keep only the fields you care about and sort to put newest evidence first.

๐Ÿงน
Dedup / Where

Reduce noise fast

index=wineventlog EventCode=4740
| dedup user
| table _time user host Caller_Computer_Name

index=wineventlog
| where EventCode=4740 OR EventCode=4771 OR EventCode=4776
| table _time host EventCode user Message

Use dedup to keep one result per user or machine, and where when you need Boolean filtering logic.

๐Ÿง 
Rex / Eval

Field extraction and normalization

index=duo*
| rex field=_raw "username[=:]\s*(?<duo_user>[^,\s]+)"
| table _time host duo_user result reason

index=wineventlog EventCode=4740
| eval target=coalesce(user, Account_Name, TargetUserName)
| table _time host target Message

Use rex when fields are buried in raw text and eval to standardize field names across sources.

๐Ÿงต
Transaction

Grouping related events

index=wineventlog user=jdoe
| sort - _time
| transaction user maxspan=10m
| table _time user duration eventcount

index=duo* user=jdoe
| sort - _time
| transaction user maxspan=5m
| table _time user duration eventcount result

Use transaction sparingly for short timelines. If you use it, keep sort - _time immediately before it.

transaction is heavier than stats; use it only when you really need related-event grouping.
๐Ÿ”’
Account Lockout

Event 4740 basics

Event 4740 means a user account was locked out. In practice, correlate it with nearby 4771 or 4776 failures to find the bad credential source.

Splunk example:
index=wineventlog sourcetype=WinEventLog:Security EventCode=4740
| table _time host user Caller_Computer_Name Message
| sort - _time
๐Ÿงญ
Lockout Workflow

Basic 4740 triage path

  • Find the exact lockout timestamp in the DC security log or Splunk.
  • Check the caller computer name if present.
  • Look for nearby 4771 or 4776 failures for the same user.
  • Check stale credentials in Outlook, phones, mapped drives, scheduled tasks, services, VPN clients, and saved Windows credentials.
  • Ask whether the password was recently changed.
Broader lockout hunt:
index=wineventlog sourcetype=WinEventLog:Security (EventCode=4740 OR EventCode=4771 OR EventCode=4776) user=jdoe
| table _time host EventCode user Caller_Computer_Name Message
| sort - _time

๐Ÿ” DUO Troubleshooting

๐Ÿ“ฑ
DUO

Duo user locked out / disabled

Duo issues often come from user state, device enrollment, wrong push target, stale app activation, or policy behavior.

What to verify:
- Is the user Locked Out or Disabled in Duo?
- Did the user recently change phones or lose device activation?
- Is the wrong device receiving push?
- Is the user denying pushes because of stale app prompts?
- Is offline access / Windows Logon involved?
๐ŸชŸ
Windows Logon

Duo for Windows Logon / RDP basics

Check install state, policy behavior, username matching, offline access, and Windows-side prompt behavior.

Common checks:
- Does Duo username match Windows username?
- Is the user enrolled and active?
- Is offline access enabled?
- Is the issue local logon, unlock, UAC, or RDP only?
- Did the issue start after an upgrade?
๐Ÿ“ˆ
Splunk + DUO

Splunk examples for Duo errors

index=duo*
| stats count by user result reason

index=duo* user=jdoe
| table _time host user result reason application factor
| sort - _time

index=duo* (result="deny" OR result="failed" OR result="error" OR result="locked out")
| stats count by user result reason

Use these to separate push denial, failed factor, policy failure, and lockout patterns by user.

๐Ÿ› ๏ธ
Basic Fixes

Fast Duo troubleshooting checklist

  • Verify user state in Duo Admin Panel.
  • Confirm correct device is activated and receiving push.
  • Check time sync and network reachability on the endpoint.
  • Review recent policy changes, enrollment state, and bypass status.
  • For Windows Logon, verify local install health and recent version changes.
Best practice: correlate Duo-side failures with Windows logon events and user timestamps.