Win2K Pro shut down script

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.
dgwestAsked:
Who is Participating?
 
geoffrynConnect With a Mentor Commented:
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
 
dgwestAuthor Commented:
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
 
dgwestAuthor Commented:
Better late then never I guess.  Sorry for the late response.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.