9 Mar 2012

Lock File(s) on Windows Without Using Any Software

In this post i am going to share a simple yet powerful way of locking and hiding important files using a the following method. Follow the instructions to make you own Locker ( Without any software !! ) :
  • Open notepad.
  • Copy the following code in notepad file :

    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%==YOUR PASSWORD HERE 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
  • Change the “YOUR PASSWORD HERE” with your password.
  • Save it as batch file ( with extension .bat ) For eg. Locker.bat
  • Now you will see a batch file. Double click it to create a folder locker ( A new folder named Locker would be formed at the same location )
  • Thats it you have now created your own locker and that too without using any software !
  • Brings all the files you want to hide in the locker folder.
  • Double click the batch ( As created above ) file to lock the folder namely Locker.
  •  
  • if you want to unlock your files, simple double click the batch file again and you would be prompted for password ( In DOS window ). Enter the password and enjoy access to the folder.

Slowly Type Messages

This one is my favorite. Completely harmless trick and perfect for playing pranks on one’s friends. This trick can really freak out anyone! Follow the below mentioned steps to perform this trick:
  • Open Notepad.
  • Paste the following code in the notepad file:
WScript.Sleep 180000
WScript.Sleep 10000
Set WshShell = WScript.CreateObject(“WScript.Shell”)
WshShell.Run “notepad”
WScript.Sleep 100
WshShell.AppActivate “Notepad”
WScript.Sleep 500
WshShell.SendKeys “Hel”
WScript.Sleep 500
WshShell.SendKeys “lo ”
WScript.Sleep 500
WshShell.SendKeys “, ho”
WScript.Sleep 500
WshShell.SendKeys “w a”
WScript.Sleep 500
WshShell.SendKeys “re ”
WScript.Sleep 500
WshShell.SendKeys “you”
WScript.Sleep 500
WshShell.SendKeys “? ”
WScript.Sleep 500
WshShell.SendKeys “I a”
WScript.Sleep 500
WshShell.SendKeys “m g”
WScript.Sleep 500
WshShell.SendKeys “ood”
WScript.Sleep 500
WshShell.SendKeys ” th”
WScript.Sleep 500
WshShell.SendKeys “ank”
WScript.Sleep 500
WshShell.SendKeys “s! “
  • Save the file with any name and with .vbs extension and close it.
In order to end the vbs script , open task manager and end the wscript.exe process

Type “You are a fool” Continuously

Not much to explain, the title says it all! Follow the steps to make this trick work:
  • Open Notepad.
  • Paste the following code in the notepad file:
Set wshShell = wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “You are a fool.”
loop
  • Save the file with any name but with .vbs extension and close it.
Ope the file and see how it makes you type!

Shut-down The Computer After Conveying Any Message

This one is kind of an annoying trick and if used unknowingly can certainly cause problems (am serious). What this trick does is, after conveying a (any) message it shuts down the computer without any confirmation. In order to create the Shutdown file, follow the below mentioned steps:
  • Open Notepad.
  • Paste the following code in it:
@echo off
msg * Its time to get some rest.
shutdown -c “Error! You have to take rest! Byeeeeee” -s
  • Save the file with any name but with .bat extension and close it. For eg. TakeRest.bat
NOTE : Use this carefully. If you are playing prank then keep in mind that this may lead to loss as it shuts down the computer forcefully.

Constantly Repeat Messages

Using this notepad trick you can annoy anyone and can actually force them to log off or leave the computer (LOL….). This notepad trick will create an infinite cycle of a message in the computer. Follow the steps to know more:
  • Open Notepad.
  • Paste the following code in the notepad file:
@ECHO off
:Begin
msg * Hi
msg * Are you having fun?
msg * I am!
msg * Lets have fun together!
msg * Because you have been o-w-n-e-d
GOTO BEGIN
  • Save the file with any file name but with .bat as extension and close it. For eg. Freaky.bat
After saving the file just open it (by double clicking) and see what happens.
Pssstttt……. You can piss of your friends by sending it as an email attachment asking them to try it out !

Matrix Effect

Not much to explain, just follow the steps and see the amazing matrix effect happen in your DOS window:
  • Open Notepad.
  • Copy the below mentioned text in your notepad file:
@echo off                                                                                  
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start
  • Save the file with .bat extension like Matrix.bat
Thats it. Just open the file to see the matrix effect right before your eyes!

How To Convert FAT32 TO NTFS File System Without Loosing Data

Types of file system

It is basically of 3 types:-
  • Disk
  • Network
  • Special purpose
 FAT32(File Allocation Table) and NTFS(New Technology File System)  are the types of Disk file System. FAT32  was used in DOS and Windows 98 but with the launch of Windows XP a new file system “NTFS” was introduced which is used widely because it provides high security and better performance.

Here is the step by step tutorial to convert FAT32 to NTFS.
  • Open Window Explorer and note the drive letter of which you wan to convert file system
  • In search bar type CMD and right click on it, Select Run As Administrator
  •  

  • Now Runchkdsk G: /f “ (without quotes) here G is the drive letter. This checks the drive for errors and fixes them automatically.
  • RunConvert G: /FS:NTFS” (without quotes).
  • Wait for some time, then a message will display on the command prompt stating Conversion Complete.