A small description

Make the best out of your PC. Here you can find some nice, useful tips and tricks that can be used to tame your PC. I hope you will find the tricks posted here useful. I have made the language as simple as possible so that it can be understood even by a noob. If you have any queries or want help feel free to question, I will try to shelp you out. If you have any good trick that you want to share with us, please tell us. Your suggetions/comments are always invited.

Google translate

October 27, 2008

Make the DVD drive go in and out

This trick will make your dvd drive go in and out automatically. However this may not work in laptops as once the drive is opened it has to be closed manually, but this will work in a different way if any one try to close the drive in laptops it will open automatically.

Copy this script in a notepad:::


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



and now save it as run.vbs

guys, to stop this just open task manager and in processes tab u can see wscript.exe, rightt click on it select "end process tree "!!! dats it !! the loop wll now stop !! dont select "end process " as it wll not stop the loop !!! 
cheers..

Pop up a msg on start up

This Trick pops up a Message Box on Start Up !

** You Must Have Administrator Privileges !

Start>Run

type: regedit

This will open the ' Registry Editor ' !


Now,


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WinLogon


Now, on the right hand side :


Right Click>New>String Value



Name it : LegalNoticeCaption



Now, double click it and in value data feild write the text that you want in the title of the Message Box !



Now Again : 


Right Click>New>String Value



Name it : LegalNoticeText



Now, double click it and in value data feild write the text that you want to display in the Message Box !


Note::

Use registry editor carefully. Make a back up of the registry before carrying out any tweaks, this can be done by using the export feature from the file menu.

Flash The Lights On Your KeyBoard!!!!

These codes when executed makes your Caps,Num,Scroll lock keys flash..
very kewlll...i hav tried it...and This will not harm your computer....

1.This piece of code makes ur keyboard a live disco...

Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"
loop


2.This one makes it looks like a chain of light....

Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 200
wshshell.sendkeys "{CAPSLOCK}"
wscript.sleep 100
wshshell.sendkeys "{NUMLOCK}"
wscript.sleep 50
wshshell.sendkeys "{SCROLLLOCK}"
loop



Instrcuctions:

*Paste any of the two above codes in notepad
*Save as "AnyFileName".vbs
*Run the file
*To stop, launch task manager and then under "Processes" end wscript.exe

October 26, 2008

Delete: Access denied files

There are many times when you try to delete a file and it throws a message on you saying
"Cannot delete file: Access is denied"
 
There has been a sharing violation.
The source or destination file may be in use.
The file is in use by another program or user.
Make sure the disk is not full or write-protected and that the file is not currently in use.

So if the file is in use, how do you delete it?

# Click on Start, Search, All Files and Folders
# Type the name of the undeletable file in the box shown
# Make sure the Look In box shows the correct drive letter
# Click Search and let the computer find the file
# Once the file is located, right-click on it and choose properties, make a note of the file location. Usually this is something similar to
c:\windows\system32\undeleteablefilesname.exe
# Close the search box
# Click on Start, Run, and type CMD and Press Enter to open a Command Prompt window
# Leave the Command Prompt window open, but proceed to close all other open programs
# Click on Start, Run and type TASKMGR.EXE and press Enter to start Task Manager
# Click on the Processes tab, click on the process named Explorer.exe and click on End Process.
# Don't worry about the blank screen.
# Minimize Task Manager but leave it open
# Go back to the Command Prompt window and change to the directory where the file is located. To do this, use the CD command. See the cmd tutorial for more details. You can follow the example below.
Example: to change to the Windows\System32 directory you would enter the following command and Press Enter
cd \windows\system32
# Now use the DEL command to delete the offending file. Type DEL where is the file you wish to delete.
Example: del undeletable.exe
# Use ALT-TAB to go back to Task Manager
# In Task Manager, click File, New Task and enter EXPLORER.EXE to restart the Windows shell.

Block Or Unblock Websites

Block Or Unblock Websites without software !
 

Many times in schools, colleges & offices surfing some sites like orkut, and other social networking websites are banned !


To overcome this you can unblock these or block some other websites and play pranks !


Do The Following :
For eg you want to block www.xyz.com !


* Open the folder C:\WINDOWS\system32\drivers\etc
* There you will find a file named HOSTS

* Click on the file and press SHIFT and now right click on it .
* From the right click menu select Open with .

* Now, select Notepad to open the file from the list !
* Now, in the file under the line 127.0.0.1 localhost add another line as 127.0.0.2 www.xyz.com.

* Now, File>>Save !


Now, open your web browser and try openning www.xyz.com , it will not load !

And if you want to unblock it, silmply delete that line.

Change the location of Program Files Directory

Start run from the start menu or press 'windows+R' then type 'regedit' and press enter. Click continue if the the UAC dialog appears.


In regedit Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

Find the key called 
ProgramFilesDir on the right pane


Double click it to modify and now change the path to a specified folder. Click ok and close the registry.


Tip: 
Dont add a '\' on the end of the location, for example 
c:\program files as opposed to c:\program files\


You can also find Common Files path, Device Driver path, Media Path, Wallpaper directory in this location

For system and special folders use:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders


Note::


Use registry editor carefully. Make a back up of the registry before carrying out any tweaks.