Sunday 19 February 2012

Optimize Your Pen Drive for Better Performance

Hi Friends!

Today we are going to learn to Optimize the performance of your pen drive.

The concept behind this trick is that Windows, by default has Quick Removal as USB's policy. In this posts, we will learn to change it from it's default policy to something which can boost it's performance.

Caution: This process requires that you always perform an Eject operation with the device.

Let's start rolling.

Step 1: Click Start. Right click Computer -> Properties




Step 2: Click on Device Manager, top left corner (as shown below)

                             
Step 3: Expand Disk drives. It will give you list of all drives in your system.

Step 4: Right click on your pen drive. Click Properties.    

Step 5: Click on second tab, i.e. Policies.

Step 6: Under the Removal policy panel, click on Better performance. Click OK.

                                                                           
All the steps enumerated from Step 3 are shown in the above pic.

Step 7: Now, remove your pen drive using Eject in the system tray and then connect it again.

That's it, now transfer to and from the pen drive and be assured that that Windows is using the best policy for optimization of your USB.

That's all for now. Wait for next posts, till then Keep Exploring and Sharing!! ^_^

Wednesday 15 February 2012

Boot your Windows like Linux

Hi Friends!

Heartily apologies for not posting/sharing tricks. You know this week, kinda busy(just kidding!)

Let's rock and roll. Today, we are going to learn to boot your Windows like Open Source(which drivers, processes, executable are being loaded into memory and in what order) instead of the blank screen with the cursor blinking at the top left corner.

Step 1: Press Windows+r to open run

Step 2: Type msconfig and hit enter

                                           
Step 3: Click on the second tab: Boot


Step 4: Check OS boot Information 


                                        
Step 5: There's actually no step 5. We are done, now restart your system.

You will view all the system information while booting process is taking place. For OS freaks, this is kinda cool, to know which one is the parent process in Windows. See this screen for better visualization.

                             
Feel free to leave a comment!

Monday 6 February 2012

Password Protected File in Win 7

Hi Friends!

Today I am going to share with you a very special trick to lock and hide a folder in Win 7. It's simple and quite unique, an extension to my earlier posts( the one in which I wrote about folder in God Mode) and the main advantage is that it doesn't require any Third party software.

Of course, everything has a loop hole and the same goes with this one. I will tell about this in the below section.
First let's get started.

Step 1: Create a folder of any name.

Step 2: Double click the folder to enter inside it. Now create a new text file as shown below

                                     
Step 3: Open this text document. Copy and Paste this code:

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


Change the PASSWORD to the password you want to keep. For example, if you want to keep your password as google then rewrite as follows:
                                        if NOT %pass%== google goto FAIL

Step 4: Save this text file as Locker.bat as shown below

                                   
Note the double quotes for "Locker.bat" and Save as types to All Files. Actually only one between the two is needed i.e you either save the file name in double quotes and leave the Save as type to Text Document (*.txt)
or
you can leave the double quotes and change the Save as types to All Files.
I did both to tell you that even this works fine.

Step 5: Now double click the Locker.bat file created above, after a second you will notice that a folder with the name Personal is created (the third line of the code, before we check for the existence of the folder).

                             
Step 6: Copy and Paste whatever you want to keep in this 'Personal' folder. Then double click the Locker.bat file, it will prompt you for confirmation on Locking as shown:


                             
Step 7: Press Y or y  as per the code to lock the folder.

                             
Now the folder will disappear, even if you have set the Folder Options to Show hidden files, folders, and drives


                                
Step 8: To unlock and show this folder, double click Locker.bat. This time it will prompt you to enter the password

                                           
As you can see, I have provided the password in Caps, as the password is case sensitive. Also, keep in mind that the script written above does not show any messages if you enter incorrect password. It just vanishes.

And we are done!

Some tips: you don't need to feel frightened if you forgot your password, just right click Locker.bat, and choose Edit


                                        
Now you can see your password and Unlock 'Personal' folder by following from Step 6 (second part).

As an extra protection measure, you can change the attribute of Locker.bat to hidden and then select Don't show hidden files, folders, and drives(see the second image in Step 7). And whenever you want to use this folder you can change your selection in Folder Options.

Hope you find this useful. Feel free to leave any comments.

          


Saturday 4 February 2012

Enable Default Administrator Account using Command Prompt in Win 7 or Vista

Hi Friends!

Here I am with another post on Windows tricks. In this post, we will learn to activate the Admin account in Win Vista and 7 using command prompt.

The trick is pretty simple and the command is quite self-explanatory. So let's get our hands wet.

Step 1: Open command prompt in administrative mode(as shown below)
                                         
Step 2: Now type in the following command: net user administrator /active:yes
                                             
Step 3: Now log-off your system (Press Win + L) and see that this time you have an option for admin account as well.

N.B.: This admin account is not password protected, so you have to manually set the password.

There are two more methods to do the same. We will learn about them in next posts, till then:

Keep reading... ^_^

God Mode in Win 7

Hi Friends!

Today we are going to learn about Microsoft's undocumented feature-The God mode(AKA Windows Master Control Panel shortcut and All Tasks)- that gives the users quick links to special areas of operating system in Win 7(both 32 and 64- bits). It's called the God mode as it provides the capabilities to navigate to any domain/controller of your system.

Let's start rolling:

Step 1: Create a folder anywhere in your system

Step 2: Rename it to anything.{ED7BA470-8E54-465E-825C-99712043E01C}
    


N.B. : Notice that the icon of this folder has changed to something like the Control Panel.

Step 3: We are done. Now double click on the folder to reveal a link to almost anything in your system
                                                     
So as I told you(as the picture is not clear), when you will enter into the folder, you will find link to tools, utilities, interfaces etc.
There is actually nothing new, all this can be achieved in Control Panel as well. It's just a long big list.

Caution: This shortcut works fine in both Win 7(32 and 64- bit) and Windows Server 2008 32-bit. For Vista user with 64-bit version, this shortcut is not advised as it leads to system crash- you need to boot in safe mode or to the command line and delete this folder.


Wednesday 1 February 2012

Fun @Computer: Computer Gender


Hi Friends!

It's been a long time since I had a word with you all. I guess you all are fine- hacking computers( not cracking it).

My this trick is rather unknown, but a very funny one.

It's about knowing the gender of your computer. You can know if your computer responds to you in a male or a female voice. The trick is simple. So let's start.

Step 1: Open Notepad (Window + R -> (type) notepad )

Step 2: Type CreateObject("SAPI.SpVoice").Speak"I love you"

Step 3: Save the file as "Computer_gender.vbs" 


Step 4: Run this file.

If the "I Love you" message comes to you in a male voice, then your system is Male! or if the message is said by some lady (Microsoft Anna - English (United States)), then your system is a lady... he he he
(other narrators include- Microsoft Mike, Microsoft Marry)

                       

Let's deep dive into this SAPI class. The SAPI object brings the text-to-speech(TTS) capabilities to applications using SAPI automation. An application can create numerous SpVoice objects, each independent of and capable of interacting with the others. The SpVoice object is created with default setting and can be used as soon as it is created.(Refer msdn)

The Speak method initiates the speaking of a text string, a text file, an XML file, or a wave file by the voice.
(Refer msdn)

So, here we are, with a more knowledge on what our computer is.

Catch you guys later. Feel free to post a comment.