We have a program that works by being shared over the network as a normal Windows Mapped Drive. You run the program from the mapped drive and it stores its files in flat file databases in that mapped drive and everything is supposed to work fine. In fact it used to. We ran it for many years on old hardware running Windows XP. About a year and a half ago we upgraded our machines to newer Windows 8 machines and the server to a quad core Windows 8 server with the files on an SSD. However, since then, performance has been terrible. There is noticeable multi-second latency while the program accesses the files.
To work around this I've taken the old Windows XP licenses and installed them into virtual machines on the server, and to run this one program all the new Windows 8 desktops RemoteApp into that server. It works and there's no latency.
Obviously Windows XP is retired now and I'm not happy with this system in general, even though it works, because its complicated and prone to failure every few months for cryptic reasons.
So, the question is, what could possibly be causes this latency?