Lock Workstation in Desktop flow using Microsoft Power Automate

Introduction

Microsoft Power Automate is a software by Microsoft for the automation of recurring tasks. It is part of the Microsoft Power Platform line of products together with products such as Power Apps and Power BI. More Details https://powerautomate.microsoft.com/en-us/

Desktop flows are the existing robotic process automation (RPA) capabilities in Power Automate and enable to automate of all repetitive desktop processes.

The workstation group of actions provides a collection of actions that automate some essential functionalities of your workstation. To lock the workstation, use the Lock workstation action and Locks the workstation's display to protect it from unauthorized use.

Reading this article, you can learn how to Lock the workstation using the Lock workstation action in a workstation group of actions with Desktop flow using Microsoft Power Automate.

The following important tools are required for developing Microsoft Power Automate,

  1. Windows 10/11 (Recommended)
  2. Power Automate Desktop - Download the Power Automate installer

Now we can discuss step-by-step App development.

Step 1

Open Microsoft Power Automate ->  New Flow

Next, Give the Flow name as PADLock, Click the Create button,

Build a Flow

After that, we are able to see the Desktop flow,

Actions

Step 2

For Testing Lock workstation action in the Workstation group of actions,

For Notifying the Lock Screen, Add the Display message action and Set the Message box Title Parameter as MsgLockNotif, Message to display Parameter as "Locks the workstation's display to protect it from unauthorized use" Click Save Button

Actions

Next, Add the Lock workstation action, and Click the Save Button

Action

Now, Save the PADLock Desktop Flow,

Actions

Step 3

Now we can run your PADLock Desktop Flow in Microsoft Power Automate, 

The output of the PADLock is,

Summary

You have successfully tested the Lock workstation action in Desktop flow – PADLock in Microsoft Power Automate.


Similar Articles