Windows 10: Powershell Get-AppxPackage DNS issues

Discus and support Powershell Get-AppxPackage DNS issues in Windows 10 BSOD Crashes and Debugging to solve the problem; Hello My cousin had some issues with Game Pass and found around internet that he could try to type below command in powershell: Get-AppxPackage... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by WindowsUserDX, Feb 5, 2021.

  1. Powershell Get-AppxPackage DNS issues


    Hello


    My cousin had some issues with Game Pass and found around internet that he could try to type below command in powershell:

    Get-AppxPackage -AllUsers Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$$_.InstallLocation\AppXManifest.xml”}

    After doing this his PC is breaking Internet connection, that "DNS server is not responding" and overall can't use his PC.


    Any Powershell command he could try to fix this? Or should he just format and reinstall Windows?


    Thank you

    :)
     
    WindowsUserDX, Feb 5, 2021
    #1
  2. OneMoar Win User

    Windows 10 Tweaks

    @W1zzard looks like the hashing/version is different on some systems
    this syntax works better
    powershell "Get-AppxPackage *3d* | Remove-AppxPackage"
    powershell "Get-AppxPackage *bing* | Remove-AppxPackage"
    powershell "Get-AppxPackage *solit* | Remove-AppxPackage"
    powershell "Get-AppxPackage *people* | Remove-AppxPackage"
    powershell "Get-AppxPackage *zune* | Remove-AppxPackage"
    powershell "Get-AppxPackage *photos* | Remove-AppxPackage"
    powershell "Get-AppxPackage *phone* | Remove-AppxPackage"
    powershell "Get-AppxPackage *communi* | Remove-AppxPackage"
    someone already compiled all the tweaks listed into a handy choice driven .cmd file
    you can get that from here
    http://forums.mydigitallife.info/threads/63498-Windows-10-TNBT-(The-next-big-tweak)-official-thread
     
    OneMoar, Feb 5, 2021
    #2
  3. AsRock Win User
    Windows 10 Tweaks

    I will have to agree, as when i upgraded the fixes work and now i am using a clean install none of them work except onedrive.
     
    AsRock, Feb 5, 2021
    #3
  4. Powershell Get-AppxPackage DNS issues

    Malformed PowerShell command Get-AppXPackage error

    I have tried all of the suggested corrections for a start menu that is not working. The last command in the most reasonable suggestion uses as it's last two statements PowerShell and the one listed below. I have tried
    this command several times, making sure there are no typing errors and every time I get the Error message below. Is there any way to repair the database disk image which is indicated as "malformed"?

    ========================================================================================

    S C:\WINDOWS\system32> Get-AppXPackage -AllUsers |Where-Object {$_.InstallLocation -like "*SystemApps*"} | Foreach {Add

    >>> -AppxPackage -DesableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

    Get-AppXPackage : The database disk image is malformed

    The database disk image is malformed

    At line:1 char:1

    + Get-AppXPackage -AllUsers |Where-Object {$_.InstallLocation -like "*S ...

    + ~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo
    : NotSpecified: Powershell Get-AppxPackage DNS issues :)) [Get-AppxPackage], Exception

    + FullyQualifiedErrorId : Syste
     
    Jo B.Taylor, Feb 5, 2021
    #4
Thema:

Powershell Get-AppxPackage DNS issues

Loading...
  1. Powershell Get-AppxPackage DNS issues - Similar Threads - Powershell AppxPackage DNS

  2. what does the powershell command Get-AppXPackage Foreach {Add-AppxPackage...

    in Windows 10 Software and Apps
    what does the powershell command Get-AppXPackage Foreach {Add-AppxPackage...: I'm having a file system error with my c drive and opening apps from the windows apps folder. I saw this command while searching for an answer. what specifically does it do?Get-AppXPackage Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$$_....
  3. what does the powershell command Get-AppXPackage Foreach {Add-AppxPackage...

    in Windows 10 Gaming
    what does the powershell command Get-AppXPackage Foreach {Add-AppxPackage...: I'm having a file system error with my c drive and opening apps from the windows apps folder. I saw this command while searching for an answer. what specifically does it do?Get-AppXPackage Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$$_....
  4. Blue screen/powershell crash caused by Get-AppxPackage CoffeeStainStudios.DeepRockGalactic...

    in Windows 10 Gaming
    Blue screen/powershell crash caused by Get-AppxPackage CoffeeStainStudios.DeepRockGalactic...: This in reference to my on-going computer issues: Powershell errorsBased upon the admin.'s suggestion they said it was a PCI-E GPU error hardware. So last night, I decided to disconnect my RTX 4060 and remove all the Nvidia files and drivers associated with it. My computer is...
  5. Blue screen/powershell crash caused by Get-AppxPackage CoffeeStainStudios.DeepRockGalactic...

    in Windows 10 Software and Apps
    Blue screen/powershell crash caused by Get-AppxPackage CoffeeStainStudios.DeepRockGalactic...: This in reference to my on-going computer issues: Powershell errorsBased upon the admin.'s suggestion they said it was a PCI-E GPU error hardware. So last night, I decided to disconnect my RTX 4060 and remove all the Nvidia files and drivers associated with it. My computer is...
  6. PowerShell Get-Appxpackage Access Denied, Not recognized or Not working

    in Windows 10 News
    PowerShell Get-Appxpackage Access Denied, Not recognized or Not working: [ATTACH]Get-Appxpackage is a PowerShell command that can display a list of the app packages that are installed in a user profile. It includes all the applications that are installed from the Microsoft Store or third-party apps. When using the command, if you receive an error—...
  7. How to reinstall appxpackage when the powershell not working?

    in Microsoft Windows 10 Store
    How to reinstall appxpackage when the powershell not working?: As I always do with running administrator in powershell, and removing whole appxpackage using command: get-appxpackage ++ remove-appxpackage after that will reinstall specific apps example like Microsoft store using command: Get-AppxPackage -allusers...
  8. Powershell Get-AppxPackage command not recognized

    in Windows 10 BSOD Crashes and Debugging
    Powershell Get-AppxPackage command not recognized: I'm using Windows 10 Pro. In powershell run as administrator when I try to run this command: Get-AppxPackage -allusers foreach {Add-AppxPackage -register "$$_.InstallLocation\ I get this error: Get-AppxPackage : The term 'Get-AppxPackage' is not recognized as the name...
  9. Unable to use get-appxpackage command in powershell

    in Windows 10 Installation and Upgrade
    Unable to use get-appxpackage command in powershell: While using the command I get this: [IMG] https://answers.microsoft.com/en-us/windows/forum/windows_10-windows_install/unable-to-use-get-appxpackage-command-in/215276a3-d0dc-4673-99f0-c8102ddee597
  10. Command "Get-AppxPackage" not recognized

    in Windows 10 Software and Apps
    Command "Get-AppxPackage" not recognized: I am trying to uninstall all W10 built in Apps. I am using an Admin power shell with cmd, i.e. "Get-AppxPackage *3dbuilder* | Remove-AppxPackage" but I get a response saying that "Get-AppxPackage" is not recognized. I have checked the forum but cannot find a problem like...