PRB: Windows Media Player Shortcuts Are Not Created for Users (319251)
The information in this article applies to:
- Microsoft Windows Media Player for Windows XP Home Edition
- Microsoft Windows Media Player for Windows XP Professional
- Microsoft Windows Media Player 7.1
- Microsoft Windows Media Player 7
This article was previously published under Q319251 SYMPTOMS
Windows Media Player shortcuts are created for administrators and power users when they log in for the first time on a system with Windows Media Player already installed. If the user is a member of the Users group, the shortcuts are not created.
CAUSE
When a new user logs in for the first time, Unregmp2.exe attempts to create the HKLM\Software\Microsoft\MediaPlayer registry key. If the key already exists, Unregmp2.exe opens it and requests KEY_SET_VALUE and KEY_QUERY_VALUE access. Because members of the Users group don't have KEY_SET_VALUE access, an "Access Denied" error is returned and the Unregmp2.exe process terminates without creating the shortcuts.
RESOLUTION
Manually create the shortcuts for users in the Users group.
WORKAROUND
You can use the following steps to work around this problem:
- Create a Visual Basic script file called Createshorts.vbs that contains the following:
'<SCRIPT LANGUAGE="VBScript">
On error resume next
Set Shell = CreateObject("WScript.Shell")
WindowsDir = Shell.Environment("PROCESS").Item("WINDIR")
DesktopPath = Shell.SpecialFolders("Desktop")
'wmplayer
Set link = Shell.CreateShortcut(DesktopPath & "\ WMPlayer 7x.lnk")
link.Arguments = ""
link.Description = "Media Player 7x"
link.HotKey = "CTRL+ALT+9"
link.IconLocation = WindowsDir+"\..\Program Files\Windows Media Player\wmplayer.exe,0"
link.TargetPath = WindowsDir+"\..\Program Files\Windows Media Player\wmplayer.exe"
link.WindowStyle = 1
link.Save
'mplayer2
Set link = Shell.CreateShortcut(DesktopPath & "\Mplayer2.lnk")
link.Arguments = ""
link.Description = "Shortcut to Windows Media Player V6.4"
link.HotKey = "CTRL+ALT+6"
link.IconLocation = WindowsDir+"\..\Program Files\Windows Media Player\mplayer2.exe,0"
link.TargetPath = WindowsDir+"\..\Program Files\Windows Media Player\mplayer2.exe"
link.WindowStyle = 1
link.Save
'</script>
- Execute the following command:
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 11/25/2003 |
---|
Keywords: | kbprb KB319251 |
---|
|