?
Solved

Find all the mapped drives or folders in a remote machine

Posted on 2007-08-11
1
Medium Priority
?
182 Views
Last Modified: 2010-03-05
Hi,

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

Regards
Sharath
0
Comment
Question by:bsharath
1 Comment
 
LVL 14

Accepted Solution

by:
canali earned 2000 total points
ID: 19676806
: ================
:: READ THIS FIRST
:: ================
:: * 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

0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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…
Suggested Courses

807 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