Jump to content
Sign in to follow this  
mozart90

How to Lock a Computer

Recommended Posts

mozart90

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

Share this post


Link to post
Share on other sites
November

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

Try this :

%windir%\System32\rundll32.exe user32.dll,LockWorkStation

Cheers


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]

Share this post


Link to post
Share on other sites
mozart90

Try this :

%windir%\System32\rundll32.exe user32.dll,LockWorkStation

Cheers

Thanks, that it is!

Regards Mozart90

Edited by mozart90

Share this post


Link to post
Share on other sites
MPHillier

this is working for me

DllCall("user32.dll", "int", "LockWorkStation")


I Break and Fix things... If the surf is up I'm outta here.....

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×