Sunday, June 14, 2009

Windows 7 tips and tricks

Two Microsoft employees have posted helpful Windows 7 tips, tricks and secrets some time back.

Tim Sneath has posted 30 secrets/tips on his blog. Some of the highlights include the following:

Get Quick Launch toolbar back

  1. Right-click the taskbar, choose Toolbars / New Toolbar
  2. In the folder selection dialog, enter the following string and hit OK:
    %userprofile%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch
  3. Turn off the "lock the taskbar" setting, and right-click on the divider. Make sure that "Show text" and "Show title" are disabled and the view is set to "small icons".
  4. Use the dividers to rearrange the toolbar ordering to choice, and then lock the taskbar again.
Windows Vista taskbar

Right-click on the taskbar and choose the properties dialog. Select the "small icons" checkbox and under the "taskbar buttons" setting, choose "combine when taskbar is full".

Starting explorer from "My Computer"

To do this, navigate to Windows Explorer in the Start Menu (it's in the Accessories folder). Then edit the properties and change the target to read:
%SystemRoot%\explorer.exe ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}

Old behaviour for Windows Live Messenger

Navigate to C:\Program Files\Windows Live\Messenger\ and set the properties of msnmsgr.exe to Vista compatibility mode. This will place the Messenger icon back in your system tray and remove the 2 annoying tabs on the taskbar.

If you're wondering about the fish in the Windows 7 fish then it's a Betta Fish and also has 7 bubbles to signify Windows 7.




Brandon Paddock has posted a full list of the Winkey combinations for Windows 7 on his blog too.

Backup Windows Vista

Backup Windows Vista
The Backup and Restore center - bundled with Windows Vista - is an excellent tool, which allows you to backup and restore your files or an image of your operating system.

Launching the Backup and Restore Center

To launch the Backup and Restore Center, do the following:
1. Press the Start buttom
2. Type Backup
3. Select Backup and Restore Center

Backing up Your Files

To backup your files, click Backup Files and follow the directions given to you. Select the directories and files you want to backup and find a suitable place to store these files. I recommend an external hard drive or a DVD.


Restoring Your Files

Launch the Backup and Restore center and click Restore Files. Locate the medium your files are stored on and follow the instructions to get your previously backed up files back.


Back Up and Restore the Registry

Some guides in this book will require you to change values in your registry. If you make a mistake and don't correct it, you may find your computer is not as functional as it was before. To protect yourself from any mistakes, you need to backup your registry. To back up and restore your registry, do the following:

Backup the Registry

1. Press Start > Run (Winkey+R) and type regedit
2. Left click Computer in the left pane
3. Go to File > Export
4. Save the file (for extra caution, save the file to a
USB thumb drive)

Restore the Registry

1. Press Start > Run (Winkey+R) and type regedit
2. Left click Computer in the left pane
3. Go to File > Import
4. Choose the backup file you created

Recovering Lost Data on Your Drive

I lost some photos recently and after trying a few different recovery programs, I came across Recuva. My problem was solved and now I you to use this great software. Recuva (pronounced "recover") is a freeware Windows utility to restore files that have been accidentally deleted from your computer. This includes files emptied from the Recycle bin as well as images and other files that have been deleted by user error from digital camera memory cards or MP3 players. It will even bring back files that have been deleted by bugs, crashes and viruses!

Get a Windows Vista Recovery Disc

Most new computers these days come with windows Vista installed. Most of these computers don't come with any kind of Windows Vista disc. Some may come with a recovery disc but they are bad news as most recovery disks will delete all your files and restore your computer to the state it was in when you first purchased it.

Windows Vista DVD's come with a recovery center to allow you to fix operating system related problems. If you do not have this DVD, Microsoft made a recovery disc for this purpose.

Please Note: This disc cannot be used to install or reinstall Windows Vista.

Download Windows Vista Recovery Disc (120 MB)


Speed up Windows Vista and increase performance


Click here to run a Free Performance scan


How to speed up Windows Vista?
Windows runs pretty well on its own, but there are many things you can do to increase performance.
In this post, I will focus on the key things you can do to get the most out of doing the least in terms of performance.

I recommend you make backups before making major changes to your system. Refer to the backup Windows Vista page for guidance.


