Link to home
Start Free TrialLog in
Avatar of drezzzz
drezzzz

asked on

Explorer hangs when a network map is unavailable

Is there a way to stop explorer for hanging when a network drive is unavailable.
Avatar of JapyDooge
JapyDooge
Flag of Netherlands image

Maybe disabling this in folder options works (see attached image):
folders.png
group policy
turn off
 always wait for network
Avatar of drezzzz
drezzzz

ASKER

JapyDooge : I don't have this option in my "Folder options".

slam69 : I open gpedit.msc, search for that and did not found it !
Computer Configuration\Administrative Templates\System\Logon
Avatar of drezzzz

ASKER

The problem I encounter is not while the login script run. It's usually when a user go home with his laptop, putting it in hibernation, I wake in his home network. This render all map drive unavailable, causing explorer to hangs every time you start browsing.
nothing can be done about that im afraid as the computer hasnt been cleared and doesnt know the drives are no longer there
Make two batch scripts and put them on the users desktop
(For example i take X and Y as network drives)

Script 1 to connect:
NET USE X: \\server\shareX
NET USE Y: \\server\shareY

Script 2 to disconnect:
NET USE X: /DELETE
NET USE Y: /DELETE

So they can connect/disconnect network drives when they want. If they go home, doubleclick disconnect (or click disconnect at home, does'nt matter). If they miss a drive or want to connect them again, doubleclick connect.
Avatar of drezzzz

ASKER

JapyDooge : I already implement this procedure... but it require a user action. So it works for the "good" user and not for the normal user which doesn't listen anything an admin says because the admin is there when he needs it.

Nobody knows about a services who could just disconnect a unavailable drive ?
the problem with jays solution as well is that the user would have to disconnect the drive before they left the office otherwise its still gonna occur when they bring the machine out of hibernation.. sometimes things we want to just arent possible!
Avatar of drezzzz

ASKER

Just for fun : Isn't it a simple things ?!..

I encourage a C.NET programmer to code a simple service which pole the map drive and disconnect them automatically when it comes offline ! I will pay for 100 licenses !
haha way outta my programming ability bud but sorry i couldnt help further
just an idea but how about removing teh hibernate option and forcing them to shut down when they leave?
ASKER CERTIFIED SOLUTION
Avatar of JapyDooge
JapyDooge
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of drezzzz

ASKER

slam69 : Yep, I made a mistake in the past in spreading a network's open philosophy were the user is the client, so the king. Since then, restricting them means crucifying me.

I was young and naive ....
Avatar of drezzzz

ASKER

JapyDooge : not a bad idea, you know a way to run a batch script without displaying the window ?
vbs script it to run teh batch file silently but you really want to have a scheduled task run every 5 minutes? also what happens if they go to hibernate at 240 seconds... problem remains, you would have to set it to run every minute as thats the minimum amoung of time between schedule re runs and for me thats gonna impact the users way to much
Avatar of drezzzz

ASKER

I will try it, I don't think it is a big downside to get explorer to lag on wake and stop after 5 min. compare to explorer lag all day long !
And I will use Cron since I don't trust the task scheduler !