Showing posts with label Copmuter Tricks. Show all posts
Showing posts with label Copmuter Tricks. Show all posts

Wednesday, July 18, 2012

How to Delete Stubborn Undeletable Files From Your PC the Easy Way


Delete-Undeletable-files

In Windows operating systems, the administrator is considered to be the user with the most privileges. Despite having more privileges, many administrators are not able to delete their files. If you commonly use a computer as the administrator, you have likely experienced the following issues when trying to delete  files:
  • Cannot delete file: Access is denied.
  • The file is in use by another program or user.
  • The source or destination of the file may be in use.
It is irritating to not have complete access to your files when you are the administrator. Fortunately, you can get rid of these files permanently through the command prompt or by using a program like FileASSASIN.
Using the Command Prompt To Delete Files:

You won’t need third applications to remove files using the command line.
Click the “Start” button and type “CMD” or “Command Prompt” inside the search box.

Type Command Prompt

Right-click the “Command Prompt” icon from the search results and select “Run as administrator.”

CMD Admin

This will launch an elevated or administrator level Command Prompt. Doing this allows you to execute commands without restriction.

Command Prompt

An ideal command for removing a file should look like this:
DEL /F /Q /A C:\Users\Enter your username here\Enter the location of the file here\Enter the file name here
  • DEL: Stands for delete
  • /F: Stands for force delete
  • /Q: Stands for quite mode. This means that it will prompt any notifications such as “Are you sure you want to delete this file?”
  • /A: Stands for various file attributes such as read-only, hidden, ready for archiving, etc.
  • /C: Stands for your main drive. In most cases, it is the “C:” drive.
For example if you want to delete a file named “virus.exe” on the desktop, you should enter the following command:
DEL /F /Q /A C:\Users\HackersRoom\Desktop\Virus.exe
Now hit the “Enter” key to execute the command. This will permanently delete the file.
If you prefer a less geeky way to delete an undeletable file, the software below can help.

FileASSASIN:

FileASSASIN is a free program created by the developers of Malwarebytes—a well-known anti-malware program.
Double-click the executable file to run FileASSASIN.

FileASSASSIN
This is the main user interface of FileASSASIN

FileASSASSIN UI

Click the “Browse” button to find files to delete.

Browse files

After selecting a file to delete, FileASSASIN will provide you with several options. Select the“Delete” option if you want to erase the file.

FileASSASSIN Options

Now click “Execute” to completely erase the file.

Execute
That’s all you need to do to delete a file. Not a complicated process – If you are not comfortable with the Command Prompt, you can always use File Assassin to delete those stubborn files.
Download FileASSASIN

Final Thoughts:

These are useful techniques for removing persistent and harmful malware files. However, remove your files with caution.  You may end up deleting essential files if you don’t do it carefully.

Tuesday, July 17, 2012

How to Enable / Disable “New -> Shortcut” in Windows XP, Vista and 7 Context Menu?


Many system administrators or home users want to restrict a few things from other users for security purposes. Creation of "New Shortcut" is one of them.
Many times we restrict drive access but sometimes it might be accessible using "New -> Shortcut" menu.
So here I'll tell you a simple method to disable "New -> Shortcut" menu, so that no one will be able to create a new shortcut anywhere in your system.
The method to disable "New -> Shortcut" menu is different for Windows XP and Vista. So I'll tell both of them one by one. The method for Windows XP will also work for Windows NT, 98, Me, 2000 and 2003. And the method of Windows Vista will also work for Windows 2008 and Windows Seven.
Disable "New -> Shortcut" Menu in Windows XP:
1. Type regedit in RUN dialog box and press Enter. Now goto:
HKEY_CLASSES_ROOT\.lnk\ShellNew
XP_Shellnew_Key.jpg
2. In right-side pane, you'll see a string value "Command". Double-click on it and delete the complete string from "Value data" box.
3. That's it. Now whenever a user will try to create "New -> Shortcut", Windows will show following error message:
Error_while_creating_new_shortcut_i.jpg
And the process will create an empty file "New Shortcut" which you can delete later.
Disable "New -> Shortcut" Menu in Windows Vista and 7:
1. Type regedit in RUN dialog box and press Enter. Now goto:
HKEY_CLASSES_ROOT\.lnk\ShellNew
Deleting_Shellnew_Key.jpg
2. Now delete the "Shellnew" key.
3. That's it. It'll completely remove "Shortcut" item from "New" menu:
Vista_New_Context_Menu_without_Shor.jpg

How to Hide / Show Specific Control Panel Applets / Icons in Windows?

This tutorial will guide you to hide or show any specific Control Panel applet in Windows. This tutorial will work for all Windows versions: NT, 95, 98, Me, 2000, XP, Server 2003, Vista, Server 2008 and 7.



METHOD A: For All Windows Versions except Windows 95, 98 & Me
1. Type regedit in RUN dialog box and press Enter. Now go to:
HKEY_CURRENT_USER\Control Panel\
OR
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\
2. Under this key create a new key with the name don't load , so the new path will be:
HKEY_CURRENT_USER\Control Panel\don't load
OR
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\don't load
3. Now in right-side pane, create new String value. Set its name to the file name of the applet which you want to hide, e.g. if you want to hide Display applet then set its name toDesk.cpl now set its value to no to hide it. If you want to show it again, either set its value toyes or simply delete the String value.
To use the above mentioned method, you'll need to know the .CPL file name of the desired applet. You can search for .CPL in Windows Search or you can use help of following list which contains .cpl file names of almost all default Control Panel applets:
CPL File NameApplet Name
Access.cplAccessibility
Appwiz.cplAdd or Remove Programs
Bthprops.cplBluetooth Devices
Desk.cplDisplay
Hdwwiz.cplAdd New Hardware
Inetcpl.cplInternet Options
Intl.cplRegional and Language Options
Joy.cplGame Controllers
Keymgr.cplStored User Names and Passwords
Liccpa.cplLicensing
Main.cplMouse
Mlcfg32.cplMail
Mmsys.cplSound and Audio Devices
Ncpa.cplNetwork Connections
Nusrmgr.cplUser Accounts
Nwc.cplNetware client connectivity
Odbccp32.cplODBC Data Source Administrator
Powercfg.cplPower Options
Sysdm.cplSystem
Telephon.cplPhone and Modem Options
Timedate.cplDate and Time
Sapi.cplSpeech
Wuaucpl.cplAutomatic Updates
Wscui.cplSecurity Center or Action Center

METHOD B: For All Windows Versions except Windows 95, 98 & Me
1. Type regedit in RUN dialog box and press Enter. Now go to:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
2. Look for a key "Explorer" under it. If its not present, then create a new one and give it name Explorer.
3. Select "Explorer" key and in right-side pane, create a new DWORD value DisallowCpl and set its value to 1
4. Now create another new key under Explorer key with the name DisallowCpl so the new path will be:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ Explorer\DisallowCpl
5. Select "DisallowCpl" key and in right-side, create new String value with name 1 and set its value to the applet name which you want to hide.You don't need to use the .cpl file name of applet in this method. You have to put the applet label which you see in Control Panel.

e.g., If you want to hide AutoPlay applet, then create a new String value, give it name 1 and set its value to AutoPlay. If you want to hide more applets, then simply create more String values with names 2, 3 and so on and set their values to the applet label.
METHOD C: For All Windows Versions except Windows 95, 98 & Me
This method is opposite of METHOD B. In this method, you'll tell Windows which applets should be visible and Windows will automatically hide the rest.
Its useful when you want to show a few specific applets and want to hide remaining applets. So you just need to create a few String values to tell Windows which applets you want to show. It'll save your valuable time.
1. Type regedit in RUN dialog box and press Enter. Now go to:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
2. Look for a key "Explorer" under it. If its not present, then create a new one and give it name Explorer.
3. Select "Explorer" key and in right-side pane, create a new DWORD value RestrictCpl and set its value to 1
4. Now create another new key under Explorer key with the name RestrictCpl so the new path will be:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ Explorer\RestrictCpl
5. Select "RestrictCpl" key and in right-side, create new String value with name 1 and set its value to the applet name which you want to show.You don't need to use the .cpl file name of applet in this method. You have to put the applet label which you see in Control Panel.

e.g., If you want to show AutoPlay applet, then create a new String value, give it name 1 and set its value to AutoPlay. If you want to show more applets, then simply create more String values with names 2, 3 and so on and set their values to the applet label.
Now Windows will only show the applets which you mentioned in String values, other applets will be hidden.
METHOD D: For Windows 95, 98 & Me
1. Open "%windir%\Control.INI" file. Where "%windir%" denotes Windows folder which is present in system drive where Windows is installed.
2. You'll see a line saying [don't load] in the file. If you can't find it, then create a new line at last.
3. Now under this line, you can set .CPL file name of your desired applet which you want to hide in following format:
filename.cpl=no
e.g.,
If you want to hide Display applet, then the syntax will be:
desk.cpl=no
You can create similar lines for other applets which you want to hide. The .CPL file name can be obtained from the list mentioned in METHOD A.
METHOD E: Using TweakUI Power Toy
You can also use Microsoft official powertoy "TweakUI" to easily hide/show control panel applets.
Download TweakUI from here. Run it and click on "Control Panel" in left side section. Now in right-side list, you can easily hide/show desired applets by just enabling/disabling the appropriate applet checkbox.

Click on Apply button and you have done.

NOTE: This tutorial can also be used in case some applets in Control Panel have been disabled accidentally and you want to enable them again. Just follow the steps mentioned in above methods and delete the required string value or line.

How To Prevent Overheating Of Your PC's Internal Parts


People who use their Computers for hours and hours always have a chance of getting their CPU fried due to Overheating. As PCs contain a lot of parts inside it, almost all of them generate heat when your computer is on. Some parts, like the CPU and graphics card produce too much heat, when the computer is on for too many hours. In a properly configured computer, much of this heat is moved out of the computer's case by several fans. If your computer isn't removing the hot air fast enough, the temperature can get so hot that you risk serious damage to your PC.
Causes Of Overheating:
  • Blocked or Malfunctioning Fans. The processor, some video cards, and even the CPU case itself have fans; however, when one or even all of them get blocked or damaged, insufficient air is allowed to go in or out, causing dangerous heat buildup. Dirt, dust, and other particles may stop the fans from working.
  • Improper Air-flow. Even if your fans are working properly, when cables and other peripherals are improperly arranged, they may block the airflow resulting to overheating.
  • Overclocking. Overclocking or “OC-ing” is a tweak done by enthusiasts to increase the speed and performance of their machines. It involves the modification of the voltage and frequency of the device, causing more heat. Overclocking needs high-performance or customized cooling systems. Without them, the system will surely overheat.
  • Location of CPU. The location of the CPU is also a factor for overheating. If the case is placed at a small crowded area, chances are, the generated heat cannot escape and proper airflow is restricted, rendering the cooling system useless.
The Dangers of CPU Overheating: 
There is a limit on how high the temperature each hardware can tolerate. Once the temperature goes over that threshold, things like these can happen:

  • Melt your device. Excessive heat may melt plastic components. For example, a processor with a jammed fan may melt the socket and even the motherboard, making it useless.
  • Shorten its lifespan. Some devices may be able to endure overheating but may have a severely shortened lifespan. An overheating video card may last only for a year or less rather than several years.
  • Cause fires. Cables and shells in your CPU may melt, short circuit, and later catch fire when the system overheats.
  • Consume a lot of electricity. When a device overheats, it becomes less energy efficient, consuming more power than usual.
Common Signs of Overheating:  
It is hard to know if your computer has a cooling problem. In some computers, you will only know that it is overheating once it's too late. Newer models have security measures that can detect temperatures when these are getting too high. Here are the common signs:
  • Hot exhaust
  • Frequent and sudden restarts
  • Frequent shutdowns
  • Noisy fans.
Getting Rid of Overheating:
Overheating not only damages your computer, but can also cause a big dent in your pocket when the electric bill comes. Here are some tips to prevent overheating:
  • Clean the CPU regularly. Dust and dirt can accumulate inside your computer and later block openings and fans. Use a brush and some pressurized air or a portable vacuum to easily remove those potential blockages.
  • Rearrange the cables. Arranging the cables in your CPU will greatly help reduce the amount of heat that gets trapped inside. IDE cables, floppy cables, and even the cables from the power supply should be arranged in a manner that it does not restrict or trap air flow from the cooling system. You can replace your Flat IDE cables with the round type so that it does not trap heat. If you have more than one harddrive, you may want to put them slightly apart.
  • Invest in a better cooling system. If you have high-end computer hardware, invest in a good cooling system. You can either go cheap by buying extra heavy duty fans or go hardcore and buy pricey water or gas cooling systems.
  • Let the CPU “breathe”. The place where you put your CPU matters. Don't place it down under your tight desk nor place it inside a closed cabinet. Place it in an area where its fans can get enough cool air inside the case plus enough space to throw out the warm air from inside.
  • A Temporary Fix When you don't have enough time or money to fix your computer's cooling system, a good way to temporarily get rid of overheating is by opening the case. You can then face an electric fan directly in front of it to cool it down as you use the PC. Just make sure you close the case right after you finish using your computer to prevent dirt and other foreign objects from entering it.
Summarizing The Tips (Given Above):
  • The easiest thing you can do to keep your PC cool is to give it a little breathing room by removing any obstacles to air flow. Most of the hot air flows out of the back end of the computer case. There should be at least 2 to 3 inches open on either side and the back should be completely open and unobstructed.
  • The Fans inside your PC are Responsible for Keeping the computer cool. Try to Clean them every once or twice a week to remove dusts, etc. These dusts slows down the fan and eventually makes it stop.
  • Replace the Fans with new ones if the old one doesn't work properly or gets partially burned.
  • Always keep your computer in a clean, well-ventilated area.
  • Open your PC's case once or twice a year and use a computer vacuum or can of compressed air to clean out built up dust and debris.
  • If your computer still getting heated with its built-in fans, get a small, external fan to blow into your computer.
                                               Enjoy.....