generally this should work okay without any hassles. What might be happening is windows keeping a hold of something? When you try to access after restart, what error message/reason are you getting?
Sorry seems to be a config failure, since it works from now on perfectly. But I can't figure out what I have changed...