How can I prevent Windows Media Player (WMP) from processing HTML scripts contained within media files?

A. Microsoft Security Bulletin MS02-032 ("26 June 2002 Cumulative Patch for Windows Media Player") identifies several version-specific patches to secure WMP against script attacks. To manually disable WMP's HTML-processing feature, perform the following steps:

  1. Start a registry editor (e.g., regedit.exe).
  2. Navigate to the HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences subkey.
  3. From the Edit menu, select New, DWORD Value.
  4. Enter a name of PlayerScriptCommandsEnabled, then press Enter.
  5. Double-click the new value, set it to 0 to prevent WMP from processing HTML scripts in media files, then click OK.
  6. Close the registry editor.
  7. Restart WMP.
Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.