Showing posts with label lock. Show all posts
Showing posts with label lock. Show all posts

Wednesday, July 28, 2010

Tips: How To Lock Computer Shortcut

Creating Shortcut To Lock Computer



1. Right click an empty spot on the desktop, point to New and click Shortcut.

2. In the Create Shortcut dialog box, copy the following into the 'Type the location' of the item text box: "rundll32 user32.dll,LockWorkStation" remove quotes while typing.

3. Click Next.

4. In "Type a name for this shortcut", type LOCK or whatever you want and Click Finish

5. Now just click on that icon and enjoy. ...

Tips: lock, hide & password protect your folders...



Trick to lock folder
using this trick not only for locking folder but also hide it....
copy following script:-

cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==mayank goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End

now go for following few steps
1. paste above text into notepad.
2. save that file by extension .bat ( name is ur choice)
3. now on ur screen there is a bat file appear.
4. double click on that file.
5. a new folder named locker will appear on the screen.
6. keep the files and folders u want to lock in that locker folder.
7. now again double click on that batch file to lock that locker folder.
8. after locking that folder it will become hidden.
9. to open that folder double click on that bat file
10. type ur password & open that folder.
11. password for the locked folder is mayank