If you encounter the error message "The Windows Developer Mode package couldn't be found in Windows Update, so deployment and Windows Device Portal are unavailable" when trying to enable developer mode in Windows 10, there are a few steps you can take to resolve the issue:
Check Windows Update: Ensure that your Windows system is up to date. Go to "Settings" > "Update & Security" > "Windows Update" and click on "Check for updates." Install any pending updates and restart your computer if necessary.
Enable Developer Mode via Settings: Try enabling developer mode through the Windows Settings app. Follow these steps:
- Go to "Settings" > "Update & Security" > "For developers."
- Under the "Use developer features" section, select the "Developer mode" option.
Enable Developer Mode via Group Policy: If the above method doesn't work, you can try enabling developer mode using Group Policy. Here's how:
- Press Win + R to open the Run dialog box, then type
gpedit.mscand press Enter. - In the Local Group Policy Editor, navigate to "Computer Configuration" > "Administrative Templates" > "Windows Components" > "App Package Deployment."
- Double-click on "Allow all trusted apps to install."
- Select the "Enabled" option and click "Apply" and "OK."
- Restart your computer and try enabling developer mode again through the Settings app.
- Check Windows Developer Mode Package: If the issue persists, you can manually check if the Windows Developer Mode package is installed on your system. Follow these steps:
- Open PowerShell as an administrator.
- Run the following command to check if the Windows Developer Mode package is installed:
Get-WindowsCapability -Online | Where-Object {$_.Name -like "*DeveloperMode*"}
```
- If the package is not listed, you can try installing it using the following command:
```powershell
Add-WindowsCapability -Online -Name "DevTools~~" -LimitAccess
```
- Restart your computer and check if you can enable developer mode without encountering the error message.
also, you can check similar error:
[https://windows101tricks.com/fix-developer-mode-package-failed-install-error-0x80004005/](https://windows101tricks.com/fix-developer-mode-package-failed-install-error-0x80004005/)