Microsoft KB Archive/319251

= PRB: Windows Media Player Shortcuts Are Not Created for Users =

Article ID: 319251

Article Last Modified on 2/1/2007

-

APPLIES TO


 * Microsoft Windows Media Player 8.01
 * Microsoft Windows Media Player 8.01
 * Microsoft Windows Media Player 7.1
 * Microsoft Windows Media Player 7.0

-



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 &quot;Access Denied&quot; 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: '

On error resume next Set Shell = CreateObject(&quot;WScript.Shell&quot;) WindowsDir = Shell.Environment(&quot;PROCESS&quot;).Item(&quot;WINDIR&quot;)

DesktopPath = Shell.SpecialFolders(&quot;Desktop&quot;)

'wmplayer Set link = Shell.CreateShortcut(DesktopPath & &quot;\ WMPlayer 7x.lnk&quot;) link.Arguments = &quot;&quot; link.Description = &quot;Media Player 7x&quot; link.HotKey = &quot;CTRL+ALT+9&quot; link.IconLocation = WindowsDir+&quot;\..\Program Files\Windows Media Player\wmplayer.exe,0&quot; link.TargetPath = WindowsDir+&quot;\..\Program Files\Windows Media Player\wmplayer.exe&quot; link.WindowStyle = 1 link.Save

'mplayer2 Set link = Shell.CreateShortcut(DesktopPath & &quot;\Mplayer2.lnk&quot;) link.Arguments = &quot;&quot; link.Description = &quot;Shortcut to Windows Media Player V6.4&quot; link.HotKey = &quot;CTRL+ALT+6&quot; link.IconLocation = WindowsDir+&quot;\..\Program Files\Windows Media Player\mplayer2.exe,0&quot; link.TargetPath = WindowsDir+&quot;\..\Program Files\Windows Media Player\mplayer2.exe&quot; link.WindowStyle = 1 link.Save

'                     Execute the following command:

cscript createshorts.vbs





STATUS
This behavior is by design.

Keywords: kbprb KB319251

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.