Skip to content

PowerShell (Manual)

To remove the Lockfy Agent manually from a Windows device, make sure you have the following:

  1. Administrator access to the device (Local or domain accounts).
  2. The Lockfy Agent uninstaller PowerShell script.

Copy LOCKFY_AGENT_UNINSTALLER.ps1 to the root of the C: drive.

  1. Open the Start menu.
  2. Search for Windows PowerShell.
  3. Right-click Windows PowerShell and select Run as Administrator.

In the PowerShell window, change to the root of the C: drive:

Terminal window
cd \
c:

Then verify that the script is present:

Terminal window
dir LOCKFY*.*

You should see LOCKFY_AGENT_UNINSTALLER.ps1 in the output. If not, return to Copy the Script and confirm that the file was copied to the correct location.

If required by your environment, allow signed scripts to run:

Terminal window
Set-ExecutionPolicy AllSigned

Run the uninstaller:

Terminal window
.\LOCKFY_AGENT_UNINSTALLER.ps1

After the script completes, review the output for success or error details before closing PowerShell.

If you need deployment instructions instead of removal, return to the Lockfy Agent overview.