Will a shortcut to a share necessarily cause a Shared Folder/Session on the target computer?

Posted on 2013-10-29
Last Modified: 2013-11-23
I had conjectured that there are two ways to access a share:
1) Map the  share to a drive letter on the accessing/client computer.
2) Create a shortcut to the share.

My theory was that:
- the mapping will cause a session to exist all the time
 and that
- the shortcut won't cause a session unless the shortcut is used and as long as the folder window is open.  When the folder window is closed, the session will go away.

But, I'm having a bit of trouble proving this to be the case.  When I create a shortcut, a session is also created (and no shared folder window is open on the "client').  Is there a time after which the session will be dropped?  Will the session stay indefinitely?
Refreshing the Shared Folders/Session window doesn't show the session going away right away at least - even after the window on the client is closed.
Question by:Fred Marshall
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39610564
In another question we found out that putting a shortcut on the desktop causes Windows Explorer to open the shortcut (or try) to find the icon to put on the desktop.  It also gets all the info you would see in a right-click context menu.  So the answer is probably yes.  And it probably gets re-opened every time the desktop icons get refreshed.
LVL 26

Author Comment

by:Fred Marshall
ID: 39612003
What I'm trying to do is reduce the average number of sessions without manually closing sessions.  It appears that closing either a shortcut-opened window or a mapped drive-opened window on an XP "client" pointing to a Windows 7 Pro "file server" does indeed close the associated session - rather immediately.

I'm not so much looking at what probably happens but what happens, and perhaps why, in a more definitive way.
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39612031
I thought I told you.  Every icon on your desktop causes Windows Explorer to open the file associated with it to get the icon that is displayed on the desktop and the file information that is displayed when you hover over it.
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

LVL 55

Expert Comment

ID: 39613024
The answer is simply "no, it won't". The shortcut's target is not checked. Anybody try if you like.
LVL 26

Author Comment

by:Fred Marshall
ID: 39613468
Well, just to be clear, I would not be referring to a shortcut to an individual file, rather, a shortcut to a folder.  I don't think a folder gets anything but a standard icon that need not be retrieved from the share.  Isn't that right?
LVL 55

Accepted Solution

McKnife earned 500 total points
ID: 39613492
That is right. While I verified it, neither the shortcut to \\server\share nor the mapped drive x: (again to \\server\share) opened a connection. The command "net file" executed on "server" showed no result, nothing open. net session revealed nothing, either.
LVL 26

Author Comment

by:Fred Marshall
ID: 39614519
Hmmm.... this continues to be interesting.
I have a Windows 7 Pro computer being used as a file server (mostly for reference material, printer drivers, etc. and probably some active Office documents).    
At last check, after working hours, it had 15 sessions.
So, if the last observation from McKnife is the case (and it appears to me also to be the case) then why are those sessions active?  Some had been opened for 6-7 hours.  Yesterday some had been opened for over 20 hours.

An hypothesis is that not only are there mapped drives on the "clients" but people have opened a file and left it open.  Otherwise, how could this be happening?  Yet, I must say, I doubt that this is the case as well.
LVL 59

Expert Comment

ID: 39671833
I've requested that this question be deleted for the following reason:

The question has either no comments or not enough useful information to be called an "answer".

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An article on effective troubleshooting
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question