• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 476
  • Last Modified:

Shared Folder Lost After Client Reboot but maps automatically when user clicks on shortcut

XP clients (and windows 7) lose mapped drive to Shared Folder on SBS 2011 after Client Reboots.
 There is a shortcut to the original mapped drive sitting on the desktop.
Mapped drive re-appears automatically when user clicks on this shortcut.
It's almost as though the short cut refreshes the drive map, so it's not like I have to manually re-map after client reboots.
How can I get the drive map to stay or reconnect automatically after reboot?
0
stevenvel
Asked:
stevenvel
  • 4
  • 3
1 Solution
 
mattclarifiedCommented:
Hi,

Create a new text file and add the following lines

@echo off
net use P: "\\server\shared folder"

then save as logon.bat, make sure you change the save as type from text document to all files

place a shortcut to this file in the users startup folder

M@
0
 
stevenvelIT ConsultantAuthor Commented:
Thank you, this got me out of trouble.

Any idea as to why drive maps are dissapearing?

I also had drive map as part of SBS GPO but not working.

I will try to establish if clients have client side extensions and "group policy preferences" installed  
0
 
mattclarifiedCommented:
Not completely sure why they would disconnect, only thing I can think of would be if there was a script running that disconnected the drives first using something like net use P: /d, and then tries to do the normal mapping, but..

-The machine can't see the server at the time of attempting to map
-There's a small mistake in the script (check and make sure quotation marks are in place when the shared folder name has a space in it)
-There is a script somewhere doing this that is trying to map to an old non-existent share somewhere and knocking out the current mapping.

M@
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
stevenvelIT ConsultantAuthor Commented:
The SBS 2011 recently got promoted to DC - was involved in migration from SBS 2003.
Clients used to map to the same drive letter on the SBS 2003 box.
As far as I recall the drive maps were just created manually - no bat files/scripts (but I could be wrong).
0
 
mattclarifiedCommented:
Intriguing!

Could be some reference somewhere on that machine that is pointing that mapping to the old share on the old server, is it still the same server name and IP?

There could be a local GP on the machine that someone set up before that is trying to map to the old server and knocking out the new mapping.  I would have a look through there, double check there's nothing in the host file that might be screwing it up, check startup in msconfig and see if there's anything that someone added via the registry, and even scheduled tasks, you never know!

M@
0
 
stevenvelIT ConsultantAuthor Commented:
OK this gives me some things to check.
All users are logged on so I will do some more checking and post back.
Thank you
0
 
stevenvelIT ConsultantAuthor Commented:
Havn't had a chance to establish cause of problem but your advice on using a bat file has worked to get around problem.
Thank you
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now