Map network location only when connected to a certain network

2

1

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?

Toby

Posted 2013-03-19T13:17:55.750

Reputation: 453

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 – 2013-03-19T14:22:26.193

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 – 2013-03-19T16:31:08.543

@MDTGuy : Lenovo Z580 – Toby – 2013-03-19T18:29:19.953

@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 – 2013-03-19T18:30:01.607

there is (sorta) check out Lenovo's docking software, that's a start, there's gotta be a way you can kick off something from there. You have a dock right? – MDT Guy – 2013-03-19T18:46:59.710

1wait, 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 – 2013-03-19T18:55:47.707

No answers