Fix Developer Mode package failed to install Error code 0x80004005: This error indicates that the extra components required by the OS to enable additional debugging features in the Windows Device Portal or the Visual Studio could not be installed automatically. In Windows 10 Developer mode is used for testing applications which are developed by you. You can activate developer mode by going to Settings app > Update & security > For developers > Developer mode. But some of the users have reported that when they try to activate Developer Mode they receive the following error message:
Developer Mode package failed to install. Error code: 0x80004005
Well, this problem certainly doesn’t let you test your apps which can be kind of roadblock if you’re pretty serious about app development. So let’s see how to troubleshoot this issue in order to fix it.
Коригирайте пакета за режим на програмист, който не успя да инсталира код на грешка 0x80004005
Не забравяйте да създадете точка за възстановяване, в случай че нещо се обърка.
Method 1: Manually Install Developer Mode
1. Натиснете клавиша Windows + I, за да отворите Настройки на Windows.
2.Напред щракнете Система и изберете Приложения и функции.
3.Choose Manage Optional features under Apps & features on the top.
4. На следващия екран щракнете Add a feature.
5. Сега превъртете надолу, докато намерите Windows Developer Mode package and click on it then select Инсталирай.
6. Рестартирайте вашия компютър, за да запазите промените.
7. Натиснете клавиша Windows + X, след което изберете Команден ред (администратор).
8.Type the following command in cmd and hit Enter:
sc config debugregsvc start=auto sc start debugregsvc
9.Now go back to the ‘За програмисти‘ Settings page. Unfortunately, you will still see the error 0x80004005 but now you should be able to enable Windows Device Portal and the Device Discovery features.
Method 2: Disable Custom Microsoft Software Update Services (SUS)
1. Натиснете клавиша Windows + R, след което въведете „регентство” and hit Enter to open Registry Editor.
2. Навигирайте до следния ключ на системния регистър:
HKEY_LOCAL_MACHINESOFTWAREПолитикиMicrosoftWindowsWindowsUpdateAU
3.Now double click the key Използвайте WUServer in the right window pane and set it’s value to 0 in order to disable UseWUServer.
4. Натиснете Windows Key + X след това щракнете върху Команден ред (Admin).
5.Now type the following command one by one and hit Enter after each one:
net stop wuauserv net stop bits net stop cryptsvc net start wuauserv net stop bits net stop cryptsvc
6. Затворете командния ред и рестартирайте компютъра си, за да запазите промените.
Препоръчително за теб:
Това е, което имате успешно Коригирайте пакета за режим на програмист, който не успя да инсталира код на грешка 0x80004005 but if you still have questions regarding this guide please feel free to ask them in the comment’s section.