Unwanted Processes - How to (Part Two)

Discussion in 'Acronis True Image Product Line' started by beenthereb4, Jul 31, 2004.

Thread Status:
Not open for further replies.
  1. beenthereb4

    beenthereb4 Registered Member

    Joined:
    Jun 29, 2004
    Posts:
    568
    Tested on version 8 of TI!
    OK, I actually tried the cmd file to start and stop all three TI background processes. There were some bugs in my earlier thoughts on how to do this. The following works if you save it as a cmd file as in trueimage.cmd :

    START "C:\Program Files\Acronis\TrueImage\TrueImageMonitor.exe"
    NET START "Acronis Scheduler2 Service"
    START "C:\Program Files\Common Files\Acronis\Schedule2\schedhlp.exe"
    call "C:\Program Files\Acronis\TrueImage\TrueImage.exe"
    NET STOP "Acronis Scheduler2 Service"
    taskkill.exe /im schedhlp.exe
    taskkill.exe /im TrueImageMonitor.exe


    Hopefully, if you are interested in this, you know how to keep these three processes from starting. Be sure to stop them the first time before you use the CMD file for best results. This leaves some DOS boxes on the screen afterwards that have to be closed. I'll work on getting rid of those later.
     
    Last edited: Aug 1, 2004
  2. beenthereb4

    beenthereb4 Registered Member

    Joined:
    Jun 29, 2004
    Posts:
    568
    All right, I've got this working about as elegantly as I was aiming for. After all, it's just a batch file. Here is the final code. I know that it does not look like it would work, but it does. It will start and stop all three background processes as needed. Tested on version 8 of TI.

    START /B C:\Progra~1\Acronis\TrueImage\TrueImageMonitor.exe
    START /B C:\Progra~1\Common~1\Acronis\Schedule2\schedhlp.exe
    CALL "C:\Program Files\Acronis\TrueImage\TrueImage.exe"
    taskkill.exe /im TrueImageMonitor.exe
    taskkill.exe /im schedhlp.exe
    NET STOP "Acronis Scheduler2 Service"
    EXIT
     
    Last edited: Aug 1, 2004
  3. bobat

    bobat Registered Member

    Joined:
    Jul 1, 2004
    Posts:
    21
    beenthereb4 -

    Can I simply uncheck these startup entries with a startup manager and run manual updates without a problem?
     
  4. beenthereb4

    beenthereb4 Registered Member

    Joined:
    Jun 29, 2004
    Posts:
    568
    That should work like a charm, except for the Acronis Scheduler 2 Service. For that one, go to "Control Panel" -- "Administative Tools" --- "Services" and set it to manual instead of automatic. It will be right at the top of services. Manual allows it to still start when you want it to.
     
    Last edited: Jul 31, 2004
  5. bobat

    bobat Registered Member

    Joined:
    Jul 1, 2004
    Posts:
    21
    Thanks, beenthereb4 -

    I'll try it out and let you all know how it goes. I noticed in task manager that this stuff is chewing on 15M of memory! :rolleyes:
     
  6. beenthereb4

    beenthereb4 Registered Member

    Joined:
    Jun 29, 2004
    Posts:
    568
    Oops, although this worked yesterday, when I checked it today ------- it needed another line added:

    START /B C:\Progra~1\Common~1\Acronis\Schedule2\schedhlp.exe

    I edited this into my earlier post!

    Edit:
    Seems like this has little interest, so I'll not be posting my further refinements.
     
    Last edited: Aug 1, 2004
  7. riechert

    riechert Registered Member

    Joined:
    Jul 30, 2004
    Posts:
    44
    Please don't stop posting refinements. I only just bought TI and am, obviously, still learning how best to use it in my environment. With my less than state of the art PC and am very interested in reducing overhead.

    It looks like the last script you have posted is missing the line to start the acronis scheduler2 service. Right?
     
    Last edited: Aug 2, 2004
  8. mecalvint

    mecalvint Registered Member

    Joined:
    May 11, 2004
    Posts:
    36
    Definitely do not stop this thread.

    The only reason why I am using TI is that the wkstn I am imaging cannot be rebooted too frequently. It needs to be live as long as possible.

    And I don't like Windows services. Often I find they have resource leaks. Not to point any fingers but on a particular PC in NT 4.0 SP6, before TI it was running fine, after installing TI, I find that the PC reboots itself every now and then, and my diagnostics point to TrueImageMonitor.exe. And I do not have a virus problem. TI support is looking into this for me.

    So this thread is very important. I am not using scheduling, so I don't need TI to be running all the time.

    Keep on the good work.
     
  9. mecalvint

    mecalvint Registered Member

    Joined:
    May 11, 2004
    Posts:
    36
    beenthereb4,
    for my own education, could you tell me how you found out which processes need to run with TI (schedulhlp, schedul2,TImonitor).

    The service was easy enough, look in the services list, but the tasks, how did you figure the depedency.

    I 've used InstallRIte, but that did not tell me the dependency.

    Will try DependencyWalker.

    Oh, another question is if I want to disable the tasks, delete the reg entries in CurrentVersion\Run, right ?
     
  10. beenthereb4

    beenthereb4 Registered Member

    Joined:
    Jun 29, 2004
    Posts:
    568
    Well, I did not do anything complicated. I just used taskmanager to see what was running and then backtracked to see which came from Acronis folders. Then a bit of testing after endtasking those.

    Yes, take the two out of run in the registry!

    If there is a lot of interest in this, I'll turn it into a $5 windows program that does the registry work and everything without any dos box. However, it works fine as a batch file.
     
  11. beenthereb4

    beenthereb4 Registered Member

    Joined:
    Jun 29, 2004
    Posts:
    568
    Oh, just saw this edit to the thread:

    "It looks like the last script you have posted is missing the line to start the acronis scheduler2 service. Right?"

    Yes, it's not there. But try it, the service will start by magic!
     
  12. 666

    666 Guest

    There's no taskkill.exe in Win XP, so that part of the script doesn't work.
    Here's my (simple) script:


    START /B C:\Progra~1\Common~1\Acronis\Schedule2\schedhlp.exe
    CALL "C:\Program Files\Acronis TrueImage\TrueImage.exe"
    NET STOP "Acronis Scheduler2 Service"
    EXIT


    If "c:\program files\acronis trueimage" is not your acronis TI program folder, edit the file to match your setup.

    Save as somename.bat, put a shortcut in your start menu, and stick a sexy icon on it.

    You don't need TrueImageMonitor.exe to make an image, so I left that part out.

    You have to stop schedhlp.exe from the task manager. If you want to stop it from the script, you gotta find a copy of taskkill.exe somewhere.
     
  13. beenthereb4

    beenthereb4 Registered Member

    Joined:
    Jun 29, 2004
    Posts:
    568
    Actually taskkill.exe comes with WinXP Pro and may be copied to WinXP home.
     
  14. 666

    666 Guest

  15. 666

    666 Guest

    So here's my updated batchfile:


    START /B C:\Progra~1\Common~1\Acronis\Schedule2\schedhlp.exe
    CALL "C:\Program Files\Acronis TrueImage\TrueImage.exe"
    NET STOP "Acronis Scheduler2 Service"
    pskill.exe schedhlp.exe
    EXIT


    with pskill.exe from http://www.sysinternals.com/ntw2k/freeware/pskill.shtml in the same folder as the batchfile.

    pskill.exe can go somewhere else if you specify the full path in the batchfile, or find another way to tell windows where it is.
     
  16. beenthereb4

    beenthereb4 Registered Member

    Joined:
    Jun 29, 2004
    Posts:
    568
    Looks like you've come a long way from your first one.
     
  17. riechert

    riechert Registered Member

    Joined:
    Jul 30, 2004
    Posts:
    44
    So what does trueimagemonitor do if it's not needed?
     
  18. 666

    666 Guest

  19. 666

    666 Guest

    These copy/paste commands are great, aren't they? :)

    https://www.wilderssecurity.com/showthread.php?t=42132

    What about a batchfile that:
    - starts with the 'create bootable rescue media' option,
    - makes an image of your system partition,
    - and ends with a 'burn to disk' command

    If you start writing some lines, I'll mess 'em up and bitch about missing commands in XP Home, and we'll end up with the ultimate one-click method to make a bootable DVD with an image of your system...
     
  20. mario99

    mario99 Guest

    Here a (working) BATCH file that will work in W2K/XP+ (aka Windows-2000)
    (duno for W95/98/ME).

    @cls
    @echo off
    START /B C:\PROGRA~1\COMMON~1\ACRONIS\SCHEDU~1\schedhlp.exe
    CALL C:\PROGRA~1\ACRONIS\TRUEIM~1\TrueImage.exe
    NET STOP "Acronis Scheduler2 Service"
    PSKILL.EXE schedhlp.exe
    EXIT
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.