hidden shares
Results 1 to 7 of 7

Thread: hidden shares

  1. #1
    Registered User
    Join Date
    Oct 2004
    Posts
    4

    hidden shares

    is it possible through the dos prompt or a 3rd party tool to view hidden shares on remote machines on the LAN?

  2. #2
    Geezer confus-ed's Avatar
    Join Date
    Jul 1999
    Location
    In front of my PC....
    Posts
    13,087
    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.

  3. #3
    Registered User
    Join Date
    Oct 2004
    Posts
    4
    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!

  4. #4
    Geezer confus-ed's Avatar
    Join Date
    Jul 1999
    Location
    In front of my PC....
    Posts
    13,087
    Quote 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 ?

  5. #5
    Registered User
    Join Date
    Oct 2004
    Posts
    4
    i wanted to do it at the command line for scripting purposes.

    i shall have a look around see what i can find

  6. #6
    Registered User CeeBee's Avatar
    Join Date
    Nov 2002
    Location
    USA
    Posts
    2,494
    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!

  7. #7
    Registered User
    Join Date
    Oct 2004
    Posts
    4
    thanks a lot thats perfect for my needs!

Similar Threads

  1. Can't connect to any shares
    By Luzbel in forum Networking
    Replies: 1
    Last Post: August 12th, 2004, 12:39 AM
  2. Hidden & Dangerous Deluxe Edition - Free
    By jaeger in forum Gaming
    Replies: 2
    Last Post: October 11th, 2003, 06:46 AM
  3. 9x shares / 2k shares
    By Fubarian in forum Networking
    Replies: 13
    Last Post: May 20th, 2001, 06:41 AM
  4. Create and find hidden NT accounts
    By mahdi in forum Windows NT/2000
    Replies: 3
    Last Post: April 24th, 2001, 04:04 AM
  5. The amazing disappearing shares
    By Snommis69 in forum Windows NT/2000
    Replies: 2
    Last Post: April 9th, 2001, 02:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •