Announcement

Collapse
No announcement yet.

Drive Mapping

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Drive Mapping

    Is there a way in the Hyena GUI (you know without running psexec.exe, etc) to generate a list of all computer's drive mappings on the network?

    Will this include mappings that require separate authentication (some users have checked "save password" so they may not have to enter login/pw)? This mapping doesn't appear in the normal path (HKEY_CURRENT_USER\Network\) and I don't know where it's stored.

  • #2
    Re: Drive Mapping

    Hyena can't do this, and I'm not sure what would be able to get this information for you.

    Comment


    • #3
      Re: Drive Mapping

      Wow, am seriously surprised, and a little disappointed. I would think that if nothing else using some form of the WMI query would do it.

      Comment


      • #4
        Re: Drive Mapping

        If you can find a WMI class that returns this data, then you can use Hyena to run it. I just don't know of a class that would contain that information.

        Comment


        • #5
          Re: Drive Mapping

          You can look to see if a WMI class can provide this, but it might out of the reach for WMI. Drive mappings are considered user settings, like a user preference for display colors, etc. They are therefore stored in the registry only under the user's registry hive and are not computer settings (ie HKEY_LOCAL_MACHINE).
          Kevin Stanush
          SystemTools Software Inc.

          Comment


          • #6
            Re: Drive Mapping

            I think I've found something relative - but don't see it as an option to query in Hyena. This is a script I found that displays my drive mappings on the screen when I run it:

            strComputer = "."
            set objWMI = GetObject("winmgmts:\" & strComputer & "\root\cimv2")
            set colDrives = objWMI.ExecQuery("select * from Win32_MappedLogicalDisk")
            WScript.Echo "Mapped Drives:"
            for each objDrive in colDrives
            WScript.Echo " Device ID: " & objDrive.DeviceID
            WScript.Echo " Volume Name: " & objDrive.VolumeName
            WScript.Echo " Session ID: " & objDrive.SessionID
            WScript.Echo
            next

            Comment


            • #7
              Re: Drive Mapping

              This is a WMI query. Hyena can query any WMI class, but since there are hundreds of WMI classes, we can't ship pre-defined queries for them all. You can create this query easily in Hyena (there are posts in the WMI forum for doing this).

              But I'm not sure if its going to show you mapped drives for all users, or only the current user, and only if a user is logged on. You will have to experiment to see how this WMI class handles that. Running it locally might give deceptive results, since you are both logged on and have mapped drives.
              Kevin Stanush
              SystemTools Software Inc.

              Comment

              Working...
              X