how to disconnect a remote access to a shared folder from lets say a pc used by several people to a pc used by one person.

Sometimes I used shared PCs with win2k in my network at work to access my work pc(I'm the only user) to get access to my files.  I usually do this by clicking on "start" click "run" and type \\mycomputername, seconds later a prompt shows up asking for log in name and password, which I enter and I get access to my pc shared folders.
Now I'm logged and if a close the window, I'm still logged in, anybody who knows my computer name can access my computer and they won't be prompted for pw.
I know that if I reboot the pc that I used to access my pc all the connections will be broken. but I don't want to do this(takes time). Is there a command I can use to disconnect?

mimadrigAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lee W, MVPTechnology and Business Process AdvisorCommented:
type:

NET USE

to see a list of connections.

To delete connections, for each item that starts out with \\mycomputername, type:

NET USE \\mycomputername\share /delete
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HakimCommented:
>> I usually do this by clicking on "start" click "run" and type \\mycomputername, seconds later a prompt shows up asking for log in name and password, which I enter and I get access to my pc shared folders.

That seems you have access to the shared folder and any body who is allowed to access that shared folder will have access to it. the user-name + password is invoked when you try to access the shared folder. if you shared the folder to everyone then that will not ask for user-name password.

The security of the shared folder is setup from the PC that is hosting the shared folder.
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
Incidentally, as long as you have one connection to your computer, it will be "open" for all future connections.  So you have to make sure you remove all other connections with net use \\server\share /delete
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.