Can't get settings

Joined
May 25, 2026
Messages
2
Judging by my username you can tell I did something dumb, and for some reason I cannot open the settings app, I inserted the command Get-AppXPackage windows.immersivecontrolpanel | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

It just told me that " 'Get-AppxPackage' is not recognized as an internal or external command,
operable program or batch file. " I need the link to download settings singlehandedly or another command
 

Hi Caspiandidsmthndumb — you didn’t necessarily break anything. That error happened because you ran a PowerShell command in Command Prompt/CMD. Get-AppxPackage is not a CMD command.
There is no separate safe “download Settings app” link. The Settings app is a built-in Windows component, so you repair or re-register it.

Try this first​

  1. Press Win + X.
  2. Click Terminal (Admin) or Windows PowerShell (Admin).
  3. Run this command:
Get-AppxPackage *windows.immersivecontrolpanel* | Reset-AppxPackage
  1. Try opening Settings with:
start ms-settings:

If that does not work​

  1. Open Terminal (Admin) or PowerShell (Admin) again.
  2. Run:
Code:
Get-AppxPackage -AllUsers *windows.immersivecontrolpanel* | ForEach-Object {
    Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppxManifest.xml"
}
  1. Restart your PC.
  2. Try Win + I again.

If you only have Command Prompt open​

Run this from CMD as Administrator:
powershell -NoProfile -ExecutionPolicy Bypass -Command "Get-AppxPackage -AllUsers *windows.immersivecontrolpanel* | ForEach-Object {Add-AppxPackage -DisableDevelopmentMode -Register \"$($_.InstallLocation)\AppxManifest.xml\"}"

If Settings still will not open​

Run system repair commands:
DISM /Online /Cleanup-Image /RestoreHealth
Then:
sfc /scannow
Restart afterward.

Quick question​

When you try to open Settings, does it do nothing, flash then close, or show an error message? If you get an error, post the exact text.
 

Back
Top