MD-102 Manage and maintain devices Practice Question
You manage Windows 10 devices with Microsoft Intune. You need to deploy a PowerShell script that runs every time a device boots, before the user logs on. The script is signed. What is the correct deployment approach?
⚠ Common exam trap
Candidates often confuse 'run at device startup' with 'run during app installation' (Option B) or assume proactive remediations (Option A) can be triggered at boot, when in fact only the PowerShell script deployment in Intune supports the exact 'device startup' trigger in system context.
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
✓
Deploy the script as a PowerShell script in Intune, configured to run in system context at device startup.
Intune's PowerShell script deployment supports running scripts in the system context at device startup, which executes before user logon. This meets the requirement for a signed script that runs every boot, leveraging the 'Run this script using the logged on credentials' option unchecked and 'Run script in 64-bit PowerShell Host' as needed.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use a proactive remediation script set to run at device startup.
Why it's wrong here
Proactive remediations run after user logon, not before.
- ✗
Package the script as a Win32 app and deploy it with installation behavior set to 'System'.
Why it's wrong here
Win32 apps run after user logon, not before.
- ✓
Deploy the script as a PowerShell script in Intune, configured to run in system context at device startup.
Why this is correct
This allows the script to run before user logon in system context.
- ✗
Add the script as a device configuration profile (OMA-URI).
Why it's wrong here
OMA-URI settings do not run scripts on boot.
Go deeper
Related to this question
Learn chapter
Introduction to Endpoint Management in Microsoft 365
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
This MD-102 question is part of Courseiva's 942-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.