A passkey for msdt.exe cannot be generated or provided here.
The /dci <passkey> parameter in msdt is only used when a support provider (for example, Microsoft Support in an active support case or an OEM/IT admin) explicitly supplies a passkey tied to a specific diagnostic package. Without an active support case that includes such a passkey, msdt cannot be used in that mode.
To proceed:
- Run built‑in troubleshooters without a passkey
- Open Settings → System → Troubleshoot → Other troubleshooters in Windows 11.
- Run the relevant troubleshooter (e.g., Internet, Audio, Windows Update) directly from there. These do not require
msdtpasskeys.
- If a support engineer specifically asked to run
msdtwith/dci- You must obtain the passkey directly from that support engineer or organization.
- The passkey is not generic and cannot be reused or requested publicly.
- Prefer newer tools
- The Microsoft Support Diagnostic Tool (MSDT) is deprecated. For new troubleshooting scenarios, use the Windows 11 Settings troubleshooters or guidance from current support articles instead of starting
msdtmanually.
- The Microsoft Support Diagnostic Tool (MSDT) is deprecated. For new troubleshooting scenarios, use the Windows 11 Settings troubleshooters or guidance from current support articles instead of starting
References: