# How to execute a Configlet? Follow the steps given below to execute a configlet: 1. Go to **Settings > Configlets > All Configlets** from the Main Menu. 2. Click on the Execute icon ![Execute icon](https://www.manageengine.com/network-configuration-manager/images/Configlets-How-To-2.PNG) from the last column of the configlet list for the configlet you want to execute. 3. If the configlet uses a variable, provide the variable values. 4. Select the devices for which the configlet needs to be executed. You can also select a device group, if you wish to do so. 5. Click on "Execute". 6. If you have enabled two-factor authentication (TFA), you will receive a 6-digit OTP either via email or an Authenticator app, whichever is selected. If you have not enabled TFA, you can directly execute the configlet without any authentication. 7. Enter the 6-digit OTP in the box provided and click on "Submit". ![OTP verification](https://www.manageengine.com/network-configuration-manager/images/image-6.png) 8. The configlet will be executed. 9. The result of all configlet executions can be seen in the **Execution History** tab under **Settings > Configlets**. To learn more about two-factor authentication in Network Configuration Manager, click [here](https://www.manageengine.com/au/network-configuration-manager/help/two-factor-authentication.html).