Win10PRO: how to run a program at user logoff

Ale Madama 276 Reputation points
2021-10-01T13:25:22.25+00:00

Hi all,
I'm struggling trying to run a program at logoff.
Win10Pro
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?

thanks!

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

1 additional answer

Sort by: Most helpful
  1. Ale Madama 276 Reputation points
    2021-10-05T19:14:19.723+00:00

    thank you Castorix!

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

    0 comments No comments