Solved

Win2K Pro shut down script

Posted on 2002-03-25
3
136 Views
Last Modified: 2010-04-13
I have a batch file that deletes the mapped network drives and I want it to run when the notebook is shutdown/restarted.

Where in the registry do I put it?

Derek.
0
Comment
Question by:dgwest
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
geoffryn earned 100 total points
Comment Utility
Why don't you map the drives with the /persistent:no switch and allow the OS to remove them on shutdown.

NET USE \\servername\share /PERSISTENT:NO
0
 

Author Comment

by:dgwest
Comment Utility
Well that's a good idea.  I don't do much work with scripts so I didn't know you could do that.  The problem is that the notebook is remote and it seems to stay at the "Restoring Network Connections" box for 30 seconds and I'm assuming it's because it's trying to re-connect to the mapped drives and I want to make sure they are deleted before the machine is powered down.

I'll monitor the situation today to see if it works.

Derek.
0
 

Author Comment

by:dgwest
Comment Utility
Better late then never I guess.  Sorry for the late response.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now