Solved

Net stop command to stop network services?

Posted on 2002-07-19
7
998 Views
Last Modified: 2013-12-28
I have a question related to an earlier question below.


http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=winnt&qid=20325048


I have created a batch file to stop Norton Antivirus services before a backup job runs using NET STOP and a post backup batch file runs using NET START  to restart Norton.

My concern is being naked of virus protection during the 3 to 4 hour backup.

Is there a particular service(s) I can STOP that will prevent any network traffic from accessing the server during the backup.

Or other ideas???

Again 300 virtual clams for a speedy answer
0
Comment
Question by:wbaker57
7 Comments
 
LVL 9

Expert Comment

by:dlb6597
ID: 7165697
you can stop the server service, BUT, I would test thoroughly before implementing that change.  The backup might possible rely on the server service.  Clients would not be able to access the server etc.  
0
 
LVL 86

Expert Comment

by:jkr
ID: 7165773
>>that will prevent any network traffic from accessing the server

You could - apart from stopping a service - use 'net share' to limit the number of 'allowed users' to 0 and set it to the appropriate value (or /unlimited) later again, e.g.

net share HOMEDIRS /users:0

#Do backup

net share HOMEDIRS /users /unlimited
0
 
LVL 1

Expert Comment

by:Computer101
ID: 7165924
I have deleted the 2 duplicate questions

Computer101
E-E Moderator
0
ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 
LVL 9

Accepted Solution

by:
schmiegu earned 300 total points
ID: 7168667
To disallow new connections (except for admins):

net pause netlogon

To disconnect active sessions:

net session /delete

To allow new connections again:

net continue netlogon
0
 

Author Comment

by:wbaker57
ID: 7169146
to schmiegu,

This sounds like what I'm looking for. I will be testing today and will repond afterwards.

Thanks
0
 

Author Comment

by:wbaker57
ID: 7170759
to all,

thanks so far but I have to leave town - returning 8/1

0
 

Author Comment

by:wbaker57
ID: 7199144
Thanks, but in the interim the server was replaced becuase of disk controller issues. but I'm awarding points as promised for the quick repsonses. Yours seemed most relevant though I never had to impliment it.

Thanks again....
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

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
An article on effective troubleshooting
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

831 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