Announcement

Collapse
No announcement yet.

Mapped drives on Clients PC's

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

  • Mapped drives on Clients PC's

    Hello again,

    Does anyone know how I can get a list of drives that are mapped on the local clients machine.

    Thanks

    Gavin

  • #2
    Re: Mapped drives on Clients PC's

    In a DOS box, type "net use"!

    Regards
    Lutz

    Comment


    • #3
      Re: Mapped drives on Clients PC's

      You are quite right but I guess I should pay more attention to what I should have asked.

      I have 300 clients or so that have had drives mapped manually over the past many years and I am wanting to update the logon scripts to try and standardise drive mappings. I therefore need to find out which drives are mapped (and where they are mapped to) on the clients without going to each idividual machine.

      To make my life even easier I would like to get the results in a txt delimited format so that I can manipulate the results.

      Do you have any ideas?

      Comment


      • #4
        Re: Mapped drives on Clients PC's

        You could download PsTools freeware from www.sysinternals.com. Then use PsExec.exe to start "net use" on your clients. Redirect the outputs appending to a central text file on your machine.

        You can do this in a batch using a "for ..." command which scans a text file containing the client computernames.

        Lutz

        Comment


        • #5
          Re: Mapped drives on Clients PC's

          Hello Again,

          You got me there, I've tried as per the help from PsExec.exe and as per your recomendations but still no joy. Any other suggestions?

          Cheers

          Gavin

          Comment


          • #6
            Re: Mapped drives on Clients PC's

            Important: PsExec uses the System user w/o net access, with %SystemRoot% as working directory. So you should use the -u option of PsExec and use complete paths within the batch file.

            Lutz

            Comment


            • #7
              Re: Mapped drives on Clients PC's

              Hello!
              You can also try to do it with "reg query" and "reg update".

              Sample: reg query HKCU\NETWORK /s
              is for the local registry
              try reg /? for more options.
              Best Regards

              Comment

              Working...
              X
              😀
              🥰
              🤢
              😎
              😡
              👍
              👎