DEV Community

Cover image for PSEXEC - Run EXE's on the Windows Login Screen
Dan Wheeler
Dan Wheeler

Posted on

PSEXEC - Run EXE's on the Windows Login Screen

This tutorial assumes that you have PSEXEC installed on your machine at the location of C:\psexec.

• Open a CMD Prompt window.

• Navigate to the PSEXEC folder on your machine.

• Run the following command - where cmd.exe is the path to the exe you wish to run (may need to use the full folder path if it isn't one of the standard Windows apps like notepad.exe, calc.exe or cmd.exe):

psexec -sx notepad.exe
Enter fullscreen mode Exit fullscreen mode

• Now Lock the machine (or log out) and the exe file you chose above will be present.

Top comments (0)