Xp Services

  • Thread starter Thread starter Victor
  • Start date Start date
V

Victor

I have a service association with Acronis TrueImage that conflicts with my
accounting software Business Vision. I want to continue to use TrueImage
therefore I dissable this service in the morning and enable it at the end of
the day so it will create a scheduled image backup at night.

Is there anyway I can automatically disable/enable this service at a certain
time of day?
 
Victor said:
I have a service association with Acronis TrueImage that conflicts
with my accounting software Business Vision. I want to continue
to use TrueImage therefore I dissable this service in the morning
and enable it at the end of the day so it will create a scheduled
image backup at night.

Is there anyway I can automatically disable/enable this service at
a certain time of day?

Scheduled tasks - perhaps that calls a batch script with "net stop" for
stopping the service in question and "net start" for starting the service.
(Two scheduled tasks.)
 
Victor said:
I have a service association with Acronis TrueImage that conflicts
with my accounting software Business Vision. I want to continue
to use TrueImage therefore I dissable this service in the morning
and enable it at the end of the day so it will create a scheduled
image backup at night.

Is there anyway I can automatically disable/enable this service at
a certain time of day?

Shenan said:
Scheduled tasks - perhaps that calls a batch script with "net
stop" for stopping the service in question and "net start" for
starting the service. (Two scheduled tasks.)
Thanks, but I'm not familiar with writing a batch script. Could
you advise.

Open notepad, create your 'script' and save it as "whatever.bat" or
"whatever.cmd". The fact the file extension is .bat or .cmd makes it into a
batch script.

Open a command prompt (start button --> RUN --> CMD --> OK) and type in:

net start

and press enter and see what the service you are looking to stop/start is
called in that list.

Inside a batch script, the line:

net stop "Service Name"

Will stop the service when the batch script is ran.
(You can probably guess the start line. ;-) )

If you google for any of that (including 'scheduled task in Windows XP') -
you should be able to set up the rest. ;-)
 
Thanks, that's great. But now for the scheduling part. When I go to create
a scheduled task it only lets me select .exe program files. How can I select
a .bat file?
 
Victor said:
I have a service association with Acronis TrueImage that conflicts
with my accounting software Business Vision. I want to continue
to use TrueImage therefore I dissable this service in the morning
and enable it at the end of the day so it will create a scheduled
image backup at night.

Is there anyway I can automatically disable/enable this service at
a certain time of day?

Shenan said:
Scheduled tasks - perhaps that calls a batch script with "net
stop" for stopping the service in question and "net start" for
starting the service. (Two scheduled tasks.)
Thanks, but I'm not familiar with writing a batch script. Could
you advise.

Shenan said:
Open notepad, create your 'script' and save it as "whatever.bat" or
"whatever.cmd". The fact the file extension is .bat or .cmd makes
it into a batch script.

Open a command prompt (start button --> RUN --> CMD --> OK) and
type in:

net start

and press enter and see what the service you are looking to
stop/start is called in that list.

Inside a batch script, the line:

net stop "Service Name"

Will stop the service when the batch script is ran.
(You can probably guess the start line. ;-) )

If you google for any of that (including 'scheduled task in Windows
XP') - you should be able to set up the rest. ;-)
Thanks, that's great. But now for the scheduling part. When I go
to create a scheduled task it only lets me select .exe program
files. How can I select a .bat file?

Thus why I mentioned Google. ;-)

Example:
A Google search with the text: how do I create a scheduled task in Windows
XP using a batch script

Results in:
http://www.google.com/search?q=how+do+I+create+a+scheduled+task+in+Windows+XP+using+a+batch+script

Where one of the first results is:
How to use the Windows Task Scheduler
http://www.iopus.com/guides/winscheduler.htm

Where the specifically say (in #1), "If you do not find "your" program in
this list, simply select any other program. You can always change the
settings later and, for example, point it to a batch file (*.bat) or Windows
Script (*.vbs)."; and then they explain how to use the advanced settings to
do just that.

Also - during #1 - you could just browse and put *.* for the filename and it
will show ALL files - not just "programs".
 
Thanks for your help. This is great!

Shenan Stanley said:
Thus why I mentioned Google. ;-)

Example:
A Google search with the text: how do I create a scheduled task in Windows
XP using a batch script

Results in:
http://www.google.com/search?q=how+do+I+create+a+scheduled+task+in+Windows+XP+using+a+batch+script

Where one of the first results is:
How to use the Windows Task Scheduler
http://www.iopus.com/guides/winscheduler.htm

Where the specifically say (in #1), "If you do not find "your" program in
this list, simply select any other program. You can always change the
settings later and, for example, point it to a batch file (*.bat) or Windows
Script (*.vbs)."; and then they explain how to use the advanced settings to
do just that.

Also - during #1 - you could just browse and put *.* for the filename and it
will show ALL files - not just "programs".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top