6

While installing WMP or Sony PC Companion, the installation gives the same error that is:

Note: The PkgMgr.exe has been deprecated. Please update your scripts to use dism.exe to extract, install, uninstall, configure and update features and packages for Windows.

Hennes
  • 64,768
  • 7
  • 111
  • 168
Amol Agrawal
  • 61
  • 1
  • 1
  • 3

3 Answers3

2

Download this file to repair this problem: Media Feature Pack for N and KN versions of Windows 8.1

The Media Feature Pack for N and KN versions of Windows 8.1 will install Media Player and related technologies on a computer running Windows 8.1 N or Windows 8.1 KN editions. For further information, please see http://support.microsoft.com and query the Knowledge Base for the article number KB2835517.

Samir
  • 20,527
  • 74
  • 166
  • 226
user435398
  • 21
  • 2
0

Use these two commands with administrative privilege::

DISM /Online /Enable-Feature  /All /FeatureName:MediaPlayback /NoRestart
DISM /Online /Enable-Feature  /All /FeatureName:WindowsMediaPlayer /NoRestart

This will enable/install Windows media player feature. Or you may install Media Player in Optional Feature app. Run OptionalFeatures.exe & check Media Features.

Media Player Feature

Biswapriyo
  • 10,831
  • 10
  • 47
  • 78
0

PkgMgr.exe was added in Vista, but it is replaced by DISM since Windows 7 and now you get this message.

DISM replaces the ImageX tool which was deprecated in Windows 8. DISM also replaces Package Manager (Pkgmgr.exe), PEimg, and Intlcfg that were included in previous deployment toolkits. DISM also adds new functionality to improve the experience for offline servicing.

Post more details when you get this message.

magicandre1981
  • 97,301
  • 30
  • 179
  • 245
  • I understand but could you share some light as to how to avoid this error.? – Amol Agrawal Aug 19 '14 at 10:39
  • post more details. What are you doing? How do you install the WMP? – magicandre1981 Aug 19 '14 at 18:35
  • Well it all started when i started to connect my Xperia U to my Windows 8.1 PC and it did not get detected.Earlier no such problem had arrived but recently I had reformatted my system. Now i thought that it might be some driver problem so i downloaded Sony's PC Companion which downloaded MTP drivers.During installation of those drivers this exact error arises leaving me unable to complete the procedure. – Amol Agrawal Aug 20 '14 at 19:30
  • contact Sony so that they can change their setup – magicandre1981 Aug 21 '14 at 16:03