Create Windows network drive when server is offline

Hi Expert, anyone knows how to create a network drive when the mapped server is offline? I want to create it no matter the server is online or offline. If the server is offline, it will display as a disconnected network drive. It is useful to me because the network drive mapping will be configured in login script. User will not need to logoff and login when the server is online.

Currently I use "net use" command to map network drive, but it shows "The network path was not found" when the destination server is offline.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

If you ever used the /persistent parameter once before, and never use the net use command ever again, the drive will always be displayed no matter what.
You can also use GPP (Group policy prefferencies) to map netrwork drive for users. In this case neworks status will not a problem :)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David_zuAuthor Commented:
I will try group policy way and feedback.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

JohnBusiness Consultant (Owner)Commented:
Two things:

You can map the drive (NET USE or equivalent). Persistent mappings fail after a while and I do not use Persistent any more.

Second, programs thinking their files are on a network share that is not there will slow down dreadfully.

Number 1 plus Number 2 = This is really not a good idea.
David_zuAuthor Commented:
Hi John, Tks for your advice but in my case shall be fine because I don't have application using this drive.
JohnBusiness Consultant (Owner)Commented:
If no applications use the offline mapped drive and also if you do not use Windows Explorer, then you should have no difficulty. It should work for you.

You can set up a script to map including all the drives you want and let it run on log in  and all should work.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.