HackGh Community Forum

Log in

I forgot my password

Who Is Online?
Guests : 0
Hidden : 0
Registered : 0
Users Online :
Refresh View the whole list

Latest topics
» Getting a PayPal Account in Ghana
Sat Nov 11, 2017 1:34 pm by saudseidu

» How To Unlock All Alcatel Modems and Phones For Free
Thu Oct 26, 2017 11:34 pm by paah11

» Build your bitcoin wealth with Btccashin matrix revolution 100% legit
Sun Oct 22, 2017 7:46 am by rootboy24

» What does the "secret code" *#9900# really do to your Android device?
Tue Oct 10, 2017 1:28 pm by chinesta10

Tue Sep 26, 2017 1:01 pm by kbasante

» Airtel Sika kokoo promo
Wed Sep 20, 2017 4:07 pm by Dagobert

» Glo Proxy Cheat 2016 Fbt/Cheats By HackGhTeaM
Sat Sep 02, 2017 6:31 am by chinesta10

Tue Aug 15, 2017 1:20 pm by akokono

» Instagram Account hacked
Sun Aug 06, 2017 7:17 pm by saudseidu

Sat Aug 05, 2017 7:22 pm by kbasante

Top posting users this month

Free counters!
Staff Online
Staff Online
Most Online179
Newest Member
BBC alternative

You are not connected. Please login or register

 » Computer Tricks And Technology Tips » Pc ( Windows ) Tips & Downloads » 

How To Create An Auto-Lock On PC

View previous topic View next topic Go down  Message [Page 1 of 1]

1 How To Create An Auto-Lock On PC on Thu Jul 09, 2015 6:45 pm


Support Moderator
Support Moderator
Whenever you are working on your PC on some important project and have to leave somewhere urgently, I am sure you dont go before locking your PC , Do you?

Though it sucked when everytime I had to log off everytime to lock my PC. Its a very slow process and I hate my machine working slow. And as we all know that necessity is the mother of invention , I came up with a pretty cool solution of this problem and just loved the outcome:D

Here in this post I'l tell you how to create your own auto PC Locker and lock your PC just by a Double Click.

NOTE:- You must require a possword on Start up for this (no matter admin or user)

Well The method is pretty simple

Open Notepad copy and paste the script below and save it .VBS extention
This wil create a shortcut (on desktop).. run(click) it

set WshShell = WScript.CreateObjec t(?WScript.Shell?)
set oShellLink = WshShell.CreateShor tcut(wshShell.SpecialFol ders(?Desktop?) & ?LockWorkstation.lnk?)
oShellLink.TargetPa th = ?%windir%system32rundll32.exe?
oShellLink.Argument s = ?user32.dll,LockWorkStation?

And you are done.


View user profile

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum