Find all the mapped drives or folders in a remote machine

Posted on 2007-08-11
Last Modified: 2010-03-05

I want to Find all the mapped drives or folders in a remote machine.
I have the machine names in a file.

Question by:bsharath
    1 Comment
    LVL 14

    Accepted Solution

    : ================
    :: ================
    :: * To run this script you must have domain administrators rights.
    :: * This script require "Computers.txt" file on C: drive root from where it will pick computer names.
    :: * Successful run will generate "mappedDrives.txt" on C: drive root.
    :: * Copy and Paste following script into notepad and save it with any name having .bat  extension.
    :: Batch Script Start
    psexec -i  @c:\Computers.txt net.exe use|find "\\">c:\mappedDrives.txt
    :: Batch end here


    Featured Post

    Integrate social media with email signatures

    Is your company active on social media? Do you also use email signatures? Including social media icons in your email signature is a great way to get fans for free. Let all your email users know you’re on social media quickly and easily, in a single click.

    Join & Write a Comment

    Suggested Solutions

    The way I use Experts Exchange to assist me in analyzing and diagnosing a problem is I first enter a Verbose Question at Experts Exchange like: Office 2007 will hang when opening and saving files I then launch WordPad (any text editor will do) an…
    This is a little timesaver I have been using for setting up Microsoft Small Business Server (SBS) in the simplest possible way. It may not be appropriate for every customer. However, when you get a situation where the person who owns the server is i…
    This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now