Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using Windows 8 (x64) and when I am at work I have access to a folder on the network that is at \\foo\bar.

I have mapped this to a drive (J:) but whenever the PC connects to another network it attempts to reconnect this mapped drive.

Is there any way I can set the drive to only connect if connected to a specific network?

Should I be connecting to it in some way other than drive mapping?

share|improve this question
    
As random as this sounds, what's the make and Model? Some vendors have software for their docks that can kinda sorta do some stuff like this. –  MDT Guy Mar 19 '13 at 14:22
    
The only way I can think of is to use a "Net Use" Script that's conditioned to run only at work. Now, the question is how can you identify this network? –  EliadTech Mar 19 '13 at 16:31
    
@MDTGuy : Lenovo Z580 –  Toby Mar 19 '13 at 18:29
    
@EliadTech : Okey Doke, if there isnt a standard way of doing this I can live with the pop-up just thought I was doing somehting stupid and there might have been a better way. Thanks though! –  Toby Mar 19 '13 at 18:30
1  
wait, wait, wait, just use a logon script, but have it set to only map when you're connected. make the logoff script unmap it, done and done. –  MDT Guy Mar 19 '13 at 18:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.