Configuring Auto Healing Feature

Modified on Thu, 15 Feb 2024 at 07:58 PM

How to Use Auto healing Executable File


Prerequisites

  • Click here to install latest version of the Python. 
  • You must install the following libraries in Python using pip, run the commands in the command prompt sequentially.

    pip install fuzzywuzzy
    
    pip install PyYAML
    
    pip install xmltodict 
    pip install -U scikit-learn
    
    pip install beautifulsoup4
    
    pip install cosine-similarity
    pip install tfIdfInheritVectorizer (optional)



Auto healing feature is available in the executable file for use. To use this executable file, you will have to add it to Windows Task Scheduler.

How to Add an Executable file to Windows Task Scheduler

Perform the following:

  1. Open Task Scheduler: Press Win + R, type taskschd.msc, and press Enter.

  2. Create a Task: In the Task Scheduler window, click on "Create Task..." in the Actions pane.

  3. Create Task window appears.
    1. In the General tab of the Create Task window, enter a name and description for your task.
    2. Unselect the option "Run only when user is logged on."

    3. Select the option "Run whether user is logged on or not."

    4. Select the option "Do not store password. The task will only have access to local computer resources.

    5. Select the option "Run with highest privileges."

    6. Select the option "Hidden."

    7. Click on the "Triggers" tab to set up when the task should run.



  4. In the Trigger tab, select New button to view New Trigger window and choose the trigger for your task, select One time option and then select Repeat task every option if you want the task to repeat and enter 2 minutes. Select Indefinitely from for a duration of : drop down option and select Actions tab.
  5. In the Action tab, select New button to view Action window. In this window you need to start a program: Select "Start a program" as the action. Click "Browse" to the folder to select the auto-healing executable file, click OK and then click Conditions tab.


  6. In the Conditions tab, unselect the 'Start the task only if the computer is on AC power' option.

  7. Click OK.


Validating Auto Healing Executable File Status 

You can validate if the auto healing exe file is running by checking the status in the Task Scheduler window next to the associated task. If the task is currently running, the status must display as 'Running.' This indicates that the executable file is actively executing its auto-healing functionality as scheduled.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article