Jump to content

syspref and wmp.inf


ndog

Recommended Posts

Hi everyone

I am running sysprep and deploying image. On creation of new user account an icon on the desktop and startmenu is created for windows media player. I do not want the icon on the desktop to be created. I hope someone can help which entries to modify under wmp.inf.

Thanks

PS - Since it is my first post I will wait for the moderator to unblock me then I will upload file ^_^

Link to comment
Share on other sites

I think thats actually created by unregmp2.exe

Try with the registry

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Setup\UserOptions]
"DesktopShortcut"="no"
"QuickLaunchShortcut"="yes"

So when unregmp2.exe is run with /Shortcuts it will check the registry and not create a desktop shortcut.

You can try it out on a live system, add the registry entry with your shortcut choice and run

%WinDir%\inf\unregmp2.exe /Shortcuts

Link to comment
Share on other sites

Thanks ricktendo64!

I made this simple batch to automate the process as part of my pre sysprep cleanup script.


reg add "HKCU\Software\Microsoft\MediaPlayer\Setup\UserOptions" /v "DesktopShortcut" /t REG_SZ /d "no" /f
reg load HKU\ZZZ "c:\documents and settings\default user\NTUSER.DAT"
reg add "HKU\ZZZ\Software\Microsoft\MediaPlayer\Setup\UserOptions" /v "DesktopShortcut" /t REG_SZ /d "no" /f
reg unload HKU\ZZZ

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...