I am a bit late to the question and I don't think that my solution would help you with cases like cryptolocker etc.

But if you are interested I created code to add libraries to the windows 7 libraries and pointed them to locations on the server! I also redirected existing libraries to locations on the server. I suspect that cryptolocker would be able to affect libraries so probably not any use to you, but if you just want to get rid of mapped drives - I could find my code for you!