?
Solved

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

Posted on 2013-10-29
9
Medium Priority
?
448 Views
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.
0
Comment
Question by:Fred Marshall
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 84

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.
0
 
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.
0
 
LVL 84

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.
0
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!

 
LVL 58

Expert Comment

by:McKnife
ID: 39613024
The answer is simply "no, it won't". The shortcut's target is not checked. Anybody try if you like.
0
 
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?
0
 
LVL 58

Accepted Solution

by:
McKnife earned 2000 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.
0
 
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.
0
 
LVL 59

Expert Comment

by:LeeTutor
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".
0

Featured Post

Industry Leaders: 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

In this tutorial, we’re going to learn how to convert Youtube to mp3 for Free. We'll show you how easy it is to make an mp3 from your video clips so that you can enjoy them offline.
A simple method to resolve a "keyboard not working" problem by modifying the Windows registry. This issue can often be encountered after using the VMware vCenter Converter Standalone Agent to perform a Physical-to-Virtual (P2V) conversion process.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

621 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