We are trying to build a WPF app that can create encrypted drives that will be accessible to a specific windows User. When the specific user logs in. They should only see a particular drive in their Explorer page. That data within that drive should be ephemeral. The data should be deleted when the user logs out. This should work across Windows versions such as Windows 10/11 Home, Pro, Student etc.
We have tried creating it using VHDX, RamDisk etc but to no success.
-> WIth VHDX it says created but when we go to check on it we are not able to see any disk/drive for the user.
-> With RamDisk we are not able to get it working.
-> Tried creating with Registry changes and ACLs with limited success.