The Close windows block is used in Desktop automation to close or minimize all open windows on the desktop. When the block runs, it performs the selected action on every open window and then returns control to the rest of the flow.
Fully expanded, the block shows the following properties:
Note: The screenshot on this page uses the Elegance Design, introduced in 2025.3. If you are using an earlier version, your layout may look different.
Quick-start
-
Drag Close windows onto the canvas.
-
Connect the block in the flow and optionally adjust parameters such as Action and Await no movement.
-
Run the flow when it’s ready.
Building block parameters
Resources
|
Topic |
Description |
|---|---|
|
Common questions about creating, running, and managing flows in Leapwork. |
|
|
Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork. |