Win10PRO: how to run a program at user logoff

Ale Madama 276 Reputation points

Hi all,
I'm struggling trying to run a program at logoff.
I tried with gpedit.msc (User Configuration\Windows Settings\Scripts (Logon/Logoff)) but it seems not working.
Moreover, the script/program would have been launched as "user", not as admin, and I need admin rights.
I verified that task scheduler hasn't any option for logoff...

What can I use?


Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,187 questions
0 comments No comments
{count} votes

1 additional answer

Sort by: Most helpful
  1. Ale Madama 276 Reputation points

    thank you Castorix!

    and excuse me for the tag... :-/

    0 comments No comments