Guest Billy Posted June 11, 2008 Posted June 11, 2008 I need to see a listing of all the NTFS and Share settings on a server. The dirs/subdirs are very deep. Is there a way to pipe this info from a command line to a text file and then print it? Alternative is to do from GUI and this would be very/ver tedious.....
Guest Ace Fekay [MVP] Posted June 12, 2008 Posted June 12, 2008 Re: How to print NTFS/Share Security on Server? cmd line options? In news:3814e60a-a16f-46a7-a9b4-377a64b4fde1@k30g2000hse.googlegroups.com, Billy <UseNewz@hotmail.com> typed: > I need to see a listing of all the NTFS and Share settings on a > server. The dirs/subdirs are very deep. Is there a way to pipe this > info from a command line to a text file and then print it? > > Alternative is to do from GUI and this would be very/ver tedious..... Go to Start, Right-Click "My Computer" and select Manage. or to the same tool... Go to Start, Admin Tools, select "Computer Management." Then expand Shared Folders and click on Shares. You can also find the shares in the registry under HKLM\System\CCS\Services\Lanmanserver\shares. You can right click the key and export it. There are also VB and other scripts available to enumerate shares at the command line for either local shares or shares on a remote machine. I searched google for "scripts enumerate shares" and "cmd enumerate shares" which I tried it and came up with quite a few relevant hits. I found the following link may be of your interest. I tried it and it worked for me. I scanned only my workstation by running the command as: openshare 192.168.0.5 or you can scan a range, such as the whole /24 by: openshare 192.168.0 Script to enumerate shares http://www.governmentsecurity.org/forum/?showtopic=7290 You can also use "net view computername," however this won't give you the default hidden admin shares. I hope that helps. -- Regards, Ace This posting is provided "AS-IS" with no warranties or guarantees and confers no rights. Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP Microsoft MVP - Directory Services Microsoft Certified Trainer For urgent issues, you may want to contact Microsoft PSS directly. Please check http://support.microsoft.com for regional support phone numbers. Infinite Diversities in Infinite Combinations
Recommended Posts