Autor Beitrag
Nowo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 108



BeitragVerfasst: So 11.05.08 19:38 
Man kennt ja den Befehl Lock Workstation,
der mit dem einfachen wider anmelden (Ok drücken im anmeldebildschirm)
aufgehoben werden kann.

Ich möchte aber die Workstation amit dem Befehl "Ent"locken den der "OK-Button" giebt.
Ich habe leider nichts gefunden, keine befehle, nur Hinweise zum Locken:
TFNLockWorkStation(GetProcAddress(HUser32, 'LockWorkStation'));
usw...

(Warum ? - Nun wenn die Workstation gespeert wird, erscheint ein Schwarzer Bildschirm, ein Tastatur sowie Maushook.
ich möchte eine applikation die in einem bestimmen intervall die Workstation entspeert falls "Gelockt" ist)
// ja es geht nicht um meinen eigenen desktop

Kann mir jemand helfen ?

_________________
Grüße Nowo
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: So 11.05.08 21:57 
Geht AFAIK nur über Passworteingabe. Wär ja auch irgendwie bedenklich...

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
Chryzler
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1097
Erhaltene Danke: 2



BeitragVerfasst: So 11.05.08 22:15 
Müsste theoretisch machbar sein, wenn auch sehr unsauber. Mehr dazu hier.
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mo 12.05.08 00:11 
Moin!

Spätestens unter Vista läuft das dann nicht mehr, da hier Dienste isoliert sind. :idea:

Ich halte auch nicht wirklich was davon, sowas per Code überhaupt "machen zu müssen", und möchte hiermit - für den Fall einer detailierten Anleitung - die Schließung/Löschung des Threads in Aussicht stellen. :mahn: :|

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Mo 12.05.08 00:26 
Ausweg: eigenen Lock-Screen auf eigenem Desktop erstellen. Mit dem kannst du dann tun und lassen, was du willst.

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."