RE: how to find out at kernel level if a drive Letter is map network d by pavel_a
pavel_a
Thu Mar 17 07:23:06 CST 2005
"needhelp" wrote:
> Hi All,
> on Windows 2k/XP/2k3
> Is there a way to find out at kernel level if a drive Letter is a mapped
> Network Drive.
You can look up the kernel object directory for \dosdevice\X:
(where X is the drive letter).
If it points to something like \Device\HardDisk... it is local disk.
If it points to something like \Device\UNC or \Device\WinDFS - it is a
mapped drive.
--PA