From Newsgroup: alt.comp.os.windows-10
Maria Sophia wrote:
Re-registering Settings app packages
powershell -ExecutionPolicy Unrestricted Get-AppxPackage *windows.immersivecontrolpanel* | Reset-AppxPackage
Trying these, one by one, and documenting the results so that others will benefit, Reset-AppxPackage apparently does not exist in Windows 10 or
Windows 11 PowerShell. It apparently only exists in Windows Sandbox /
Windows PE internal builds, not consumer Windows.
This is apparently a better command for Windows 10 and 11 users.
Re-register the Settings app
Get-AppxPackage *immersivecontrolpanel* | Foreach { Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml" }
Reinstalling all built-in Windows apps
Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
This gives me errors, but the command is apparently the correct syntax.
NOTE: For additional information, look for [ActivityId] b19babe2-178d-0000-e319-a2b18d17dd01
in the Event Log or use the command line Get-AppPackageLog -ActivityID
b19babe2-178d-0000-e319-a2b18d17dd01
At line:1 char:37
+ ... s| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (C:\Program File...ppXManifest.xml:String) [Add-A
ppxPackage], Exception
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.
AddAppxPackageCommand
This may be a better fix.
Get-AppxPackage -AllUsers | Foreach { Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml" }
Get-AppxPackage *networkux* | Foreach { Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml" }
But even so, this folder does not exist:
C:\Windows\SystemApps\Microsoft.Windows.NetworkUX_8wekyb3d8bbwe
There is nothing reported when I run a search for
dir C:\Windows\SystemApps\Microsoft.Windows.NetworkUX_*
But there are plenty of other folders in that area:
dir C:\Windows\SystemApps\Microsoft.Wind*
The list shows many Windows system apps, but NetworkUX is missing.
Apparently NetworkUX does the exact things that are broken:
1. draws the network icon
2. shows Wi-Fi and Ethernet status
3. opens the network flyout
4. integrates with the taskbar
5. connects Settings > Network & Internet
6. handles network notifications
So I think Rufus/MCT are in my future.... :(
Checking for corrupted registry entries under:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Settings\Network
How do you check for corrupted entries?
Most registry entries are gibberish to a human eye.
Checking for corrupted registry entries under:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Settings\Network
Seriously. How do you check for corrupted entries?
Most registry entries are gibberish to a human eye.
I guess we're supposed to look for and identify
a. Missing keys
b. Empty keys
c. Keys with obviously invalid paths
d. Keys pointing to missing DLLs or EXEs
e. Keys referencing missing SystemApps folders
But that's probably an exercise in futility.
Note that it is not simply a missing inf file...
a. netvwifibus.inf
b. netvmini.inf
c. netwtw06.inf (Intel)
d. bcmwl63.inf (Broadcom)
f. rtwlane.inf (Realtek)
I need to download the MCT and use Rufus to make a repair flash.
<
https://www.microsoft.com/software-download/windows10>
a. Media Creation Tool
b. Upgrade this PC now
c. Keep files and apps
Note that this will wipe out *everything* in C:\Program Files which is a
key reason I install *nothing* in directories that Microsoft knows about.
All my installations are in C:\apps\{archivers,browsers,cleaners,etc.}
To recover from the media creation tool is easy when you install
nothing into the directories that Microsoft expects things to be.
--
I strive to add technical value, if possible, with every post to Usenet.
--- Synchronet 3.22a-Linux NewsLink 1.2