![]() |
![]() |
|
|
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 |
![]() |
|
|
#1 | ||
|
Guest
Posts: n/a
|
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? |
||
|
|
|
#2 | ||
|
Guest
Posts: n/a
|
Victor wrote:
> 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.) -- Shenan Stanley MS-MVP -- How To Ask Questions The Smart Way http://www.catb.org/~esr/faqs/smart-questions.html |
||
|
| Sponsored Links |
|
|
#3 | ||
|
Guest
Posts: n/a
|
Thanks, but I'm not familiar with writing a batch script. Could you advise.
"Shenan Stanley" wrote: > Victor wrote: > > 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.) > > -- > Shenan Stanley > MS-MVP > -- > How To Ask Questions The Smart Way > http://www.catb.org/~esr/faqs/smart-questions.html > > > |
||
|
|
|
#4 | ||
|
Guest
Posts: n/a
|
Victor wrote:
> 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 Stanley wrote: > 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 wrote: > 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. ;-) -- Shenan Stanley MS-MVP -- How To Ask Questions The Smart Way http://www.catb.org/~esr/faqs/smart-questions.html |
||
|
|
|
#5 | ||
|
Guest
Posts: n/a
|
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? "Shenan Stanley" wrote: > Victor wrote: > > 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 Stanley wrote: > > 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 wrote: > > 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. ;-) > > -- > Shenan Stanley > MS-MVP > -- > How To Ask Questions The Smart Way > http://www.catb.org/~esr/faqs/smart-questions.html > > > |
||
|
|
|
#6 | ||
|
Guest
Posts: n/a
|
Victor wrote:
> 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 Stanley wrote: > 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 wrote: > Thanks, but I'm not familiar with writing a batch script. Could > you advise. Shenan Stanley wrote: > 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. ;-) Victor wrote: > 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+d...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". -- Shenan Stanley MS-MVP -- How To Ask Questions The Smart Way http://www.catb.org/~esr/faqs/smart-questions.html |
||
|
|
|
#7 | ||
|
Guest
Posts: n/a
|
Thanks for your help. This is great!
"Shenan Stanley" wrote: > Victor wrote: > > 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 Stanley wrote: > > 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 wrote: > > Thanks, but I'm not familiar with writing a batch script. Could > > you advise. > > Shenan Stanley wrote: > > 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. ;-) > > Victor wrote: > > 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+d...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". > > -- > Shenan Stanley > MS-MVP > -- > How To Ask Questions The Smart Way > http://www.catb.org/~esr/faqs/smart-questions.html > > > |
||
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Services | zachlr1@gmail.com | Windows Vista | 2 | 11-21-2007 03:09 AM |