Notifications on Windows Server 2019 #152
Replies: 1 comment 2 replies
-
You've stumbled onto something a bit deep in the weeds with how toast notifications work. The notifications API require a shortcut in the Start Menu with an "Application User Model ID" (which I refer to as AppIDs) embedded in them. This is why creating "custom" sources for toast notifications is such a hassle. BurntToast defaults to using the AppID for Windows PowerShell ( If the shortcut is removed, the notifications API can't attach the toast to an application and so it fails. You can attach the toast to another shortcut, the available ones can be found by running You can supply any of those AppIDs to -AppID on New-BurntToastNotification, or to make it the default, change the AppID in BurntToast's config.json file (remember, updates will overwrite this* and it's a json file so if the AppID has slashes in it they need to be doubled up or otherwise escaped) * I need to make it so that you can store a persistent config file outside of the module... will add that to the todo. |
Beta Was this translation helpful? Give feedback.
-
I want to use BurntToast on a Windows Server 2019 RDS (Terminalserver) in the user context. It works, but if I delete the start menu folder "Windows Powershell" from the users start menu I don't get notifications anymore. There is no error, it just doesn't work. I only delete the folder with the powershell shortcuts from
"C:\Users\user\AppData\Roaming\Microsoft\Windows\Start Menu\Programs"
Beta Was this translation helpful? Give feedback.
All reactions