Enhance SATA Disk Performance and speed up Windows Vista
This guide will help you improve the performance of your SATA hard drive by enhancing write caching.
If you are not sure whether or not you have an SATA drive in your computer, please check with your manufacturer.

A quick warning: If you turn this setting on and your computer is not connected to a battery backup, losing power increases you risk of data loss or corruption. If you are using a laptop, the chances of this are unlikely as you have a battery in the laptop that will act as a power source if there is an outage.

1. Click on the Start Button and type in Device Manager in the search box
2. Hit Enter
3. Click on the + Next to Disk Drives
4. Right click on your hard drive and select Properties
5. Select the Policies tab and check Enable advanced performance
6. Now click OK and close Device Manager


Speed up Your External Hard Drives to speed up Windows Vista
The default setting in Windows Vista disables write caching for external drives. This is done so that you can eject the drive at any time without data loss. If you are willing to eject your drive each time, you can
increase the performance of your external hard drives.

To turn write caching back on and activate advanced performance, do the following:

1. Click on the Start Button and type in Device Manager in the search box and hit enter
2. Click on the + Next to Disk Drives
3. Right click on your external hard drive and select Properties
4. Select the Policies tab and select Optimize for performance
5. Check Enable write caching on the disk and Enable advanced performance
6. Click OK and reboot your computer


Move Page File to Different Physical Drive and speed up Windows Vista
If you have more than one physical drive in your computer, this guide is for you. The page file can take a considerable toll on your system drive; by moving the page file to a separate drive, you can increase overall performance. Learn how to move the Windows Vista page file to another drive in this guide.

1. Press Start, right click on Computer, and select Properties
2. In the left-hand pane, select Advanced System Settings
3. Click the Advanced tab and under Performance, select Settings...
4. Click the Advanced tab and under Virtual Memory, select Change...
5. Uncheck "Automatically Manage Paging File Size for All Drives"
6. Select the different physical drive that you want your paging file to now be stored on (e.g. D) and select System managed size and press Set. (make sure this is the first partition on the second drive)7. Select the drive that contains your paging file (usually C), select the Custom Size option, set the original and maximum size, and press Set Your page file will now need to rebuild on the new drive - this may temporarily slow performance.

Note: The reason for keeping around 1GB on the OS drive is because Windows Vista needs still some page file space there.


Rebuild the Page File to speed up Windows Vista
Windows Vista creates a page file, which essentially acts as RAM on your hard drive. This page file speeds up access to commonly used programs and becomes fragmented over time. Rebuilding the page file eliminates fragmentation; learn how to rebuild the page file in this guide.

1. Press Start, right click on Computer and select Properties
2. In the left-hand pane, select Advanced System Settings
3. Click the Advanced tab and under Performance, select Settings...
4. Click the Advanced tab and under Virtual Memory, select Change...
5. Uncheck Automatically Manage Paging File Size for All Drives
6. Select the drive that contains your paging file (usually C) and select the Custom size option
7. Edit the minimum and maximum page file size to 0 and press set
8. Now restart your computer
9. Now follow steps 1-5 and replace step 6 with System managed size and press Set
10. Press OK to save and after a brief period of sluggishness, while the computer rebuilds the page file, you should notice improved speeds.


Move Search Index to a Different Physical Drive and speed up Windows Vista
If you have more than one physical drive in your computer, this guide is for you. The search index can take a considerable toll on your system drive; by moving the index to a separate drive, you can increase overall performance.

To move your search index, do the following:

1. Press Start, type index in the search bar and press Enter
2. Press the Advanced button
3. Press Select new at the bottom and select a new location on a different physical hard drive
4. Press OK. Your search index will now need to rebuild, which may temporarily slow performance.


Disable Superfetch to Save Memory and speed up Windows Vista
Windows Vista Superfetch learns your typical activities with files and application access. By learning, it predicts your computer use actions and puts your most commonly used applications in memory. This is great if you have a lot of RAM, but if you have less than 2GB, then I suggest you disable this feature - saving you from sluggish computer use.

Please Note: Even with less than 2GB of ram, you may find this doesn't help. If you notice no difference after a day or two, then you can probably re-enable Superfetch.

To disable Superfetch, do the following:

1. Press Start, type services in the search bar and press Enter
2. Locate Superfetch in the list of services, right click it, and select properties
3. Change the Startup Type dropdown box to disabled and click the stop button
4. Now click OK

