Link to home
Start Free TrialLog in
Avatar of wbaker57
wbaker57

asked on

Net stop command to stop network services?

I have a question related to an earlier question below.


https://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
Avatar of dlb6597
dlb6597

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.  
Avatar of jkr
>>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
I have deleted the 2 duplicate questions

Computer101
E-E Moderator
ASKER CERTIFIED SOLUTION
Avatar of schmiegu
schmiegu

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of wbaker57

ASKER

to schmiegu,

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

Thanks
to all,

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

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