Question 7 of 495
mediumMultiple ChoiceObjective-mapped
220-1202 Practice Question: That a VBScript logon script that maps network…
A user reports that a VBScript logon script that maps network drives stopped working after a Windows update. The script uses the MapNetworkDrive method. Other scripts on the same computer work fine. What is the most likely cause?
⚠ Common exam trap
Many candidates assume a network or SMB protocol issue (Option D) because the script maps network drives, but the question explicitly states other scripts work, pointing to a scripting engine change rather than a network problem.
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 update disabled VBScript execution for security reasons.
Recent Windows updates have tightened security around legacy scripting hosts, including cscript.exe and wscript.exe. Specifically, Microsoft has introduced a default behavior that blocks VBScript execution via the Windows Script Host unless explicitly allowed by Group Policy or registry settings. Since the user reports that only the VBScript logon script fails while other scripts work, the most likely cause is that the update disabled VBScript execution, not that the script was deleted or that the script host was changed to PowerShell.
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 file was deleted by Windows Defender.
Why it's wrong here
While Windows Defender is designed to protect against malicious software, it typically does not silently delete legitimate logon scripts without specific user interaction or a definitive malware detection. If a script were deemed suspicious, Defender would more likely quarantine it, notify the user, or block its execution rather than outright deleting a file that is part of a standard logon process within an enterprise environment. Such an action would usually generate an alert in the Windows Security log or Defender's history.
- ✗
The update changed the default script host to PowerShell.
Why it's wrong here
Windows maintains specific file associations for different script types, and VBScript files (.vbs) are inherently associated with either `wscript.exe` (for GUI interaction) or `cscript.exe` (for command-line execution). A standard Windows update does not fundamentally alter these core system associations by reassigning the default script host for VBScript to PowerShell. PowerShell uses its own execution engine (`powershell.exe`) for .ps1 scripts, and these distinct script environments are not interchangeable by default through system updates.
- ✓
The update disabled VBScript execution for security reasons.
Why this is correct
Microsoft has progressively implemented stricter security measures, which include restricting or disabling VBScript execution in various contexts due to its historical use as an attack vector. Recent Windows updates can introduce or enforce Group Policy settings or registry changes that specifically disable VBScript execution, particularly for scripts originating from less trusted zones or those not explicitly signed. This security hardening aims to reduce the attack surface, preventing older, less secure scripting technologies from being exploited.
- ✗
The network share requires SMB 2.0, which is no longer supported.
Why it's wrong here
SMB 2.0 is a robust and widely supported network file sharing protocol that has been a standard in Windows environments for many years, succeeding the deprecated SMB 1.0. Therefore, the assertion that SMB 2.0 is no longer supported is incorrect; it remains fully functional and commonly used. Furthermore, if there were an issue with SMB connectivity, it would manifest as a general inability to access network shares and resources, affecting all network-dependent operations, not just the execution of a VBScript logon script specifically.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 24, 2026
This 220-1202 practice question is part of Courseiva's free CompTIA 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 220-1202 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.