|
-
October 12th, 2004, 04:42 AM
#1
hidden shares
is it possible through the dos prompt or a 3rd party tool to view hidden shares on remote machines on the LAN?
-
October 12th, 2004, 04:47 AM
#2
Geezer
Welcome to WD forums moochoo, "net share" will show you the ones you have permissions on. This shows the syntax for xp as an example.
-
October 12th, 2004, 05:01 AM
#3
net share only shows my local hidden shares.
i would like to view the hidden shares of my remote computers
unless i am reading the syntax for net share wrong that is!
-
October 12th, 2004, 05:20 AM
#4
Geezer
 Originally Posted by moochoo
net share only shows my local hidden shares.
Oh d'uh - [begin shake head mode at self] confus-ed, didn't read it properly, my bad ! [/end]
But I seem to think we've had nearly this question before here Try this (View Domain Net Shares via DOS ) where I & others got a bit 'touchy' on motives, I should have said straight off - why not use management console ?
-
October 12th, 2004, 05:29 AM
#5
i wanted to do it at the command line for scripting purposes.
i shall have a look around see what i can find
-
October 12th, 2004, 07:15 AM
#6
Registered User
You can make a script that runs on the remote machines using the great PSEXEC (part of PSTools) from www.sysinternals.com
Then you can write a couple of batch files to run on the remote systems:
LISTSHARES.BAT
================
for /f %%i in (computerlist.txt) do psexec \\%%i -u YOURDOMAIN\Administrator -p AdminPassword -c remotescript.bat
================
REMOTESCRIPT.BAT
================
set log=\\yourserver\outputshare\output.txt
echo #### Listing shares for %computername% >>%log% ####
net share >>%log%
echo #### End of listing ####
================
Just dump the list of remote machines in computerlist.txt and create a share on a server that has access from the administrator account.
After you run listshares.bat, the output.txt file will have all the details you need.
Protected by Glock. Don't mess with me! 
-
October 12th, 2004, 07:33 AM
#7
thanks a lot thats perfect for my needs!
Similar Threads
-
By Luzbel in forum Networking
Replies: 1
Last Post: August 12th, 2004, 12:39 AM
-
By jaeger in forum Gaming
Replies: 2
Last Post: October 11th, 2003, 06:46 AM
-
By Fubarian in forum Networking
Replies: 13
Last Post: May 20th, 2001, 06:41 AM
-
By mahdi in forum Windows NT/2000
Replies: 3
Last Post: April 24th, 2001, 04:04 AM
-
By Snommis69 in forum Windows NT/2000
Replies: 2
Last Post: April 9th, 2001, 02:50 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks