mozart90 Posted June 5, 2007 Share Posted June 5, 2007 Hi, I'm searching for a funktion which locks the Computer. But I don't want to send a alt-ctrl-del and then the clickbutton to lock the computer. Is there a dll call or a function for this duty ? Thanks Mozart90 Easy Zip Compression using XP Link to comment Share on other sites More sharing options...
November Posted June 5, 2007 Share Posted June 5, 2007 Hi,I'm searching for a funktion which locks the Computer. But I don't want to send a alt-ctrl-del and then the clickbutton to lock the computer.Is there a dll call or a function for this duty ?Thanks Mozart90Try this :%windir%\System32\rundll32.exe user32.dll,LockWorkStationCheers Old Scriptology Visual Ping 1.8 - Mass Ping Program with export to txt delimited. Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code. Desktop 2 RGB - Pick a color in the desktop and get the RGB code. ShootIT 1.0 - Screen Capture full and partial screen [font="'Arial Black';"]Remember Remember The Fifth of November.[/font] Link to comment Share on other sites More sharing options...
mozart90 Posted June 5, 2007 Author Share Posted June 5, 2007 (edited) Try this :%windir%\System32\rundll32.exe user32.dll,LockWorkStationCheersThanks, that it is!Regards Mozart90 Edited June 5, 2007 by mozart90 Easy Zip Compression using XP Link to comment Share on other sites More sharing options...
MPHillier Posted June 5, 2007 Share Posted June 5, 2007 this is working for me DllCall("user32.dll", "int", "LockWorkStation") I Break and Fix things... If the surf is up I'm outta here..... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now