Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disabling multiple services with batch file

Status
Not open for further replies.

Saeed42

ISP
Joined
Jul 4, 2001
Messages
147

I was wondering if there's a way of disabling multiple services with a batch/.reg file instead of going
to services and disabling them one by one, I was also wondering if there's a way of changing permissions for multiple directories with a batch or ini file rather then doing it the usual way.

Thanks in advance
 
I created a .reg file to disable multiple services, so all I need to know is how to do the permissions.
Cheers
 
HI!

In NT there is a command line tool called
CACLS.EXE
which handles NTFS permissions.

I have created a GUI interface for that command, so it is a good idea for you to use the GUI first and then create your batch files if still needed:
Download NUTS from here, then run the "Permiter" application:


Bye

Yizhar
Yizhar Hurwitz
 
You can create a batch file with the net stop service commands. For example:
net stop "Microsoft Exchange Internet Mail Service"
net stop "Microsoft Exchange Event Service"
The service name must be in quotes. You can also use the net start command to restart the services.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top