• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1022
  • Last Modified:

Net stop command to stop network services?

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
wbaker57
Asked:
wbaker57
1 Solution
 
dlb6597Commented:
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
 
jkrCommented:
>>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
 
Computer101Commented:
I have deleted the 2 duplicate questions

Computer101
E-E Moderator
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
schmieguCommented:
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
 
wbaker57Author Commented:
to schmiegu,

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

Thanks
0
 
wbaker57Author Commented:
to all,

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

0
 
wbaker57Author Commented:
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
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.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now