Please remember, this will only help if you have less than 2GB of RAM.


Disable "Last Accessed" File Attribute to speed up Windows Vista
Every time you access a file on your computer, a Last Accessed file attribute is updated. You will likely not need this, so you can remove some overhead by following this guide.


Download the Registry Hack
If you don't feel confident working with the Registry Editor, you can download this registry hack. Simply
extract the file and double click on DisableLastAccess.reg. To re-enable the Last Access option, double click on ReEnableLastAccess.reg


Manually Disable Last Access File Updates and speed up Windows Vista
1. Press Start, type regedit in the search bar and press Enter (or press Winkey+R)
2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
3. Update the value of NtfsDisableLastAccessUpdate to 1
4. To undo this change, simply change the value back to 0

In order for this to take effect, you may need to restart your system.


Make Windows Shut Down Faster to speed up Windows Vista
As you install programs on your computer, it slows down - we all know that. However, what you may not
know is that the programs install what we call services. Windows is "kind" enough to patiently wait for these services to stop when you shut down your computer. It really doesn't pay off to wait. Decrease the time it takes for Windows to shut down by doing the following:

1. Click the start button and type regedit in the search bar
2. Hit the enter key
3. You will see a screen like the one below. Find your way to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control in the left menu
4. In the right window you will see a key called WaitToKillServiceTimeout, with a default value of 20000 (20 seconds.)
5. Right click on the key and select Modify...
6. Change the value from 20000 to 5000. This can potentially reduce your shut down time by 15 seconds.

Please note: I do not advise setting this value to less than five seconds.

Monday, January 7, 2008

How to have a safer and faster XP..??

To disable unneeded startup services for a safer, faster XP, use the "Services" Admin Tool (Control Panel > Administrative Tools > Services). If you are a single user of a non-networked machine, you can disable the following items, with no ill effect.

Alerter
Clipbook
Computer Browser
Fast User Switching
Human Interface Access Devices
Indexing Service (Slows the hard drive down)
Messenger
Net Logon (unnecessary unless networked on a Domain)
Netmeeting Remote Desktop Sharing (disabled for extra security)
Remote Desktop Help Session Manager (disabled for extra security)
Remote Procedure Call Locator
Remote Registry (disabled for extra security)
Routing & Remote Access (disabled for extra security)
Server
SSDP Discovery Service (this is for the utterly pointless "Universal P'n'P", & leaves TCP Port 5000 wide open)
TCP/IP NetBIOS Helper
Telnet (disabled for extra security)
Universal Plug and Play Device Host
Upload Manager
Windows Time
Wireless Zero Configuration (for wireless networks)
Workstation

Friday, November 16, 2007

World of Registry

What is the Registry?

The Registry is the central core registrar for Windows NT. Each NT workstation for server has its own Registry, and each one contains info on the hardware and software of the computer it resides on. For example, com port definitions, Ethernet card settings, desktop setting and profiles, and what a particular user can and cannot do are stored in the Registry. Remember those ugly system INI files in Windows 3.1? Well, they are all included with even more fun stuff into one big database called the Registry in NT.

Always make sure that you know what you are doing when changing the registry or else just one little mistake can crash the whole system. That's why it's always good to back it up!

Backup and Restore:

Even with Windows 98, and Windows 95 you can not just backup the registry when you back up files. What you would need to do is run either: regedit32.exe (for NT) or regedit.exe and then click the registry menu, then click export registry. The next step is to click all, then pick the drive to back up onto (usually a removable drive like tape, floppy, cd, zip drive, jazz drive etc.) and then hit "ok". To restore a registry from a backed up version, enter the registry program the same way, click import registry and click the drive and path where the backup is and hit "ok". It will restore it back to the previous backed up settings and may require a reboot.

Note: registry backups are saved as .reg files, and they are associated with regedit as default. This means that once you double-click a .reg file, it's contents will be inserted into your own registry.

What is SAM?

SAM is short for Security Accounts Manager, which is located on the PDC and has information on all user accounts and passwords. Most of the time while the PDC is running, it is being accessed or used.

What do I do with a copy of SAM?


