Reinstall all the Windows 10 Default Apps with Batch Script

Page 1 of 2 12 LastLast

  1. Posts : 5,382
    Windows 11 Pro 64-bit
       #1

    Reinstall all the Windows 10 Default Apps with Batch Script


    With this batch script you can re-install and re-register all the default apps that are shipped with Windows 10.


    Code:
    :: Reinstall and Re-register All Built-in Windows Apps in Windows 10
    
    
    @Echo Off & Color 0E
    
    
    (Net session >nul 2>&1)||(PowerShell start """%~0""" -verb RunAs & Exit /B)
    
    
    
    :Choice
    Cls 
    Echo.
    Echo 1. Reinstall and Re-Register All Windows Apps for Current Account Only
    Echo.
    Echo 2. Reinstall and Re-Register All Windows Apps for All Accounts
    Echo.
    Echo 3. Reinstall and Re-Register 3D Builder
    Echo.
    Echo 4. Reinstall and Re-Register 3D Viewer
    Echo.
    Echo 5. Reinstall and Re-Register Alarms and Clock
    Echo.
    Echo 6. Reinstall and Re-Register App Connector
    Echo.
    Echo 7. Reinstall and Re-Register Calculator
    Echo.
    Echo 8. Reinstall and Re-Register Calendar and Mail
    Echo.
    Echo 9. Reinstall and Re-Register Camera
    Echo.
    Echo 10. Reinstall and Re-Register Candy Crush Soda Saga
    Echo.
    Echo 11. Reinstall and Re-Register Connect
    Echo.
    Echo 12. Reinstall and Re-Register Contact Support
    Echo.
    Echo 13. Reinstall and Re-Register Cortana
    Echo.
    Echo 14. Reinstall and Re-Register Drawboard PDF
    Echo.
    Echo 15. Reinstall and Re-Register Feedback Hub
    Echo.
    Echo 16. Reinstall and Re-Register Get Help
    Echo.
    Echo 17. Reinstall and Re-Register Get Office
    Echo.
    Echo 18. Reinstall and Re-Register Get Started
    Echo.
    Echo 19. Reinstall and Re-Register Groove Music
    Echo.
    Echo 20. Reinstall and Re-Register Mail and Calendar
    Echo.
    Echo 21. Reinstall and Re-Register Maps
    Echo.
    Echo 22. Reinstall and Re-Register Messaging
    Echo.
    Echo 23. Reinstall and Re-Register Microsoft Edge
    Echo.
    Echo 24. Reinstall and Re-Register Microsoft Solitaire Collection
    Echo.
    Echo 25. Reinstall and Re-Register Microsoft Store
    Echo.
    Echo 26. Reinstall and Re-Register Microsoft Whiteboad
    Echo.
    Echo 27. Reinstall and Re-Register Mixed Reality Portal
    Echo.
    Echo 28. Reinstall and Re-Register Money
    Echo.
    Echo 29. Reinstall and Re-Register Movies and TV
    Echo.
    Echo 30. Reinstall and Re-Register News
    Echo.
    Echo 31. Reinstall and Re-Register OneDrive 
    Echo.
    Echo 32. Reinstall and Re-Register OneNote
    Echo.
    Echo 33. Reinstall and Re-Register Paint 3D
    Echo.
    Echo 34. Reinstall and Re-Register People
    Echo.
    Echo 35. Reinstall and Re-Register Phone
    Echo.
    Echo 36. Reinstall and Re-Register Phone Companion
    Echo.
    Echo 37. Reinstall and Re-Register Photos
    Echo.
    Echo 38. Reinstall and Re-Register Settings
    Echo.
    Echo 39. Reinstall and Re-Register Skype
    Echo.
    Echo 40. Reinstall and Re-Register Snip and Sketch
    Echo.
    Echo 41. Reinstall and Re-Register Sports
    Echo.
    Echo 42. Reinstall and Re-Register Sticky Notes
    Echo.
    Echo 43. Reinstall and Re-Register Sway
    Echo.
    Echo 44. Reinstall and Re-Register Tips
    Echo.
    Echo 45. Reinstall and Re-Register Twitter
    Echo.
    Echo 46. Reinstall and Re-Register Voice Recorder
    Echo.
    Echo 47. Reinstall and Re-Register Weather
    Echo.
    Echo 48. Reinstall and Re-Register Xbox Console Companion
    Echo.
    Echo 49. Reinstall and Re-Register Xbox Game Bar
    Echo.
    Echo 50. Reinstall and Re-Register Xbox One SmartGlass
    Echo.
    Echo 51. Reinstall and Re-Register Your Phone
    Echo.
    
    Set /p input= Type a number: 
    
    If %input%==1 Goto :Current
    If %input%==2 Goto :All
    If %input%==3 Goto :3DBuilder
    If %input%==4 Goto :3DViewer
    If %input%==5 Goto :Alarms
    If %input%==6 Goto :Connector
    If %input%==7 Goto :Calculator
    If %input%==8 Goto :Communications
    If %input%==9 Goto :Camera
    If %input%==10 Goto :Candy
    If %input%==11 Goto :PPIProjection
    If %input%==12 Goto :ContactSupport
    If %input%==13 Goto :Cortana
    If %input%==14 Goto :DrawboardPDF
    If %input%==15 Goto :FeedbackHub
    If %input%==16 Goto :ContactSupport
    If %input%==17 Goto :Office
    If %input%==18 Goto :GetStarted
    If %input%==19 Goto :ZuneMusic
    If %input%==20 Goto Communicationsapps
    If %input%==21 Goto :Maps
    If %input%==22 Goto :Messaging
    If %input%==23 Goto :Edge
    If %input%==24 Goto :Solitaire
    If %input%==25 Goto :Store
    If %input%==26 Goto :Whiteboard
    If %input%==27 Goto :MixedReality
    If %input%==28 Goto :BingFinance
    If %input%==29 Goto :ZuneVideo
    If %input%==30 Goto :BingNews
    If %input%==31 Goto :OneDrive
    If %input%==32 Goto :OneNote
    If %input%==33 Goto :MSPaint
    If %input%==34 Goto :People
    If %input%==35 Goto :Phone
    If %input%==36 Goto :WindowsPhone
    If %input%==37 Goto :Photos
    If %input%==38 Goto :Settings
    If %input%==39 Goto :Skype
    If %input%==40 Goto :ScreenSketch
    If %input%==41 Goto :BingSports
    If %input%==42 Goto :StickyNotes
    If %input%==43 Goto :Sway
    If %input%==44 Goto :Tips
    If %input%==45 Goto :Twitter
    If %input%==46 Goto :SoundRecorder
    If %input%==47 Goto :Weather
    If %input%==48 Goto :XboxApp
    If %input%==49 Goto :XboxGamingOverlay
    If %input%==50 Goto :XboxOneSmartGlass
    If %input%==51 Goto :YourPhone
    
    Goto :EOF
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    :Current
    
    Cd %TMP%
    
    Echo Get-AppXPackage ^| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} > Current.ps1
    
    Powershell -ExecutionPolicy ByPass -File Current.ps1
    
    Del Current.ps1
    
    Goto :Choice
    :All
    
    Cd %TMP%
    
    Echo Get-AppXPackage -AllUsers ^| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} > All.ps1
    
    Powershell -ExecutionPolicy ByPass -File All.ps1
    
    Del All.ps1
    
    Goto :Choice
    
    
    :3DBuilder
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *3DBuilder*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Goto :Choice
    
    
    :3DViewer
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft3DViewer*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Goto :Choice
    
    :Alarms
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsAlarms*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Goto :Choice
    
    
    :Connector
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *AppConnector*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Goto :Choice
    
    :Calculator
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsCalculator*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Goto :Choice
    
    :Communications
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *windowscommunicationsapps*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Goto :Choice
    
    
    :Camera
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsCamera*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Goto :Choice
    
    
    :Candy
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *CandyCrushSodaSaga*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Goto :Choice
    
    
    :PPIProjection
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *PPIProjection*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Goto :Choice
    
    
    :ContactSupport
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *ContactSupport*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Goto :Choice
    
    
    :Cortana
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Windows.Cortana*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Goto :Choice
    
    
    :DrawboardPDF
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *DrawboardPDF*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Goto :Choice
    
    
    :FeedbackHub
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsFeedbackHub*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Goto :Choice
    
    
    :ContactSupport
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *ContactSupport*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    :Office
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *MicrosoftOfficeHub*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Goto :Choice
    
    :GetStarted
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *GetStarted*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    :ZuneMusic
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *ZuneMusic*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    
    :Communicationsapps
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *windowscommunicationsapps*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    :Maps
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsMaps*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Goto :Choice
    
    :Messaging
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Messaging*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    :Edge
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *MicrosoftEdge*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    :Solitaire
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *MicrosoftSolitaireCollection*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    
    :Store
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsStore*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    
    Goto :Choice
    
    
    :Whiteboard
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft.Whiteboard*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    
    :MixedReality
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft.MixedReality.Portal*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    :BingFinance
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *BingFinance*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    :ZuneVideo
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *ZuneVideo*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    
    :BingNews
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *BingNews*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    
    :OneDrive
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *microsoft.microsoftskydrive*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    
    :OneNote
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Office.OneNote*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    
    :MSPaint
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *MSPaint*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    :People
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *People*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    :Phone
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *CommsPhone*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    :WindowsPhone
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsPhone*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    :Photos
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Photos*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    
    :Settings
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *immersivecontrolpanel*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    
    :Skype
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *SkypeApp*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    :ScreenSketch
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft.ScreenSketch*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Goto :Choice
    
    
    :BingSports
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *BingSports*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    
    :StickyNotes
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *MicrosoftStickyNotes*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    
    :Sway
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Office.Sway*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    
    :Tips
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft.Getstarted*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    :Twitter
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Twitter*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    
    :SoundRecorder
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsSoundRecorder*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    
    :Weather
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *BingWeather*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    
    Goto :Choice
    
    
    :XboxApp
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *XboxApp*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    
    Goto :Choice
    
    
    :XboxGamingOverlay
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft.XboxGamingOverlay*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    
    Goto :Choice
    
    
    :XboxOneSmartGlass
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *XboxOneSmartGlass*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Goto :Choice
    
    
    :YourPhone
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft.YourPhone*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Goto :Choice

    Reinstall and Re-register Apps in Windows 10

    <a href="!3175!tutorials/3175-reinstall-re-register-apps-windows-10-a.html" target="_blank">
    Reinstall all the Windows 10 Default Apps with Batch Script Attached Files
    Last edited by FreeBooter; 08 Apr 2020 at 14:34.
      My Computer


  2. Posts : 1,793
    Windows 10 Pro
       #2

    FreeBooter said:
    With this batch script you can re-install and re-register all the default apps that are shipped with Windows 10.


    Code:
    :: Reinstall and Re-register All Built-in Windows Apps in Windows 10
    
    
    @Echo Off & Color 0E
    
    
    net sess>nul 2>&1||(powershell start cmd -ArgumentList """/c %~0""" -verb Runas & exit)
    
    Cls 
    Echo.
    Echo 1. Reinstall and Re-Register All Windows Apps for Current Account Only
    Echo.
    Echo 2. Reinstall and Re-Register All Windows Apps for All Accounts
    Echo.
    Echo 3. Reinstall and Re-Register 3D Builder
    Echo.
    Echo 4. Reinstall and Re-Register 3D Viewer
    Echo.
    Echo 5. Reinstall and Re-Register Alarms and Clock
    Echo.
    Echo 6. Reinstall and Re-Register App Connector
    Echo.
    Echo 7. Reinstall and Re-Register Calculator
    Echo.
    Echo 8. Reinstall and Re-Register Calendar and Mail
    Echo.
    Echo 9. Reinstall and Re-Register Camera
    Echo.
    Echo 10. Reinstall and Re-Register Candy Crush Soda Saga
    Echo.
    Echo 11. Reinstall and Re-Register Connect
    Echo.
    Echo 12. Reinstall and Re-Register Contact Support
    Echo.
    Echo 13. Reinstall and Re-Register Cortana
    Echo.
    Echo 14. Reinstall and Re-Register Drawboard PDF
    Echo.
    Echo 15. Reinstall and Re-Register Feedback Hub
    Echo.
    Echo 16. Reinstall and Re-Register Get Help
    Echo.
    Echo 17. Reinstall and Re-Register Get Office
    Echo.
    Echo 18. Reinstall and Re-Register Get Started
    Echo.
    Echo 19. Reinstall and Re-Register Groove Music
    Echo.
    Echo 20. Reinstall and Re-Register Mail and Calendar
    Echo.
    Echo 21. Reinstall and Re-Register Maps
    Echo.
    Echo 22. Reinstall and Re-Register Messaging
    Echo.
    Echo 23. Reinstall and Re-Register Microsoft Edge
    Echo.
    Echo 24. Reinstall and Re-Register Microsoft Solitaire Collection
    Echo.
    Echo 25. Reinstall and Re-Register Microsoft Store
    Echo.
    Echo 26. Reinstall and Re-Register Microsoft Whiteboad
    Echo.
    Echo 27. Reinstall and Re-Register Mixed Reality Portal
    Echo.
    Echo 28. Reinstall and Re-Register Money
    Echo.
    Echo 29. Reinstall and Re-Register Movies and TV
    Echo.
    Echo 30. Reinstall and Re-Register News
    Echo.
    Echo 31. Reinstall and Re-Register OneDrive 
    Echo.
    Echo 32. Reinstall and Re-Register OneNote
    Echo.
    Echo 33. Reinstall and Re-Register Paint 3D
    Echo.
    Echo 34. Reinstall and Re-Register People
    Echo.
    Echo 35. Reinstall and Re-Register Phone
    Echo.
    Echo 36. Reinstall and Re-Register Phone Companion
    Echo.
    Echo 37. Reinstall and Re-Register Photos
    Echo.
    Echo 38. Reinstall and Re-Register Settings
    Echo.
    Echo 39. Reinstall and Re-Register Skype
    Echo.
    Echo 40. Reinstall and Re-Register Snip and Sketch
    Echo.
    Echo 41. Reinstall and Re-Register Sports
    Echo.
    Echo 42. Reinstall and Re-Register Sticky Notes
    Echo.
    Echo 43. Reinstall and Re-Register Sway
    Echo.
    Echo 44. Reinstall and Re-Register Tips
    Echo.
    Echo 45. Reinstall and Re-Register Twitter
    Echo.
    Echo 46. Reinstall and Re-Register Voice Recorder
    Echo.
    Echo 47. Reinstall and Re-Register Weather
    Echo.
    Echo 48. Reinstall and Re-Register Xbox Console Companion
    Echo.
    Echo 49. Reinstall and Re-Register Xbox Game Bar
    Echo.
    Echo 50. Reinstall and Re-Register Xbox One SmartGlass
    Echo.
    Echo 51. Reinstall and Re-Register Your Phone
    Echo.
    
    Set /p input= Type a number: 
    
    If %input%==1 Goto :Current
    If %input%==2 Goto :All
    If %input%==3 Goto :3DBuilder
    If %input%==4 Goto :3DViewer
    If %input%==5 Goto :Alarms
    If %input%==6 Goto :Connector
    If %input%==7 Goto :Calculator
    If %input%==8 Goto :Communications
    If %input%==9 Goto :Camera
    If %input%==10 Goto :Candy
    If %input%==11 Goto :PPIProjection
    If %input%==12 Goto :ContactSupport
    If %input%==13 Goto :Cortana
    If %input%==14 Goto :DrawboardPDF
    If %input%==15 Goto :FeedbackHub
    If %input%==16 Goto :ContactSupport
    If %input%==17 Goto :Office
    If %input%==18 Goto :GetStarted
    If %input%==19 Goto :ZuneMusic
    If %input%==20 Goto Communicationsapps
    If %input%==21 Goto :Maps
    If %input%==22 Goto :Messaging
    If %input%==23 Goto :Edge
    If %input%==24 Goto :Solitaire
    If %input%==25 Goto :Store
    If %input%==26 Goto :Whiteboard
    If %input%==27 Goto :MixedReality
    If %input%==28 Goto :BingFinance
    If %input%==29 Goto :ZuneVideo
    If %input%==30 Goto :BingNews
    If %input%==31 Goto :OneDrive
    If %input%==32 Goto :OneNote
    If %input%==33 Goto :MSPaint
    If %input%==34 Goto :People
    If %input%==35 Goto :Phone
    If %input%==36 Goto :WindowsPhone
    If %input%==37 Goto :Photos
    If %input%==38 Goto :Settings
    If %input%==39 Goto :Skype
    If %input%==40 Goto :ScreenSketch
    If %input%==41 Goto :BingSports
    If %input%==42 Goto :StickyNotes
    If %input%==43 Goto :Sway
    If %input%==44 Goto :Tips
    If %input%==45 Goto :Twitter
    If %input%==46 Goto :SoundRecorder
    If %input%==47 Goto :Weather
    If %input%==48 Goto :XboxApp
    If %input%==49 Goto :XboxGamingOverlay
    If %input%==50 Goto :XboxOneSmartGlass
    If %input%==51 Goto :YourPhone
    
    Goto :EOF
    
    
    :Current
    
    PowerShell Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
    
    Exit
    
    :All
    
    PowerShell Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
    
    Exit
    
    :3DBuilder
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *3DBuilder*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Exit
    
    :3DViewer
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft3DViewer*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Exit
    
    
    :Alarms
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsAlarms*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Exit
    
    :Connector
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *AppConnector*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Exit
    
    
    :Calculator
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsCalculator*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Exit
    
    
    :Communications
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *windowscommunicationsapps*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Exit
    
    :Camera
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsCamera*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Exit
    
    :Candy
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *CandyCrushSodaSaga*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Exit
    
    :PPIProjection
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *PPIProjection*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Exit
    
    :ContactSupport
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *ContactSupport*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Exit
    
    :Cortana
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Windows.Cortana*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Exit
    
    :DrawboardPDF
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *DrawboardPDF*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Exit
    
    :FeedbackHub
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsFeedbackHub*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Exit
    
    :ContactSupport
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *ContactSupport*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    :Office
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *MicrosoftOfficeHub*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Exit
    
    
    :GetStarted
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *GetStarted*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    :ZuneMusic
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *ZuneMusic*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    :Communicationsapps
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *windowscommunicationsapps*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    :Maps
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsMaps*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Exit
    
    
    :Messaging
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Messaging*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    :Edge
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *MicrosoftEdge*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    :Solitaire
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *MicrosoftSolitaireCollection*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    :Store
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsStore*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    
    Exit
    
    
    
    :Whiteboard
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft.Whiteboard*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    
    :MixedReality
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft.MixedReality.Portal*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    :BingFinance
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *BingFinance*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    :ZuneVideo
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *ZuneVideo*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    
    :BingNews
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *BingNews*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    
    :OneDrive
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *microsoft.microsoftskydrive*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    
    :OneNote
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Office.OneNote*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    
    :MSPaint
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *MSPaint*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    :People
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *People*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    :Phone
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *CommsPhone*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    :WindowsPhone
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsPhone*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    :Photos
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Photos*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    
    :Settings
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *immersivecontrolpanel*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    
    :Skype
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *SkypeApp*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    :ScreenSketch
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft.ScreenSketch*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    Exit
    
    
    
    :BingSports
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *BingSports*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    
    :StickyNotes
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *MicrosoftStickyNotes*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    
    :Sway
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Office.Sway*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    
    :Tips
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft.Getstarted*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    :Twitter
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Twitter*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    
    :SoundRecorder
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsSoundRecorder*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    
    :Weather
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *BingWeather*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    
    Exit
    
    
    
    :XboxApp
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *XboxApp*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    
    Exit
    
    
    
    :XboxGamingOverlay
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft.XboxGamingOverlay*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    
    Exit
    
    
    
    :XboxOneSmartGlass
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *XboxOneSmartGlass*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    
    
    Exit
    
    
    
    :YourPhone
    
    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Microsoft.YourPhone*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"

    Reinstall and Re-register Apps in Windows 10
    When would I need to run this script?
      My Computers


  3. Posts : 5,382
    Windows 11 Pro 64-bit
    Thread Starter
       #3

    x509 said:
    When would I need to run this script?
    When apps wont work correctly and when you want to reinstall apps that you have uninstalled.
      My Computer


  4. Posts : 7,607
    Windows 10 Home 20H2
       #4

    Are you going to add the following into the above?
      My Computer


  5. Posts : 5,382
    Windows 11 Pro 64-bit
    Thread Starter
       #5

    Do you mean post the batch script at Brink tutorial?
      My Computer


  6. Posts : 7,607
    Windows 10 Home 20H2
       #6

    You may ask him to do so if you consider it useful. I did so twice last month.
      My Computer


  7. Posts : 5,382
    Windows 11 Pro 64-bit
    Thread Starter
       #7

    Well i did it i think he will delete post if he does not like it.
      My Computer


  8. Posts : 7,607
    Windows 10 Home 20H2
       #8

    I see that you did it 16 minutes ago. Hopefully, he will add it into his tutorial. He had added my scripts previously.
      My Computer


  9. Posts : 5,382
    Windows 11 Pro 64-bit
    Thread Starter
       #9

    He did same for me for below post script.

    Enable Automatic Backs up of System Registry
      My Computer


  10. Posts : 5,382
    Windows 11 Pro 64-bit
    Thread Starter
       #10

    This batch script have been updated.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:25.
Find Us




Windows 10 Forums