Saturday, 27 September 2014

How to create a bootable usb using cmd


Its is very easy to create a bootable usb with the heap of command prompt.
this method only use in windows 7.

follow these steps one by one.
Insert usb drive in you computer. Start  cmd.. the command prompt will appear.  type these command in cmd.
diskpart → list disk → select disk → clean (this will erase the usb) → create partition primary → select partition 1 → active → format fs=ntfs (it will take 10-15 minutes) 




After completed the format type again in command prompt assign (now you see your usb drive letter change) → exit (now you are exit fom disk part)
Now type the path to the executable file in your windows saved folder, ,ale sure that in your windows folder you have the boot folder with the bootsect executed file.

example the command goes like this E: → cd win7 sp1

→cdboot → bootsect/nt60h: (h is the letter of the usb drive) → exit.

now copy all the files in the windows folder to you usb drive.




Now you can see, your bootable usb is ready.

How can remove autorun.inf from computer without antivirus


Many times you see in your computer there is a file show name autorun.inf. 

When you scan your computer with antivirus the autorun.inf will delete but some problem creates. When you double click the drive and open with window appear how to remove this problem
Firstly u should know what autorun.inf do. Whenever you open any file, drive or folder. It opens in a new window which create many windows at a time.


So how can u remove autorun.inf without any anti malware or antivirus software


Follow these steps one by one.


Firstly open your task manager by alt+clrt+del.
then select Processes on that
there are many applications running already u have to find explorer.exe.
then u have to select explorer .exe and  click end process.


then at the top of file manager there is a option of file
go there and select run new task
a new dialoge box will open in front  of you and then type cmd on it
it will open command prompt for you

then firstly go out of your documents by typing cd..
then you will see c:\>
type there dir/ah



then you will see some hidden files of your c drive
there will be a file named autorun .inf
then type a command del/ah/f autorun.inf
and it will delete the file
and u will get rid of this
 but some times you have to delete it from your all drives
so just type your drive path letter with:
and then the command of dir/ah and del /ah/f.

at the last type explorer.exe in cmd your taskbar is appear and your computer is now autorun.inf free.



Thursday, 25 September 2014

Notepad hidden private folder trick


Some time your want to hide your private document, videos etc. hide the document threw folder option and sometime use many software to protect your document.   I will show you a cool notepad hidden folder trick. No need of any software use only notepad file.

Follow the instruction given below


make a new folder ( name it as you like )
inside this folder make a ( TXT ) file & copy inside it this (the entire thing)

Code:
Quote:
Quote: cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you 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 Private "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%== password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End


After copy the whole document paste in the notepad
u will find this word : password here (Change it with any password u like.) is :



eg: if NOT %pass%== india123 goto FAIL
//so your password here becomes india123 .//
After that go to 'save as' & name this file as "locker.bat "
Now back to the folder & you will find a ( LOCKER ) commanding.

(locker.exe)
Double Click on it & you will find a new folder (Private ) Ok , now copy what u want in this "private Folder" & after that come out of the folder, and Double click on locker again. It will open and ask if you want to lock your folder? Y/N ? Type Y. your private folder will dissapear. If you want to UNLOCK your folder ,go to (locker) & type your pass  and you will see your private folder.

It not only hides the folder, but in case, you unhide all files... and try opening it without entering password, it will take you to the control panel...