You get passwords. First use a copy of SAMDUMP.EXE to extract the user info out of it. You do not need to import this data into the Registry of your home machine to play with it. You can simply load it up into one of the many applications for cracking passwords, such as L0phtCrack, which is available from: http://www.L0phtCrack.com


Of interest to hackers is the fact that all access control and assorted parameters are located in the Registry. The Registry contains thousands of individual items of data, and is grouped together into "keys" or some type of optional value. These keys are grouped together into subtrees -- placing like keys together and making copies of others into separate trees for more convenient system access.

The Registry is divided into four separate subtrees. These subtrees are called

  • HKEY_CLASSES_ROOT
  • HKEY_CURRENT_USER
  • HKEY_LOCAL_MACHINE
  • HKEY_USERS
We'll go through them from most important to the hacker to least important to the hacker.

First and foremost is the HKEY_LOCAL_MACHINE subtree. It contains five different keys. These keys are as follows:

  • SAM and SECURITY - These keys contain the info such as user rights, user and group info for the domain (or workgroup if there is no domain), and passwords. In the NT hacker game of capture the flag, this is the flag. Bag this and all bets are off.
The keys are binary data only (for security reasons) and are typically not accessible unless you are an Administrator or in the Administrators group. It is easier to copy the data and play with it offline than to work on directly.

  • HARDWARE - this is a storage database of throw-away data that describes the hardware components of the computer. Device drivers and applications build this database during boot and update it during runtime (although most of the database is updated during the boot process). When the computer is rebooted, the data is built again from scratch. It is not recommended to directly edit this particular database unless you can read hex easily.

There are three subkeys under HARDWARE, these are the Description key, the DeviceMap key, and the ResourceMap key. The Description key has describes each hardware resource, the DeviceMap key has data in it specific to individual groups of drivers, and the ResourceMap key tells which driver goes with which resource.

  • SYSTEM - This key contains basic operating stuff like what happens at startup, what device drivers are loaded, what services are in use, etc. These are split into ControlSets which have unique system configurations (some bootable, some not), with each ControlSet containing service data and OS components for that ControlSet. Ever had to boot from the "Last Known Good" configuration because something got hosed? That is a ControlSet stored here.
  • SOFTWARE - This key has info on software loaded locally. File associations, OLE info, and some miscellaneous configuration data is located here.

The second most important main key is HKEY_USERS. It contains a subkey for each local user who accesses the system, either locally or remotely. If the server is a part of a domain and logs in across the network, their subkey is not stored here, but on a Domain Controller. Things such as Desktop settings and user profiles are stored here.

The third and fourth main keys, HKEY_CURRENT_USER and HKEY_CLASSES_ROOT, contain copies of portions of HKEY_USERS and HKEY_LOCAL_MACHINE respectively. HKEY_CURRENT_USER contains exactly would you would expect a copy of the subkey from HKEY_USERS of the currently logged in user. HKEY_CLASSES_ROOT contains a part of HKEY_LOCAL_MACHINE, specifically from the SOFTWARE subkey. File associations, OLE configuration and dependency information.

What are hives?

Hives are the major subdivisions of all of these subtrees, keys, subkeys, and values that make up the Registry. They contain "related" data.

All hives are stored in %systemroot%\SYSTEM32\CONFIG. The major hives and their files are as follows:

Hive File Backup File
HKEY_LOCAL_MACHINE\SOFTWARE SOFTWARE SOFTWARE.LOG
HKEY_LOCAL_MACHINE\SECURITY SECURITY SECURITY.LOG
HKEY_LOCAL_MACHINE\SYSTEM SYSTEM SYSTEM.LOG
HKEY_LOCAL_MACHINE\SAM SAM SAM.LOG
HKEY_CURRENT_USER USERxxx
ADMINxxx
USERxxx.LOG
ADMINxxx.LOG
HKEY_USERS\.DEFAULT DEFAULT DEFAULT.LOG

Hackers should look for the SAM file, with the SAM.LOG file as a secondary target. This contains the password info.

Hive File Backup File
HKEY_LOCAL_MACHINE\SOFTWARE SOFTWARE SOFTWARE.LOG
HKEY_LOCAL_MACHINE\SECURITY SECURITY SECURITY.LOG
HKEY_LOCAL_MACHINE\SYSTEM SYSTEM SYSTEM.LOG
HKEY_LOCAL_MACHINE\SAM SAM SAM.LOG
HKEY_CURRENT_USER USERxxx
ADMINxxx
USERxxx.LOG
ADMINxxx.LOG
HKEY_USERS\.DEFAULT DEFAULT DEFAULT.LOG

Hackers should look for the SAM file, with the SAM.LOG file as a secondary target. This contains the password info.

For ease of use, the Registry is divided into five separate structures that represent the Registry database in its entirety. These five groups are known as Keys, and are discussed below:

HKEY_CURRENT_USER

This registry key contains the configuration information for the user that is currently logged in. The users folders, screen colors, and control panel settings are stored here. This information is known as a User Profile.

HKEY_USERS

In windowsNT 3.5x, user profiles were stored locally (by default) in the systemroot\system32\config directory. In NT4.0, they are stored in the systemroot\profiles directory. User-Specific information is kept there, as well as common, system wide user information.

This change in storage location has been brought about to parallel the way in which Windows95 handles its user profiles. In earlier releases of NT, the user profile was stored as a single file - either locally in the \config directory or centrally on a server. In windowsNT 4, the single user profile has been broken up into a number of subdirectories located below the \profiles directory. The reason for this is mainly due to the way in which the Win95 and WinNT4 operating systems use the underlying directory structure to form part of their new user interface.


HKEY_LOCAL_MACHINE

This key contains configuration information particular to the computer. This information is stored in the systemroot\system32\config directory as persistent operating system files, with the exception of the volatile hardware key.

The information gleaned from this configuration data is used by applications, device drivers, and the WindowsNT 4 operating system. The latter usage determines what system configuration data to use, without respect to the user currently logged on. For this reason the HKEY_LOCAL_MACHINE regsitry key is of specific importance to administrators who want to support and troubleshoot NT 4.

HKEY_LOCAL_MACHINE is probably the most important key in the registry and it contains five subkeys:

  • Hardware: Database that describes the physical hardware in the computer, the way device drivers use that hardware, and mappings and related data that link kernel-mode drivers with various user-mode code. All data in this sub-tree is re-created everytime the system is started.
  • SAM: The security accounts manager. Security information for user and group accounts and for the domains in NT 4 server.
  • Security: Database that contains the local security policy, such as specific user rights. This key is used only by the NT 4 security subsystem.
  • Software: Pre-computer software database. This key contains data about software installed on the local computer, as well as configuration information.
  • System: Database that controls system start-up, device driver loading, NT 4 services and OS behavior.

Information about the HKEY_LOCAL_MACHINE\SAM Key

This subtree contains the user and group accounts in the SAM database for the local computer. For a computer that is running NT 4, this subtree also contains security information for the domain. The information contained within the SAM registry key is what appears in the user interface of the User Manager utility, as well as in the lists of users and groups that appear when you make use of the Security menu commands in NT4 explorer.

Information about the HKEY_LOCAL_MACHINE\Security key

This subtree contains security information for the local computer. This includes aspects such as assigning user rights, establishing password policies, and the membership of local groups, which are configurable in User Manager.

HKEY_CLASSES_ROOT

The information stored here is used to open the correct application when a file is opened by using Explorer and for Object Linking and Embedding. It is actually a window that reflects information from the HKEY_LOCAL_MACHINE\Software subkey.

HKEY_CURRENT_CONFIG

The information contained in this key is to configure settings such as the software and device drivers to load or the display resolution to use. This key has a software and system subkeys, which keep track of configuration information.



Understanding Hives

The registry is divided into parts called hives. These hives are mapped to a single file and a .LOG file. These files are in the systemroot\system32\config directory.

Registry Hive File Name
HKEY_LOCAL_MACHINE\SAM SAM and SAM.LOG
HKEY_LOCAL_MACHINE\SECURITY Security and Security.LOG
HKEY_LOCAL_MACHINE\SOFTWARE Software and Software.LOG
HKEY_LOCAL_MACHINE\SYSTEM System and System.ALT

Checkout these sites for more info:

NT registry Hacks: http://www.jsiinc.com/default.htm?/reghack.htm
Unofficial NT Hack: http://www.nmrc.org/faqs/nt/index.html
Rhino9: The Windows NT Security Research Team: http://www.xtreme.abyss.com/techvoodoo/rhino9
Regedit.com - cool registry tricks: http://www.regedit.com

Also please checkout: www.windows2000test.com and give it your best shot because Microsoft wants you to test their operating system's security flaws for them. They are challenging all hackers to hack that site.

Friday, November 2, 2007

Everything You wanted to know about FIREWALLS..!!

A firewall is basically something that protects the network from the Internet. It is derived from the concept of firewalls used in vehicles which is a barrier made of fire resistant material protecting the vehicle in case of fire. Anyway a firewall is best described as a software or hardware or both Hardware and Software packet filter that allows only selected packets to pass through from the Internet to your private internal network. A firewall is a system or a group of systems which guard a trusted network( The Internal Private Network from the untrusted network (the Internet.) To understand how a firewall works, firstly we need to understand how exactly data is transferred on the Internet.

The TCP\IP suite is responsible for successful transfer of data across a network both the Internet and the Intranet. The TCP\IP suite is a collection of protocols which are inter-related and interdependent and act as a set of rules according to which data is transferred across the network. A protocol can be defined as a language or a standard which is followed while transfer of data takes place.

A firewall relies on the source and destination IP and also the ports to control the packet transfer between the untrusted network and the trusted network. Firewalls can be classified into 3 types:

1. Packet Filter Firewalls
2. Application proxy Firewalls
3. Packet Inspection Firewalls

Packet Filter Firewalls
They are the earliest and the most criticized firewalls, which nowadays are not easily found. They are usually Hardware based i.e. Router Based (a router is a piece of device which connects two
networks together.)
Whenever a Packet Filter Firewall receives a packet for permission to pass through, it compares the header information i.e. the source and destination IP address, and port number with a table of predefined access control rules If the header information matches, then the packet is allowed to pass else the packet is direct contact between the untrusted system and the trusted private system.
Such Firewalls can be fooled by using techniques like IP Spoofing in which we can change the source IP such that the firewall thinks that the packet has come from a trusted system which is among the list of systems which have access through the firewall.

Application proxy Firewalls
The shortcomings of the packet filter firewalls are addressed by the new type of firewalls developed by the DARPA. It was widely believed that the earlier type of firewalls were not secure enough as they allowed the untrusted systems to have a direct connection with the trusted systems. This problem was solved with the use of Proxy servers as firewalls. A proxy server which is used as a firewall are called application proxy servers. This kind of a proxy firewall examines what application or service (running on ports) a packet is meant for and if that particular service is available only then is the packet allowed to pass through and if the service is unavailable then the packet is discarded or dropped by the firewall.

Packet Inspection Firewalls
It can be also known as an extension of the Packet Filter Firewall. It not only verifies the source and
destination IP's and ports, it also takes into consideration or verifies that content of the data before passing it through. There are two ways in which this kind of a firewall verifies the data to
be passed:
State and Session.
In case of state inspection, an incoming packet is allowed to pass through only if there is a matching outward bound request for this packet. This means that the incoming packet is allowed to pass through only if the trusted server had requested for it or had sent an invitation for it.
In case of session filtering, the data of the incoming is not verified, but instead the network activity is traced and once a trusted system ends the session, no further packets from that system pertaining to that session are allowed to pass through.



All along you will come across many Firewalls on various systems, basically a
firewall can be established
or setup in two ways:

1. Dual-homed gateway
2. Demilitarized zone (DMZ)

In a dual homed gateway firewall, there is a single firewall with 2 connections, one for the trusted network and the other for the untrusted network.
In the case of a Demilitarized Firewall or a DMZ there are two firewalls, each with two connections, but there is a slight difference in the case of a DMZ setup.
In the case of a DMZ setup, there are two firewalls, the first having two connections, one leading to the untrusted network and the other leading to the host systems like the email server or the FTP server etc.
In the case of a Dual Homed Gateway the untrusted network is connected to the host systems (email and FTP servers etc) through a firewall and these host systems are connected to the internal private network. There is no second firewall between the host systems and the internal
private trusted network.
The basic structure of the DMZ setup declares it to be a more secure system as even if an attacker gets through the first firewall, he just reaches the host systems, while the internal network is protected by another firewall.

Tuesday, October 30, 2007

How to block or unblock a website?

FOR BLOCKING

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 !

For unblocking just follow the same procedure vice versa...!!!!!

Windows Tips & Tricks Headline Animator