Disk not emptied on Windows 8.1 shutdown

I've been enjoying SP RAMDisk for some months now. My ram disk is used to store temp stuff and I'd like it to be emptied when I shutdown or restart the computer. However, on Windows 8.1, this only happens if I restart the computer.

If I shut it down, when I turn it on, every file and folder is back to the ram disk. This means they were stored on my SSD during shutdown. This is exactly what I want to avoid: unnecessary writes to my SSD.

It's an NTFS, boot-time, removable disk. I tried changing to NTFS32 and non-removable, without success. Any ideas?

I thought that would be the reason, indeed. But shouldn't Windows eject removable media before shutting down? Or else, could I run a command from command line to unmount the ram disk before shutting down?

Thanks again for your answer. I tried that, but strangely RAMDisk appears to be no longer starting with Windows. It's configured to do so (even task manager says it does start with Windows) and it does create boot-time ram disks. However, it only creates logon-time ram disks if I start it manually. Any ideas?

I really appreciate this solution as this issue have been annoying me for ages now (since starting to use your RAM Disk and trialling Windows 10) !

During initial setup I'd specified an img file on a secondary HDD and later canceled the img. Even going as far as deleting all RAMDisks and restarting from scratch and still seemed to have the lengthy 16GB RAMDisk being saved despite there being no file in the originally specified location. I'd edged towards the conclusion somehow the setting have been half cleaned and ended up defaulting to an alternate location on the C: SSD...

I would imagine it is well worth adding this tip to your help pages about creating backup image files. I'm sure this will help alleviate confusion with many people that do not yet know about Hybrid Boot on Windows 10 or even 8.

Leading up to finding this thread I must say I am very impressed with the speed of effective official responses to the many threads here. A lot of companies would do well to emulate such excellent caring service.