On a system where I just added a new E: drive, it was indeed available as
wmic logicaldisk where drivetype=3 get caption,filesystem,drivetype,providername,volumename
would output:
Caption DriveType FileSystem ProviderName VolumeName C: 3 NTFS D: 3 NTFS E: 3 NTFS
But it would not list as an administrative share since
net share
would give:
Share name Resource Remark ------------------------------------------------------------------------------- IPC$ Remote IPC ADMIN$ C:\WINDOWS Remote Admin D$ D:\ Default share C$ C:\ Default share The command completed successfully.
I wonder why the E$ drive was not visible. If anyone knows a better solution than a reboot, please let me know.
This was after the reboot:
Share name Resource Remark ------------------------------------------------------------------------------- IPC$ Remote IPC ADMIN$ C:\WINDOWS Remote Admin D$ D:\ Default share E$ E:\ Default share C$ C:\ Default share The command completed successfully.
–jeroen
via:





