I have my temp directory (C:\Temp - system variable) mounted to an NTFS folder on an SSD (via Diskmanagement > Change or Assign Drive Letters > mount to empty NTFS folder).
This mounting behaviour is not affected by logging on / off or system restart. However, the mount will disappear randomly, most notably when closing Visual Studio, but also on other occasions. When this happens, a new Temp directory will be created on C:\, which is then used henceforth, meaning I have to empty it, and remount to volume into C:\Temp (all the data on the volume is retained).
Does anybody know the cause of this strange behavior, and know how to prevent it?