Showing posts with label PC tricks. Show all posts
Showing posts with label PC tricks. Show all posts

Friday, January 30, 2015

How to Create a CON Folder in Windows?

Have you ever tried to create a CON folder or any folder with names such as “con”, “prn”, “nul” “com1″ “com2″ “lpt1″ etc. but failed? Is it impossible to create folders with such names in windows?
Well, the answer is NO and YES!
NO because, when create a new folder and try to rename it to any one of the above specified names, you know what happens! In Windows XP the folder name automatically changes back to “New Folder” no matter you try to renaming it any number of times. Where as in case of Windows Vista and Windows 7, when you try to rename the file you get an error message saying “The specified device name is invalid”.
What is the reason behind this? Simple, these names represent the internal devices of the operating system and hence we cannot create folders with the above names.
YES because it is still possible to create these folders using some simple methods as explained below:

1. Using the Command Prompt:

Here is a step-by-step procedure to create the “con” folder using the command prompt:
  1. Go to the command prompt:
  2. Type in the command prompt (For ex. To create a folder in the E: drive by name: “CON”)
    C:\>md \\.\e:\con
    NOTE: “con” can be replaced by any other names such as “prn”, “nul” “com1″ “com2″ “lpt1″ etc.
  3. In case if you wish to delete the folder, use the following command:
    C:\>rd \\.\e:\con
NOTE: This folder can only be deleted from the command prompt. You cannot remove it by right-click delete.

2. Using ALT Key and Numeric Keypad:

You can also use the Alt key and the Numeric keypad to accomplish the same job in a much easier way. Here is how you can do it:
  1. Create a New folder (Right-click -> New -> Folder)
  2. Once the new folder is created, right-click on it and select the option “Rename”.
  3. Hold down the ALT key and type 0160 from the numeric keypad (ALT+0160) and release the ALT key.
  4. Now, the folder name should go blank so that you can type any name of your choice such as “con”, “prn” “nul” etc. and press Enter. That’s it, you’re done!

Monday, December 29, 2014

You can stop open with internet option

Sometimes you can see that some files cant be opened.When you still try to open it by double clicking.Then you see something like"Windows cant open this file......What do you want to do ?

  • Use the web service to find the appropriate program

  • Select the program from a list


If you want to skip the Use web service.... option
Then follow these steps:
>>Go to start >Run > regedit and open registry editor
>>Now navigate to the following registry key:HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer
>>Now create or modify a dword key named InternetOpenWith. Give a value of 0 (zero) to hide the web services or 1 to display web services.

Disable Desktop Settings

If you dont want any users to change desktop settings ,then follow these steps:

>>Open registry editor(Start>Run>regedit)
>>Navigate to the following key:HKEY_CURRENT_USER\Software\Microsoft\WindowsNT\CurrentVersion\ProgramManager\Restrictions
>>Create or edit the DWORD NoSaveSettings. Now to disable saving desktop settings, set its
value to 1.
>>Reboot your PC for setting to take effect.

Change your Windows XP service pack

You can change your service pack 2 or display service pack 3 or even 4 by just following these steps:
>>Go to start>Run>type regedit to open registry editor(Make a backup of your registry if needed)
>>Navigate to :HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows
>>Change the value of CSDVersion from 0x00000200 (SP2) to the Windows XP SP3 value of 0x00000300
>>Reboot and see the change.

Change the default search engine in Internet Explorer

Microsoft has set its default search engine in internet explorer as MSN.Now you can change that search engine to any other you like.
>>Close internet explorer
>>Go to start>Run>type regedit to open registry editor
>>Navigate to following key:HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl
>>Change the value of string key name default to any one of the following values :
>>To specify Metacrawler as the default search page, change the default value to http://www.metacrawler.com/crawler?general=%s
>>To specify AltaVista as the default search page, change the default value to
http://www.altavista.com/cgi-bin/query?q=%s
>>To specify HotBot as the default search page, change the default value to
http://hotbot.com/?MT=%s
>>To specify Google as the default search page, change the default value to
http://www.google.com/keyword/%s

Add Copy To , Move To option in right click menu

Now you can add copy to folder and move to folder options in right click menu by just following these steps:
>>Press win + R to open run window and type regedit to open registry editor
>>Navigate to the following key:HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers
>>Create a new key called "Copy To"and set its value to {C2FBB630-2971-11d1- A18C-00C04FD75D13}
to get Copy To option in your right click menu
>>Create a new key called "Move To" and set its value to {C2FBB631-2971-11d1-A18C-00C04FD75D13}
>>Exit the registry
>>The changes will occur immediately or after a reboot

>>Now, when you right-click a file and choose one of the options, you'll be able to move or copy the file using a dialog box.

Make start menu faster to open up

The actual speed of start menu is very slow .Now you can increase your start menu speed by just following these steps:


>>Go Start>Run  Type regedit to open registry editor
>>Navigate to the following key :HKEY_CURRENT_USER\Control Panel\Desktop  and select Desktop registry folder

>> On right window pane you can see a string named MenuShowDelay
>>Its default value is 400 change it to 20 or any smaller value

>>Now your start menu opens up within 20ms(milliseconds)

Remove startup applications using registry and speedup your PC

Many applications at startup will make your pc slow.So you must remove some unwanted applications using registry or other method already discussed.You can make your PC start faster by doing this.
>>Go to Start>Run Type regedit to open registry editor
>>Navigate to the following      keys:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RUN and HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RUN
>>On the right side ,  Delete keys which show unnecessary applications at startup

Keep your Broadband connection ON even if you log off from your PC

Now you can keep your Broadband connection ON even if you log off from your PC by just following these steps:

>>Go to Start>Run , type regedit to open registry editor
>>In registry editor navigate to the following directory:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

broadband

>>Select winlogon and under it create a new string value named KeepRasConnections
>>Double click it and change its value data to 1

*Thats it now you logoff your PC and login again to see broadband connection still ON

Shake your Browser!

This is a funny trick .By just following these steps you can shake your browser;
>>Copy and paste this javascript in your browser address bar :
javascript:function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j > 0;j--){self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(6) 
>>Then you can see that your browser window is shaking!
* Works better on Internet Explorer.You can increase the value of "i" (@ i=35) to increase number of shakes.

Infinite ejection of CD-DVD drives

This is a PC prank for ejecting CD-DVD drives in and out  infinite times continuously
A VB(Visual Basic) script is mainly used for this prank
Just follow these steps:
>>Go to start>Run>Type notepad to open an untitled notepad fiel
>>In notepad type the following script:

Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
do
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
 loop End If

>>Now go to file >save as>In save as type option select all files
>>Save the file as ieject.vbs 
>>Now you have done a small bot for infinite ejection of CD-DVD drive

*To use it just double click the file
*To stop this Press Ctrl+Alt+Del to open task manager >Go to process tab >search for wscript.exe and end this process

Keyboard Hack

Now you can hack anyones keyboard and make the keyboard automatically type the word you like to be typed for infinite times:
>>Open notepad
>>Type:



Set wshShell = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "You are idiot ."
loop




>>Save it as anyname.vbs and send this to any of your friends or relatives.

*To stop this script from functioning Press Ctrl+Alt+Del to open task manager .In processes tab select Wscript.exe and end its process.

Shutdown or Restart or Logoff your PC at any time

Now you can shutdown your PC at anytime by simply following these small steps:

>>Go to start>Run
>>Type code:at 11:35 shutdown -s to shutdown your PC at 11:35 am
>>To abort type shutdown -a
>>Note all time is in 24 hour format
>>For pm Eg:at 21:30 shutdown -s for 8:30 pm

Also If you want to shutdown your PC in seconds
>>At run type shutdown -s -t 30 to shutdown your PC after 30 seconds

To restart your Pc at any time:
 >>Start > Run
>>Type shutdown -r -t 10 -c "Restarting..."
>>Hit Enter and enjoy !

To logoff:
>>Start>Run
>>Type shutdown -l
>>Hit enter,that's it.

*Note :
-s :: This signify Shutdown Request.
-r :: This signify Restart Request.
-l :: This signify LogOff Request.
-t :: This signify the timer before Restart. (Replace '10' with any number.)
-c :: This signify comment.

*To stop timer Go to Start>Run>Type shutdown -a (abort)

Open command prompt even when it is blocked by admin

Now you can open cmd even when it is blocked by admin.Just follow these steps:
>>Go to Start>All programs>Accessories
>>Open calculator
>>Click Help in the menu and click help topics option
>>When help window opens > Right click on top left corner of that window where you see the symbol  ?
>>And now,click on jump to url and put this : file:///c:/windows/system32/cmd.exe 
>>Now you see that command prompt is opened without admin's permission

Disable win key on keyboard

This is very dangerous hack .Now you can disable win key on keyboard by just following these instructions:
>>Go to Start>Run>type regedit to open registry editor
>>Navigate to the key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\KeyboardLayout

>>Search for value of  Scancode Map .It is in binary.
>>Set its value to 00 00 00 00 00 00 00 00 03 00 00 00 00 00 5B E0 00 00 5C E0 00 00 00 00 to disable the win key.
*Please be cautious while entering this lengthy key.

AutoShutdown PC bot

Now you can scare your relatives and friends with this auto shutdown PC bot
>>Right Click on desktop >New>Shortcut
>>In shortcut window type:shutdown -s -t 60 -c "the message you want to display"
>>Select next> rename it to anything you like.
>>The number 60 in the code is time taken to shutdown your PC in seconds i.e., 60s
>>Now double cilck on the file and see the tragic.

*To stop this bot: Go to start>Run>Type shutdown-a >Hit enter (within 60s).

Easy way to crash a computer(Infinite way)

This is bad thing to say but any PC can be crashed within a minute by just following these steps:

>>Open notepad type
Start
Start
Start
Start
......8 times
>>Save this file as hax.bat
>>Run it
>>It opens up 8 times
>>Then type hax.bat at last line
>>Now this will open up start for infinite times

Enable or Disable XP boot logo

Now you can enable or disable XP boot logo at startup of your PC by just following these steps:


>>Go to Start>Run Type msconfig to open system configuration utility
>>Click on Boot.ini tab
>>Tick/Check the box for /NOGUIBOOT to disable XP boot logo
>>To enable it uncheck that box