Wednesday, August 13, 2014

Listing users with session to specific share names

Helped a guy with a problem earlier..

He was migrating users to new shares, then in trying to remove the original share was being told that users were still connected, are you sure?  I'm sure you have seen that before.

The answer is so simple it took me a while to think of it.. you are wanting to view users that are connected to specific share names right?

net use [sharename]

DUH.  See I told you.. so simple that it's easy to over look!

Now granted this would only be time effective really if you had a few shares to check.. a few hundred would require scripting and piping the results to text files.

No comments:

Post a Comment