PORTS Forum

Ports and Interfaces => USB => Topic started by: Roibert on March 10, 2023, 05:57:04 am

Title: Window Password or Lock
Post by: Roibert on March 10, 2023, 05:57:04 am
Dear Forum.

Have USB protocol some message that inform a USB device if a user insert or not the Password
(at begin of window).

I noted  time ago (my previous post about Window Ibernation), that USB is full active immidiatly
at end of suspension or ibernation  (the SOF flag was detect in the INTERRUPT of my uC  ).

Thanks
Roberto
Title: Re: Window Password or Lock
Post by: Renate on March 10, 2023, 10:03:53 am
You could have scripts run on Windows logon/logoff.
You'd have to make your own USB protocol to inform your device if you're logged on.
Add a Feature Out Report.

gpedit.msc > User Configuration > Windows Settings > Scripts (Logon/Logoff)
Title: Re: Window Password or Lock
Post by: Roibert on March 10, 2023, 12:51:48 pm
Thanks Mr Renate for your reply.

I didnt know it was possible to run a script on this events.

Unluck, this cant help me because means to install this script on any computer ,and, this
could be equivalent at install some other app to the computer, some that is not possible
for me.

Thanks again
Roberto
Title: Re: Window Password or Lock
Post by: Renate on March 10, 2023, 02:10:28 pm
AFAIK, Windows doesn't leak the login status unless you explicitly do it yourself.

Ms. Renate
Title: Re: Window Password or Lock
Post by: Roibert on March 14, 2023, 04:52:30 am
Thanks very much for your reply.

Roberto