Notepad is missing after removing universal windows Apps

Bonus12 1,126 Reputation points
2022-04-20T17:19:01.413+00:00

Hi,

OS Windows 10 21H2 - I run a script that use the PowerShell cmdlet "Get-Appx" and remove Windows Universal Apps. Then Notepad app disappear.

I'm trying to whitelist notepad but can't find the package name. Thoughts?

Developer technologies Universal Windows Platform (UWP)
Windows for business Windows Client for IT Pros User experience Other
{count} votes

Accepted answer
  1. Castorix31 90,521 Reputation points
    2022-04-20T21:26:03.67+00:00

    You can use (PowerShell as Admin)

    Get-WindowsCapability -Online | Where-Object {$_.Name -like "*notepad*"}
    

    (then Add-WindowsCapability with the returned name to re-install it)

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. ESWARARAJU KONETI 2,206 Reputation points MVP Volunteer Moderator
    2022-04-20T17:32:59.317+00:00

    Did you try adding the notepad using the optional features in settings, apps & features, add?
    if you cannot find using the optional features, you may have to use FOD (Features on-demand) package to reinstall/reload the notepad app.

    Thanks,
    Eswar

    0 comments No comments

  2. Bonus12 1,126 Reputation points
    2022-04-20T20:26:21.87+00:00

    I don't want add it manually. I want find what is package name I'm removing and that also remove Notepad. Get-Appx returns alot of applications but I don't know which one is related to NotePad.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.