Tuesday 18 November 2014

Password Protect Any Folder Without Any Software

In my previous post i have teach you to hide files behind images. In this tutorial i will show you interesting and usefull trick to password protect folder without using any software using batch file programming. This trick will work on all windows platform (Win XP, Win 7). Follow below tutorial to learn this trick.

How To Lock Folder ?

   1. Open Notepad and Copy code given below into it.
cls
@ECHO OFF
title RanaTricks.blogspot.com
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo Are you sure to lock this 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 MyFolder "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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== RaNaTricks goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
go
to End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End
   2. Save the notepad file as lock.bat (.bat is must)
   3. Now double click on lock.bat and a new folder will be created with name MyFolder
   4. Copy all your data you want to protect in that New folder
   5. Now double click on lock.bat and when command promp appears Type Y and press enter.
   6. Now MyFolder will be hidden from you view, to access that folde double click on lock.bat
   7. It will ask for password enter your password and done. (Default password is RanaTricks)
  • To change the password replace RanaTricks with  new password in the above code

Monday 18 August 2014

Registry keys Secrets

The registry is not a single self contained file, but an extensive Database, which works mainly with 7 files. These files be evaluated at each start of WinXP and are about registry then Windows, and all working on the computer programs.

XP registry keys

Here below are the some important windows XP registry keys secrets and their functions also you can know about registry keys  and about their uses as well in detail.

HKEY_CLASSES_ROOT

In the upper section all file extensions for known file types are stored. If you have, For example, Microsoft Word installed on your computer, find here the Entry. Doc for Word documents.
In the right window you will see the entry standard of the value as the name for registered file type contains. Designation for registered file types appear in part as a key in the bottom. Here the properties of registered files are stored on other and the commands set that you see the context menu for a file type. The corresponding commands you can find in the subkey shell of a file type.
More File properties that are managed here, ss also the symbol with which the file is displayed in the Explorer Commands that are executed when you double click the file name, So about the start of the linked program. Here you will find a key named CLSID with numerous sub-basins, which are filed by OLE-enabled applications and ActiveX components. These keys are used by Windows XP to drag and drop and OLE for be able to implement certain programs.

HKEY_USERS

Here are all information about users who log on to the computer that saved. This information set for firm B:-
a.  Default settings for the DEsktop.
b.  Default settings for the Control Panel.
c.  Default settings for Network Connections.
d.  Default settings for the Installed Programs.
When installing WinXP, the DEFAULT subkey is created in which the Information is available that apply to all users of the computer alike. By default, find here the DEFAULT and SOFTWARE two key. If the user profiles enabled in Windows, so created a user is created at least one other key, that of the current user.

HKEY_CURRENT_USER

The current logged-on user. If a user logs in the start of WinXP with the login name, all Settings from the HKEY_USERS key used. If no personal User name on the computer account, Windows uses by default the data
for standard users from the key DEFAULT. Hence, the configuration the computer and the desktop for each user are identical.

HKEY_LOCAL_MACHINE

Here are the hardware and software is managed. Similarly, the driver used. This means that the information stored here for all users of the System apply. When Windows start searching here on existing hardware. In subkey Software Registry stores all information about the installed programs.

HKEY_CURRENT_CONFIG

The main key stores information about hardware profiles. The key system / class can contain multiple keys named 000x, which are always numbered consecutively. Each of these 000x key stores information for a particular configuration.

Windows XP registry keys secrets in Urdu