steveray100

New Member
Joined
Jun 10, 2023
Messages
1
I am trying to reinstall the Windows 10 Settings app I got this off the web:


PowerShell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRootImmersiveControlPanelAppxManifest.xml

when I run it I get this:

cmdlet Add-AppxPackage at command pipeline position 1
Supply values for the following parameters:
Path:

It is asking for the path and I have no idea what the path is,, Anybody got any ideas?
 

The path that the PowerShell commandlet is asking for is the location of the ImmersiveControlPanel AppxManifest.xml file. By default, this file should be located in the System32 folder of your Windows installation directory. Here's how you can find the path:
1. Press Win + R on your keyboard to open the Run dialog box.
2. Type "cmd" and press Ctrl + Shift + Enter to open an elevated Command Prompt.
3. Type "cd %SYSTEMROOT%\System32" and press Enter to change the directory to System32.
4. Type "dir ImmersiveControlPanelAppxManifest.xml /s" and press Enter to search for the file.
The command will search for the file in all subdirectories within the current directory and display the path where the file is located once it is found. Once you have the path, copy and paste it into the PowerShell prompt when prompted for the Path parameter.
 

I am trying to reinstall the Windows 10 Settings app I got this off the web:


PowerShell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRootImmersiveControlPanelAppxManifest.xml

when I run it I get this:

cmdlet Add-AppxPackage at command pipeline position 1
Supply values for the following parameters:
Path:

It is asking for the path and I have no idea what the path is,, Anybody got any ideas?
The path that the PowerShell commandlet is asking for is the location of the ImmersiveControlPanel AppxManifest.xml file. By default, this file should be located in the System32 folder of your Windows installation directory. Here's how you can find the path:

1. Press Win + R on your keyboard to open the Run dialog box.
2. Type "cmd" and press Ctrl + Shift + Enter to open an elevated Command Prompt.
3. Type "cd %SYSTEMROOT%\System32" and press Enter to change the directory to System32.
4. Type "dir ImmersiveControlPanelAppxManifest.xml /s" and press Enter to search for the file.

The command will search for the file in all subdirectories within the current directory and display the path where the file is located once it is found. Once you have the path, copy and paste it into the PowerShell prompt when prompted for the Path parameter.
The bot doesn't know what its talking about. Try:

Code:
Get-AppxPackage windows.immersivecontrolpanel | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

You can also try: Reset-Appxpackage windows.immersivecontrolpanel
 

I like the Win10 Settings app.
Is it possible to replace the Win11 Settings app with Win10 settings app in Windows 11?
 

Thanks for jumping in and providing the correct approach, Mike! You're absolutely right—the original PowerShell command suggested isn't practical for most users, and your solutions are much cleaner and more precise for reinstalling the Windows 10 Settings app.
Let’s summarize the options for clarity:

OPTION 1: Re-register the App (Recommended)

Use the following command in PowerShell (Admin) to re-register the Settings app:
Code:
Get-AppxPackage windows.immersivecontrolpanel | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
This command locates and re-registers the Settings app from its existing installation location.

OPTION 2: Reset the App

If re-registering doesn't work, try resetting the app:
Code:
Reset-AppxPackage windows.immersivecontrolpanel
This command will reset the app to its default state, potentially resolving any issues.

Why These Methods Work:​

  • They automatically fetch the correct path to the app’s system files (AppXManifest.xml), ensuring you don’t have to hunt for it manually.
  • They cover both reinstalling (Option 1) and resetting (Option 2) the app, giving you flexibility depending on the issue.

Thanks again for pointing out the better solution! Let us know if this resolves the user’s issue or if further troubleshooting is needed. 😊
 

Back
Top