0

I have a problem with finding all mapped drives on remote computer from my c# code. I can find drives in registry (HKEY_USERS\< USER >\Network). Each subkey named "$X" (where "$X" is letter) responds to mapped disk named "$X" for < USER >. But how can I find disks without letter. I can map them in cmd like this

net use <path>

Disk mapped like this is visible if I type

net use

but it's not visible in that registry.

How can I solve it? I can't use "net use" command because I need to list mapped drives for all users under specific computer.

Jac Mos
  • 7,746
  • 4
  • 15
  • 21

0 Answers0