cschneegans / unattend-generator

.NET Core library to create highly customized autounattend.xml files
https://schneegans.de/windows/unattend-generator/
MIT License
659 stars 60 forks source link

Unable to create file after uninstalling NotePad #40

Closed SkyOps117 closed 2 months ago

SkyOps117 commented 2 months ago

After deinstalling all apps with this tool, I could not create a file with the right click context menu. Enabling NotePad (Classic) fixed it by my guess. Tested this on Windows 10 only.

cschneegans commented 2 months ago

I can reproduce your findings, i.e. the New context menu does no longer show the Text Document entry:

image

However, there is nothing in my code that would remove the registry key HKEY_CLASSES_ROOT\.txt\ShellNew, which produces this menu entry. When you choose to select Notepad (classic), I simply call the Remove-WindowsCapability cmdlet.

It seems that this registry key somehow belongs to this capability, so they are removed together. I don't see that there is anything wrong with my generator or with Windows.

SkyOps117 commented 2 months ago

Ok sorry I though that could help some. Maybe adding a note * in the generator on notepad. By the way, your generator is awesome. The best way I found to unbloat Windows so far.

edit: got any idea how to change taskbar color?

edit2: its in an issue already sorry.