Solved

Win2K Pro shut down script

Posted on 2002-03-25
3
138 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
ID: 6894941
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
ID: 6896535
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
ID: 7206350
Better late then never I guess.  Sorry for the late response.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Why Windows 7 desktop can not connect to Windows 2000 terminal server? 3 1,371
Windows timing on domain Pcs 4 446
Active Directory Replication 10 1,139
website 1 309
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…
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

773 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