hardMultiple Choice
MD-102 Practice Question: Uses Microsoft Intune to manage Windows 10 devices
An organization uses Microsoft Intune to manage Windows 10 devices. They deploy a PowerShell script via Intune to install a custom application. The script runs successfully on some devices but fails on others with error code 0x80070002. What is the most likely cause?
⚠ Common exam trap
MD-102 often tests whether candidates can map Windows error codes to root causes — 0x80070002 is specifically 'file not found', so options about permissions or execution policy are distractors.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The script references a file path that does not exist on the failing devices.
Error code 0x80070002 translates to 'The system cannot find the file specified' — a classic Windows error indicating a missing file or path. When an Intune-deployed PowerShell script fails with this code on some devices, the most likely cause is that the script references a file path (e.g., an installer, config file, or dependency) that exists on some devices but not on the failing ones. This is a path/dependency issue, not a permissions or policy issue.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The script execution exceeds the 60-minute timeout.
Why it's wrong here
A timeout produces a different failure signature, typically 0x800705B4 or a script-status timeout entry, not 0x80070002. Tempting because long-running installers do exceed Intune's 60-minute script limit, so raising the timeout is the right remedy in that scenario.
- ✗
The user does not have local administrator privileges on the failing devices.
Why it's wrong here
Error 0x80070002 is "file not found", not access denied; Intune scripts run as SYSTEM by default, so local administrator rights are irrelevant. Tempting because elevation failures do plague script deployments, and granting admin rights would be the fix when a script genuinely needs them.
- ✓
The script references a file path that does not exist on the failing devices.
Why this is correct
Error 0x80070002 is ERROR_FILE_NOT_FOUND, raised when the script's referenced path is absent. Devices lacking that file, folder or mapped location fail, while others succeed, so the missing path is the cause rather than permissions or execution policy.
- ✗
The PowerShell execution policy is set to Restricted on the failing devices.
Why it's wrong here
Restricted execution policy blocks scripts with a security or policy error, not 0x80070002, which signals a missing file or path. Tempting because execution policy genuinely prevents PowerShell scripts from running, and Set-ExecutionPolicy would be the fix in that case.
Go deeper
Related to this question
Learn chapter
Enrolling Devices with Microsoft Intune
Key term
Windows 10
Windows 10 is a personal computer operating system developed by Microsoft that combines the familiarity of Windows 7 with the modern features of Windows 8, designed to run on a wide range of devices from desktops to tablets.
Key term
Intune
Microsoft Intune is a cloud-based service that helps organizations manage their users' devices and applications, ensuring security and compliance without needing to own or control the physical hardware.
About these practice questions
Courseiva writes every MD-102 question from scratch — 556 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Microsoft exam blueprint
This MD-102 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the MD-102 exam.