Connect and share knowledge within a single location that is structured and easy to search. Is there a command that can be used from the command line to output a list of the mapped network drives on the local system and their location on the network to a text file?
After some more googling, I got here :. Save the following as a. It'll create a MappedDrives. You can replace the strComptuer with another computer's name and get the list off of a remote computer as well. The following cmd run as Administrator will show all drive maps for all users pulling the info from the registry. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Learn more. List mapped network drives from the command line to text file Ask Question.
Asked 11 years, 6 months ago. Active 1 month ago. Viewed k times. Have all the printers whether or not they are local or network printers. I appreciate any help. Wednesday, October 1, PM. There are some Registry scripts in the Script Center that may be modifiable for your task. Hope it all works out, Tim. Hope it all works out, Tim There is no such key.
Wednesday, September 19, AM. Study Windows. Study what a user profile is. Study what registry hives are and how they work. There will be a test. He's only trying to live up to his name Leadfoot and he's spot on! Confusing isn't it? Answering old question can, at time, be helpful as it is practice.
Edited by jrv Wednesday, September 19, PM. Wednesday, September 19, PM. From the File menu, choose L oad Hive DAT which is the user registry. Be sure to choose the one for your user profile which contains the actual drive mappings. Assign a name for the newly loaded hive say, OldUserHive when prompted. The actual location of the network drive is stored in a value named RemotePath.
You may export the above branch using the Export option under the File menu. Exit the Registry Editor. This list includes currently mounted drives and those mounted at any point in the past.
Nathan McGinty started writing in He has worked in the technology industry for more than 20 years, in positions ranging from tech support to marketing. By Nathan McGinty.
0コメント