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?
Trap 1: The script file was deleted by Windows Defender.
Windows Defender does not delete scripts without user interaction unless they are detected as malware.
Trap 2: The update changed the default script host to PowerShell.
The default script host for .vbs files remains cscript or wscript; it is not changed by updates.
Trap 3: The network share requires SMB 2.0, which is no longer supported.
SMB 2.0 is still supported; this would affect all drive mappings, not just VBScript.
- A
The script file was deleted by Windows Defender.
Why wrong: Windows Defender does not delete scripts without user interaction unless they are detected as malware.
- B
The update changed the default script host to PowerShell.
Why wrong: The default script host for .vbs files remains cscript or wscript; it is not changed by updates.
- C
The update disabled VBScript execution for security reasons.
Microsoft has been disabling VBScript by default in some updates to improve security.
- D
The network share requires SMB 2.0, which is no longer supported.
Why wrong: SMB 2.0 is still supported; this would affect all drive mappings, not just VBScript.