I am doing a little project to challenge myself as I love messing around with computers. A project I started long ago was to try and create a shutdown sound for my Windows 10 OS on my computer. I did indeed successfully pull that off by creating a task in task manager to play the sound at shutoff. However, the sound is cut off most times before fully playing. I think it is because Windows 10 shuts down pretty quickly and is not made for a shutdown sound, since the feature was removed a long time ago.
Since I am stuck here, I am wondering if anyone have any ideas on how to make it always play the full sound and prevent it from getting cut off.