- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Microsoft
- >
- Tool to display shares with users accessing it
Operating System - Microsoft
1819838
Members
2594
Online
109607
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 06:22 PM
04-27-2005 06:22 PM
Dear experts!
I want to know is there any tool that could display open files on the server with user who accessed it AND with share what was used to access the file. If you go to the “Computer Management\System Tools\Shared Folders\Open Files”, you find all the same, but without information about share used.
OR if there is a tool that could list all shares WITH user names who connected to it – it solve the problem too.
The problem is: We have several shares like:
C:\data
C:\data\app1
C:\data\app2
So, using Computer Management, its impossible to find WHICH share is exactly used, because in Shares we can see only the number of connected users and in Open Files we can see the files that are used BUT its unknown to which share user is connected.
Thank you very much in adva
I want to know is there any tool that could display open files on the server with user who accessed it AND with share what was used to access the file. If you go to the “Computer Management\System Tools\Shared Folders\Open Files”, you find all the same, but without information about share used.
OR if there is a tool that could list all shares WITH user names who connected to it – it solve the problem too.
The problem is: We have several shares like:
C:\data
C:\data\app1
C:\data\app2
So, using Computer Management, its impossible to find WHICH share is exactly used, because in Shares we can see only the number of connected users and in Open Files we can see the files that are used BUT its unknown to which share user is connected.
Thank you very much in adva
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 09:52 PM
04-27-2005 09:52 PM
Re: Tool to display shares with users accessing it
hi ivan,
which OS version r u on? i believe from windows 2000 onwards, there is a "Accessed By" column in Open Files which tells u which user is accessing what file.
regards.
which OS version r u on? i believe from windows 2000 onwards, there is a "Accessed By" column in Open Files which tells u which user is accessing what file.
regards.
what you do not see does not mean you should not believe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2005 11:02 PM
05-05-2005 11:02 PM
Re: Tool to display shares with users accessing it
Hi Ivan,
I am assuming you are on NT4 becuase as Joseph says you can do this easily in W2K and later.
I have found Dameware NT Utils to be an excellent package that will do what you need plus a whole host of other useful featuers as well
http://www.dameware.com/products/dntu/
They have a trial version so you can see if it fits your needs before parting with any money.
cheers
Guy
I am assuming you are on NT4 becuase as Joseph says you can do this easily in W2K and later.
I have found Dameware NT Utils to be an excellent package that will do what you need plus a whole host of other useful featuers as well
http://www.dameware.com/products/dntu/
They have a trial version so you can see if it fits your needs before parting with any money.
cheers
Guy
'If it ain't broke, don't fix it!'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2005 09:07 AM
05-06-2005 09:07 AM
Solution
Quick and dirty script (get_shares.cmd)
REM ..: Script will list out the shares to a file, then parse each share to show WHO is attached.
echo ------------------------------------------------------ > cur_users.txt
date /t >> cur_users.txt
echo ------------------------------------------------------ >> cur_users.txt
net share > cur_shares.txt
for /f %%i in (cur_shares.txt) do (
net share %%i >> cur_users.txt
echo -------------------------------------------------------- >> cur_users.txt
)
Jon
REM ..: Script will list out the shares to a file, then parse each share to show WHO is attached.
echo ------------------------------------------------------ > cur_users.txt
date /t >> cur_users.txt
echo ------------------------------------------------------ >> cur_users.txt
net share > cur_shares.txt
for /f %%i in (cur_shares.txt) do (
net share %%i >> cur_users.txt
echo -------------------------------------------------------- >> cur_users.txt
)
Jon
"Do or do not. There is no try!" - Yoda
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP