Tech blog to share information.

June 25, 2010

Xp Tricks

June 25, 2010 Posted by tjcool No comments
Block Websites
1] Browse C:\WINDOWS\system32\drivers\etc
2] Find the file named "HOSTS"
3] Open it in notepad
4] Under " localhost" Add , and that site will no longer be accessable.
5] Done!
example : localhost is now unaccessable
For every site after that you want to add, just add "1" to the last number in the internal ip ( and then the addy like before.

Hide System Drives
To disable the display of local or networked drives when you click My Computer.
1. Go to start->run.
2. Type regedit. Now go to:
Now in the right pane create a new DWORD item and name it NoDrives(it is case sensitive). Now modify it's value and set it to 3FFFFFF (Hexadecimal).

Now restart your computer. So, now when you click on My Computer, no drives will be shown(all gone...). To enable display of drives in My Computer, simply delete this DWORD item that you created. Again restart your computer.

Increase your Net Connection
Desktop->My computer-(right click on)->manage->->Device manager->
now u see a window of Device manager
then go to
Ports->Communication Port(double click on it and Open).

after open u can see a Communication Port properties.
go the
Port Setting:----and now increase ur "Bits per second" to 128000.
"Flow control" change 2 Hardware.

Renaming The Start Button:
To rename the start button, you will need a hex editor.
My preference is UltraEdit

Copy the \windows\explore.exe file to a new name (e.g. explorer_1.exe)
With the hex editor, open that file and go to offset 412b6
You will see the word start with blanks between each letter
Edit it be any 5 characters or less
Save the file
Boot to DOS

Copy the existing c:\windows\explorer.exe to
Copy explorer_1.exe to explorer.exe
You will also need to replace the explorer.exe in the c:\windows\system32\dllcache file as well with the new one.

Note: If the partition is NTFS and you can't access the files from DOS:

Start Regedit
Go to
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon.
Change the value of Shell from Explorer.exe to explorer_1.exe

Note: Explorer.exe is Default Xp Shell.So first Take Backup of explorer.exe

Disable Net with Command Prompt:

ipconfig /release all
ipconfig /release *con*

Lock ur pc..
open notepad copy and paste the script below and save it .VBS extention
This wil create a shortcut.. run(click) it

set WshShell = WScript.CreateObject("WScript.Shell")
set oShellLink = WshShell.CreateShortcut(wshShell.SpecialFolders("Desktop") & "\LockWorkstation.lnk")
oShellLink.TargetPath = "%windir%\system32\rundll32.exe"
oShellLink.Arguments = "user32.dll,LockWorkStation"

This will create a icon on u desktop known as Lockworkstation.Click on it to locak pc
Dont want to do this also then press
Windows+L (lock System)

Reset Xp To Original Settings
secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose

Want to Edit Registry
Many times it happens that virus disables the Taskmanager.At such situation to try to open regedit but it also such situation wat to do ,no worry this single line will enable taskmanager without lauching registry

REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_DWORD /d 0 /f

this will enable Taskmanager
Enable registry also
REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableRegistryTools /t REG_DWORD /d 0 /f