The Delete Environment Variable action is used to remove an environment variable from the user or system space.
From the Task Builder Available Actions pane, open the Environment Variables folder and double-click the Remove Environment Variable action or drag it into the Steps pane.
In the Environment variable name box enter the name.
In the Environment variable scope box, select User, Machine, or Process.
To set the Description tab properties, refer to Description Tab Options.
To set the Error Causes and On Error tab properties, refer to Step Error Handling.
When finished, click OK to save settings and close the properties dialog window.
Adding Task Steps
Delete Environment Variable Action