Showing posts with label Lock Tricks. Show all posts
Showing posts with label Lock Tricks. Show all posts
Sponser

Suppose you want to lock the folder movies in d: which has the path D:\movies.

In the same drive create a text file and type
ren movies movies.{21EC2020-3AEA-1069-A2DD-08002B30309D}
Now save this text file as loc.bat

Create another text file and type in it
ren movies.{21EC2020-3AEA-1069-A2DD-08002B30309D} movies
Now save this text file as key.bat


you can see 2 batch files loc and key. Press loc and the folder movies will change to control panel and you cannot view its contents. Press key and you will get back your original folder.


another option:

Here is a simple code that i developed to lock and unlock any folder.
copy the code below in notepad and save the file with any file name with the extension ".bat"


Code:
@ECHO OFF
ECHO 1 - Lock File
ECHO 2 - Unlock File
ECHO 3 - Quit
ECHO Enter Choice.
SET /P variable=

IF %variable%==3 exit

IF %variable%==2 GOTO UNLOCK

IF %variable%==1 GOTO LOCK

:LOCK
ECHO Enter Folder Name To Lock
SET /P Variable1=
REN %variable1% %variable1%.{21EC2020-3AEA-1069-A2DD-08002B30309D}
exit


:UNLOCK
ECHO Enter Folder Name To UnLock
SET /P Variable1=
REN %variable1%.{21EC2020-3AEA-1069-A2DD-08002B30309D} %variable1%
exit
Note:
  • It is not at all secure.
  • The locked folder can be unlocked using the program or by simply renaming and removing the added code.
  • You can distribute the above code to any one, any number of times

Sponser

Instead of pressing CTRL+ALT+DEL or windows + L to lock your machine you can create an icon to lock your machine. There are very simple steps by using it you can simply lock your computer
using single mouse click.


Just Follow the simple step >>

1. Right click

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

2. In the Create Shortcut dialog box, type the following in the 'Type the location' of the item text box:

rundll32 user32.dll,LockWorkStation



3. Click Next

4. In "Type a name for this shortcut", type "" (any name as u wish) and Click Finish

5. This will Create a shortcut in your Desktop.

6.Now each time when you want to lock the computer , Just click on this shortcut.

Recent Post :

Popular Posts