Search for already mapped network drives on remote computer.
I'm setting up a PC for a user and I am trying to find out what mapped drives (drive letters and to where) are on their remote computer. Is there a way to do this without logging on to their computer and going to their My Computer and seeing this?
Comments
-
CompuTron99 Member Posts: 542
Is this user on a domain? You could check to see if there are any drive mapping logon scripts. -
cbigbrick Member Posts: 284
And in conclusion your point was.....???
Don't get so upset...it's just ones and zeros. -
Paul Boz Member Posts: 2,620 ■■■■■■■■□□
Download the softperfect network scanner. It is a free tool that identifies open shares on a target network. I use it for pen testing constantly.CCNP | CCIP | CCDP | CCNA, CCDA
CCNA Security | GSEC |GCFW | GCIH | GCIA
pbosworth@gmail.com
http://twitter.com/paul_bosworth
Blog: http://www.infosiege.net/ -
Hyper-Me Banned Posts: 2,059
I dont totally understand the wording of the question but if you want to see if there are any shared folders ON the computer, you can goto ADUC and right click the computer and click Manage.
Assuming you are in an AD environment. -
HeroPsycho Inactive Imported Users Posts: 1,940
The PowerShell way:
get-wmiobject -class "Win32_MappedLogicalDisk" -namespace "root\CIMV2" -computername computertosearch
You can set a variable to a collection of computers and scan them all at once. Export-csv can make an easy report. Blah blah you know the drill...Good luck to all! -
Pash Member Posts: 1,600 ■■■■■□□□□□
HeroPsycho wrote: »The PowerShell way:
get-wmiobject -class "Win32_MappedLogicalDisk" -namespace "root\CIMV2" -computername computertosearch
You can set a variable to a collection of computers and scan them all at once. Export-csv can make an easy report. Blah blah you know the drill...
I Knew Hero would chip in with a powershell script to solve this!DevOps Engineer and Security Champion. https://blog.pash.by - I am trying to find my writing style, so please bear with me. -
HeroPsycho Inactive Imported Users Posts: 1,940
I Knew Hero would chip in with a powershell script to solve this!
You know why?
Because it's stupid easy!Good luck to all!