Thursday, December 21, 2006 #

Windows Vista Service Hardening

Windows Services can no longer read mapped network drive letters, ie Directory.Exists(“H:\XMLDOCS”) will always return false even if you have H mapped.  The solution is to run the service under a user account with access to that share in Control Panel\Administrative Tools\Services.  Then in your code access the resource using its UNC name :-Directory.Exists(“\\testsrvr01\xmldocs”).

Posted On Thursday, December 21, 2006 8:26 AM | Feedback (0)

Copyright © Neil Smith

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski