Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running script while PC locked

Status
Not open for further replies.

AgentM

MIS
Jun 6, 2001
387
US
How can I develop a dll in C# that will execute when a PC is locked (eg.Alt+Ctrl+del) ?
Any ideas appreciated.

Thank you.
 
Hi there,

You can create a Windwows service. That way, you can run it in it's own security context.

There's a template (Windows Service) when you create a new project. You will also need to create an installation. There is a great article in the MSDN library which will walk you though the procedure. It's not difficult, but a bit long-winded.

Hope this helped.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top