Home » Environment Variables
 

Setting Environment Variables

Table of Contents

 

What is an environment variable?

An environment variable refers to a value that is established within a software or operating system environment, and can be accessed by applications running in the same environment. Environment variables are widely used by various programs to configure themselves and communicate with other applications as they contain crucial details about the software and hardware configurations of the operating system. The significance of environment variables lies in their ability to modify the functionalities of applications and services in a specific environment, tailored to the user's requirements, making them crucial for system configuration.

Where can environment variables be used?

The most common usage of environment variable is when you want to set up different configuration options specific to each environment. They help you configure the third party services depending on the environment they are hosted by changing the API key, endpoint and so on.

How to configure an environment variable?

  1. In Endpoint Central Console, navigate to Configurations tab --> Add Configurations --> Configurations--> Windows
  2. Select Environment variables and choose Computer
  3. Specify the name and description for the configuration
  4. In the Configure Environment variable parameter, click to add environment variable
  5. In the Add environment variable criteria,
    • Add the environment variable that needs to be modified or deleted
    • Enter the value that has to be stored in the environment variable.
  6. Define the target
  7. Specify retry options if required and deploy the configuration.
  8. You can also enable notifications to receive emails based on the specified frequency.
  9. Click on the Deploy button to deploy the configuration in all the target machines
  10. To save the configuration as draft, click Save as 

You have successfully configured an environment variable for Windows machines