Relative Content

Tag Archive for c#networkingpermissionswindows-services

Unable to see or access mapped drive from C# Windows Service

I have a C# service that I am unable to modify running on Windows Server. Internally this service has a function that uses DriveInfo.GetDrives to get a list of available drives, returning that information to an API. However while this returns the C drive it fails to detect a drive mapped from another machine created via the following Powershell script: