Solved

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

Posted on 2013-10-29
9
435 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
9 Comments
 
LVL 82

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 25

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 82

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
 
LVL 53

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
Too many email signature updates to deal with?

Do you feel like you are taking up all of your time constantly visiting users’ desks to make changes to email signatures? Wish you could manage all signatures from one central location, easily design them and deploy them quickly to users? Well, there is an easy way!

 
LVL 25

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 53

Accepted Solution

by:
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.
0
 
LVL 25

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

705 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now