Friday, February 4, 2011

What Is An IP Address

                               IP Address (Internet Protocol Address):

This number is an exclusive number all information technology devices (printers, routers, modems, et al) use which identifies and allows them the ability to communicate with each other on a computer network. There is a standard of communication which is called an Internet Protocol standard (IP). In laymans terms it is the same as your home address. In order for you to receive snail mail at home the sending party must have your correct mailing address (IP address) in your town (network) or you do not receive bills, pizza coupons or your tax refund. The same is true for all equipment on the internet. Without this specific address, information cannot be received. IP addresses may either be assigned permanently for an Email server/Business server or a permanent home resident or temporarily, from a pool of available addresses (first come first serve) from your Internet Service Provider. A permanent number may not be available in all areas and may cost extra so be sure to ask your ISP.
Domain Name System (DNS): This allows the IP address to be translated to words. It is much easier for us to remember a word than a series of numbers. The same is true for email addresses.

For example, it is much easier for you to remember a web address name such as whatismyip.com than it is to remember 192.168.1.1 or in the case of email it is much easier to remember email@somedomain.com than email@192.168.1.1
Dynamic IP Address: An IP address that is not static and could change at any time. This IP address is issued to you from a pool of IP addresses allocated by your ISP or DHCP Server. This is for a large number of customers that do not require the same IP Address all the time for a variety of reasons. Your computer will automatically get this number as it logs on to the network and saves you the trouble of having to know details regarding the specific network configurations. This number can be assigned to anyone using a dial-up connection, Wireless and High Speed Internet connections. If you need to run your own email server or web server, it would be best to have a static IP.
Static IP Address: An IP address that is fixed and never changes. This is in contrast to a dynamic IP address which may change at any time. Most ISP's a single static IP or a block of static IP's for a few extra bucks a month.
IP version 4: Currently used by most network devices. However, with more and more computers accessing the internet, IPv4 addresses are running out quickly. Just like in a city, addresses have to be created for new neighborhoods but, if your neighborhood gets too large, you will have to come up with an entire new pool of addresses. IPv4 is limited to 4,294,967,296 addresses.
IP version 5: This is an experimental protocol for UNIX based systems. In keeping with standard UNIX (a computer Operating System) release conventions, all odd-numbered versions are considered experimental. It was never intended to be used by the general public.
IP version 6: The replacement for the aging IPv4. The estimated number of unique addresses for IPv6 is 340,282,366,920,938,463,463,374,607,431,768,211,456 or 2^128.
The old and current standard of addresses was this: 192.168.100.100 the new way can be written different ways but means the same and are all valid:
* 1080:0000:0000:0000:0000:0034:0000:417A
* 1080:0:0:0:0:34:0:417A
* 1080::34:0:417A

20 things you didn't know about Windows XP

                                                           Windows XP
 
The key feature enhancements and operational changes. Now it's time to delve a bit deeper and uncover some of Windows XP's secrets.

1. It boasts how long it can stay up. Whereas previous versions of Windows
were coy about how long they went between boots, XP is positively proud of
its stamina. Go to the Command Prompt in the Accessories menu from the All
Programs start button option, and then type 'systeminfo'. The computer will
produce a lot of useful info, including the uptime. If you want to keep
these, type 'systeminfo > info.txt'. This creates a file called info.txt you
can look at later with Notepad. (Professional Edition only).

2. You can delete files immediately, without having them move to the Recycle
Bin first. Go to the Start menu, select Run... and type 'gpedit.msc'; then
select User Configuration, Administrative Templates, Windows Components,
Windows Explorer and find the Do not move deleted files to the Recycle Bin
setting. Set it. Poking around in gpedit will reveal a great many interface
and system options, but take care -- some may stop your computer behaving as
you wish. (Professional Edition only).

3. You can lock your XP workstation with two clicks of the mouse. Create a
new shortcut on your desktop using a right mouse click, and enter
'rundll32.exe user32.dll,LockWorkStation' in the location field. Give the
shortcut a name you like. That's it -- just double click on it and your
computer will be locked. And if that's not easy enough, Windows key + L will
do the same.

4. XP hides some system software you might want to remove, such as Windows
Messenger, but you can tickle it and make it disgorge everything. Using
Notepad or Edit, edit the text file /windows/inf/sysoc.inf, search for the
word 'hide' and remove it. You can then go to the Add or Remove Programs in
the Control Panel, select Add/Remove Windows Components and there will be
your prey, exposed and vulnerable.

5. For those skilled in the art of DOS batch files, XP has a number of
interesting new commands. These include 'eventcreate' and 'eventtriggers'
for creating and watching system events, 'typeperf' for monitoring
performance of various subsystems, and 'schtasks' for handling scheduled
tasks. As usual, typing the command name followed by /? will give a list of
options -- they're all far too baroque to go into here.

6. XP has IP version 6 support -- the next generation of IP. Unfortunately
this is more than your ISP has, so you can only experiment with this on your
LAN. Type 'ipv6 install' into Run... (it's OK, it won't ruin your existing
network setup) and then 'ipv6 /?' at the command line to find out more. If
you don't know what IPv6 is, don't worry and don't bother.

7. You can at last get rid of tasks on the computer from the command line by
using 'taskkill /pid' and the task number, or just 'tskill' and the process
number. Find that out by typing 'tasklist', which will also tell you a lot
about what's going on in your system.

8. XP will treat Zip files like folders, which is nice if you've got a fast
machine. On slower machines, you can make XP leave zip files well alone by
typing 'regsvr32 /u zipfldr.dll' at the command line. If you change your
mind later, you can put things back as they were by typing 'regsvr32
zipfldr.dll'.

9. XP has ClearType -- Microsoft's anti-aliasing font display technology --
but doesn't have it enabled by default. It's well worth trying, especially
if you were there for DOS and all those years of staring at a screen have
given you the eyes of an astigmatic bat. To enable ClearType, right click on
the desktop, select Properties, Appearance, Effects, select ClearType from
the second drop-down menu and enable the selection. Expect best results on
laptop displays. If you want to use ClearType on the Welcome login screen as
well, set the registry entry HKEY_USERS/.DEFAULT/Control
Panel/Desktop/FontSmoothingType to 2.

10. You can use Remote Assistance to help a friend who's using network
address translation (NAT) on a home network, but not automatically. Get your
pal to email you a Remote Assistance invitation and edit the file. Under the
RCTICKET attribute will be a NAT IP address, like 192.168.1.10. Replace this
with your chum's real IP address -- they can find this out by going to
www.whatismyip.com -- and get them to make sure that they've got port 3389
open on their firewall and forwarded to the errant computer.

11. You can run a program as a different user without logging out and back
in again. Right click the icon, select Run As... and enter the user name and
password you want to use. This only applies for that run. The trick is
particularly useful if you need to have administrative permissions to
install a program, which many require. Note that you can have some fun by
running programs multiple times on the same system as different users, but
this can have unforeseen effects.

12. Windows XP can be very insistent about you checking for auto updates,
registering a Passport, using Windows Messenger and so on. After a while,
the nagging goes away, but if you feel you might slip the bonds of sanity
before that point, run Regedit, go to
HKEY_CURRENT_USER/Software/Microsoft/Windows/Current
Version/Explorer/Advanced and create a DWORD value called EnableBalloonTips
with a value of 0.

13. You can start up without needing to enter a user name or password.
Select Run... from the start menu and type 'control userpasswords2', which
will open the user accounts application. On the Users tab, clear the box for
Users Must Enter A User Name And Password To Use This Computer, and click on
OK. An Automatically Log On dialog box will appear; enter the user name and
password for the account you want to use.

14. Internet Explorer 6 will automatically delete temporary files, but only
if you tell it to. Start the browser, select Tools / Internet Options... and
Advanced, go down to the Security area and check the box to Empty Temporary
Internet Files folder when browser is closed.

15. XP comes with a free Network Activity Light, just in case you can't see
the LEDs twinkle on your network card. Right click on My Network Places on
the desktop, then select Properties. Right click on the description for your
LAN or dial-up connection, select Properties, then check the Show icon in
notification area when connected box. You'll now see a tiny network icon on
the right of your task bar that glimmers nicely during network traffic.

16. The Start Menu can be leisurely when it decides to appear, but you can
speed things along by changing the registry entry HKEY_CURRENT_USER/Control
Panel/Desktop/MenuShowDelay from the default 400 to something a little
snappier. Like 0.

17. You can rename loads of files at once in Windows Explorer. Highlight a
set of files in a window, then right click on one and rename it. All the
other files will be renamed to that name, with individual numbers in
brackets to distinguish them. Also, in a folder you can arrange icons in
alphabetised groups by View, Arrange Icon By... Show In Groups.

18. Windows Media Player will display the cover art for albums as it plays
the tracks -- if it found the picture on the Internet when you copied the
tracks from the CD. If it didn't, or if you have lots of pre-WMP music
files, you can put your own copy of the cover art in the same directory as
the tracks. Just call it folder.jpg and Windows Media Player will pick it up
and display it.

19. Windows key + Break brings up the System Properties dialogue box;
Windows key + D brings up the desktop; Windows key + Tab moves through the
taskbar buttons.

20. The next release of Windows XP, codenamed Longhorn, is due and won't be
much to write home about. The next big release is codenamed Blackcomb.
                                    Amitabh Kumar(9015123133,9811006683)

Wednesday, January 19, 2011

Different Ways to Lock Windows XP

 
These methods apply to both Windows XP Home and Windows XP Pro.
There are several ways to lock your Windows XP computer, but all of them use the same command line. The method you choose is a matter of personal preference.
  1. via the keyboard
    The easiest way to lock Windows XP is by simply pressing the Windows logo key and the letter L (for Lock) on a Microsoft Natural Keyboard or any other compatible keyboard that includes the Window key. Doing so will pop up the Unlock Computer Password box.
  2. via a Shortcut.
    If you don't have a keyboard with a Window key or simply don't like the keyboard method, then here's how you can make a desktop shortcut to lock your computer.

    Right
    click an empty area of your desktop, choose New/Shortcut and enter this line as the command line:

               rundll32.exe user32.dll, LockWorkStation

    Click Next. Name the shortcut whatever you prefer and click Finish. That's it.

    If you'd like to change the icon, just right click the shortcut and go to Properties/Shortcut/Change Icon.
  3. via the command line
    The above command line can also be used at a DOS prompt to lock your computer. One simple way you can do it would be by clicking Start/Run, typing CMD and then entering the command and pressing Enter.
via a bat file
This is similar to a Windows shortcut method. But it's a DOS version. If you've never 



  1. created a bat (batch) file, but would like to try this method, simply open a new text file (such as with Notepad) and type the following commands:

              @echo off
              rundll32.exe user32.dll, LockWorkStation
              cls
     
    Save the file with a .bat extension, such as Lock.bat, and you're done. Double click to make the file run.
Those are the basic methods to lock XP, but there are some other relating factors of which you should be aware.
Password
It should go without saying that if you don't use a password to log on to your computer, then anyone can access your computer and unlock it. If you want to use the lock feature, then set a password by going to User Accounts in the Control Panel and then click Create Password.
Fast User Switching
Fast User Switching allows multiple login sessions at the same time. Whether you have this feature enabled or disabled will make a big difference in how your locked computer can be accessed and on the behavior of your shortcuts when executed.
If enabled, executing any of the above locking methods will bring up the Welcome screen and other users will be able to log on to the computer, as is the norm for Fast User Switching. So, you really don't get much security at all this way, if your intention is to lock your machine. With Fast User Switching, only your profile is locked, not the ability for other users to log into your system. Any other user can just log on to your computer and use it.
If Fast User Switching is disabled, you will have to enter a password to unlock the computer. Double clicking your shortcut will bring up the Unlock Computer password dialog box. This is the same lock method that Windows NT and 2000 uses.

If you're not sure whether or not you have Fast User Switching enabled or disabled, go to User Accounts in the Control Panel and click the Change the way users log on or off tab. There you will see your status for Fast User Switching.


Welcome Screen
Whether the Welcome screen is enabled or disabled also has an effect on the way your computer can be locked.
If the Welcome screen is enabled, you can also lock your computer in Task Manager (Ctrl+Alt+Delete) by clicking the Lock Computer option in the Shutdown menu list. This option will only appear if the Welcome screen is enabled—without Fast User Switching being enabled.
Note! In order to use Fast User Switching, the Welcome screen must be enabled. You cannot select Fast User Switching if the Welcome screen option is unchecked.
If the Welcome screen is disabled, you can lock the computer by pressing Ctrl+Alt+Delete and then clicking the Lock Computer tab in the Windows Security dialog box that comes up.
For more information on Windows security, check out my ABC article, "Windows File and Folder Security"
http://personal-computer-tutor.com/abc2/v14/vic14.htm

Amitabh Kumar (9811006683,9015123133)

An A-Z Index of the Windows NT/XP command line

 
ADDUSERS Add or list users to/from a CSV file
ARP      Address Resolution Protocol
ASSOC    Change file extension associations
ASSOCIAT One step file association
AT       Schedule a command to run at a later time
ATTRIB   Change file attributes
BOOTCFG  Edit Windows boot settings
BROWSTAT Get domain, browser and PDC info
CACLS    Change file permissions
CALL     Call one batch program from another
CD       Change Directory - move to a specific Folder
CHANGE   Change Terminal Server Session properties
CHKDSK   Check Disk - check and repair disk problems
CHKNTFS  Check the NTFS file system
CHOICE   Accept keyboard input to a batch file
CIPHER   Encrypt or Decrypt files/folders
CleanMgr Automated cleanup of Temp files, recycle bin
CLEARMEM Clear memory leaks
CLIP     Copy STDIN to the Windows clipboard.
CLS      Clear the screen
CLUSTER  Windows Clustering
CMD      Start a new CMD shell
COLOR    Change colors of the CMD window
COMP     Compare the contents of two files or sets of files
COMPACT  Compress files or folders on an NTFS partition
COMPRESS Compress individual files on an NTFS partition
CON2PRT  Connect or disconnect a Printer
CONVERT  Convert a FAT drive to NTFS.
COPY     Copy one or more files to another location
CSVDE    Import or Export Active Directory data 
DATE     Display or set the date
Dcomcnfg DCOM Configuration Utility
DEFRAG   Defragment hard drive
DEL      Delete one or more files
DELPROF  Delete NT user profiles
DELTREE  Delete a folder and all subfolders
DevCon   Device Manager Command Line Utility 
DIR      Display a list of files and folders
DIRUSE   Display disk usage
DISKCOMP Compare the contents of two floppy disks 
DISKCOPY Copy the contents of one floppy disk to another
DNSSTAT  DNS Statistics
DOSKEY   Edit command line, recall commands, and create macros
DSADD    Add user (computer, group..) to active directory
DSQUERY  List items in active directory
DSMOD    Modify user (computer, group..) in active directory
ECHO     Display message on screen
ENDLOCAL End localisation of environment changes in a batch file
ERASE    Delete one or more files
EXIT     Quit the CMD shell
EXPAND   Uncompress files
EXTRACT  Uncompress CAB files
FC       Compare two files
FDISK    Disk Format and partition
FIND     Search for a text string in a file
FINDSTR  Search for strings in files
FOR /F   Loop command: against a set of files
FOR /F   Loop command: against the results of another command
FOR      Loop command: all options Files, Directory, List
FORFILES Batch process multiple files
FORMAT   Format a disk
FREEDISK Check free disk space (in bytes)
FSUTIL   File and Volume utilities
FTP      File Transfer Protocol
FTYPE    Display or modify file types used in file extension associations
GLOBAL   Display membership of global groups
GOTO     Direct a batch program to jump to a labelled line
HELP     Online Help
HFNETCHK Network Security Hotfix Checker 
IF       Conditionally perform a command
IFMEMBER Is the current user in an NT Workgroup
IPCONFIG Configure IP
KILL     Remove a program from memory
LABEL    Edit a disk label
LOCAL    Display membership of local groups
LOGEVENT Write text to the NT event viewer. 
LOGOFF   Log a user off
LOGTIME  Log the date and time in a file
MAPISEND Send email from the command line
MEM      Display memory usage
MD       Create new folders
MODE     Configure a system device
MORE     Display output, one screen at a time
MOUNTVOL Manage a volume mount point
MOVE     Move files from one folder to another
MOVEUSER Move a user from one domain to another
MSG      Send a message
MSIEXEC  Microsoft Windows Installer
MSINFO   Windows NT diagnostics
MSTSC    Terminal Server Connection (Remote Desktop Protocol)
MUNGE    Find and Replace text within file(s)
MV       Copy in-use files 
NET      Manage network resources
NETDOM   Domain Manager
NETSH    Configure network protocols
NETSVC   Command-line Service Controller
NBTSTAT  Display networking statistics (NetBIOS over TCP/IP)
NETSTAT  Display networking statistics (TCP/IP)
NOW      Display the current Date and Time 
NSLOOKUP Name server lookup
NTBACKUP Backup folders to tape
NTRIGHTS Edit user account rights 
PATH     Display or set a search path for executable files
PATHPING Trace route plus network latency and packet loss
PAUSE    Suspend processing of a batch file and display a message
PERMS    Show permissions for a user
PERFMON  Performance Monitor
PING     Test a network connection
POPD     Restore the previous value of the current directory saved by PUSHD
PORTQRY  Display the status of ports and services
PRINT    Print a text file
PRNCNFG  Display, configure or rename a printer 
PRNMNGR  Add, delete, list printers set the default printer
PROMPT   Change the command prompt
PsExec     Execute process remotely
PsFile     Show files opened remotely
PsGetSid   Display the SID of a computer or a user
PsInfo     List information about a system
PsKill     Kill processes by name or process ID
PsList     List detailed information about processes
PsLoggedOn Who's logged on (locally or via resource sharing)
PsLogList  Event log records
PsPasswd   Change account password
PsService  View and control services
PsShutdown Shutdown or reboot a computer
PsSuspend  Suspend processes
PUSHD    Save and then change the current directory
QGREP    Search file(s) for lines that match a given pattern.
RASDIAL  Manage RAS connections
RASPHONE Manage RAS connections
RECOVER  Recover a damaged file from a defective disk.
REG      Read, Set or Delete registry keys and values
REGEDIT  Import or export registry settings
REGSVR32 Register or unregister a DLL
REGINI   Change Registry Permissions
REM      Record comments (remarks) in a batch file
REN      Rename a file or files.
REPLACE  Replace or update one file with another
RD       Delete folder(s)
RDISK    Create a Recovery Disk
RMTSHARE Share a folder or a printer
ROBOCOPY Robust File and Folder Copy
ROUTE    Manipulate network routing tables
RUNAS    Execute a program under a different user account
RUNDLL32 Run a DLL command (add/remove print connections)
SC       Service Control
SCHTASKS Create or Edit Scheduled Tasks 
SCLIST   Display NT Services
ScriptIt Control GUI applications
SET      Display, set, or remove environment variables
SETLOCAL Control the visibility of environment variables 
SETX     Set environment variables permanently 
SHARE    List or edit a file share or print share
SHIFT    Shift the position of replaceable parameters in a batch file
SHORTCUT Create a windows shortcut (.LNK file)
SHOWGRPS List the NT Workgroups a user has joined
SHOWMBRS List the Users who are members of a Workgroup
SHUTDOWN Shutdown the computer
SLEEP    Wait for x seconds
SOON     Schedule a command to run in the near future
SORT     Sort input
START    Start a separate window to run a specified program or command
SU       Switch User
SUBINACL Edit file and folder Permissions, Ownership and Domain
SUBST    Associate a path with a drive letter
SYSTEMINFO List system configuration 
TASKLIST List running applications and services
TIME     Display or set the system time
TIMEOUT  Delay processing of a batch file
TITLE    Set the window title for a CMD.EXE session
TOUCH    Change file timestamps    
TRACERT  Trace route to a remote host
TREE     Graphical display of folder structure
TYPE     Display the contents of a text file
 
USRSTAT  List domain usernames and last login
 
VER      Display version information
VERIFY   Verify that files have been saved
VOL      Display a disk label
WHERE    Locate and display files in a directory tree
WHOAMI   Output the current UserName and domain
WINDIFF  Compare the contents of two files or sets of files
WINMSD   Windows system diagnostics
WINMSDP  Windows system diagnostics II
WMIC     WMI Commands
XCACLS   Change file permissions
XCOPY    Copy files and folders
Microsoft Help pages: Windows XP - 2003 Server
Links to other Sites, books etc...
Amitabh Kumar(9015123133,9811006683)

Tuesday, January 18, 2011

Little more detail.

Bit: A Bit is the smallest unit of data that a computer uses. It can be used to represent two states of information, such as Yes or No.

Byte: A Byte is equal to 8 Bits. A Byte can represent 256 states of information, for example, numbers or a combination of numbers and letters. 1 Byte could be equal to one character. 10 Bytes could be equal to a word. 100 Bytes would equal an average sentence.

Kilobyte: A Kilobyte is approximately 1,000 Bytes, actually 1,024 Bytes depending on which definition is used. 1 Kilobyte would be equal to this paragraph you are reading, whereas 100 Kilobytes would equal an entire page.

Megabyte: A Megabyte is approximately 1,000 Kilobytes. In the early days of computing, a Megabyte was considered to be a large amount of data. These days with a 500 Gigabyte hard drive on a computer being common, a Megabyte doesn't seem like much anymore. One of those old 3-1/2 inch floppy disks can hold 1.44 Megabytes or the equivalent of a small book. 100 Megabytes might hold a couple volumes of Encyclopedias. 600 Megabytes is about the amount of data that will fit on a CD-ROM disk.

Gigabyte: A Gigabyte is approximately 1,000 Megabytes. A Gigabyte is still a very common term used these days when referring to disk space or drive storage. 1 Gigabyte of data is almost twice the amount of data that a CD-ROM can hold. But it's about one thousand times the capacity of a 3-1/2 floppy disk. 1 Gigabyte could hold the contents of about 10 yards of books on a shelf. 100 Gigabytes could hold the entire library floor of academic journals.

Terabyte: A Terabyte is approximately one trillion bytes, or 1,000 Gigabytes. There was a time that I never thought I would see a 1 Terabyte hard drive, now one and two terabyte drives are the normal specs for many new computers. To put it in some perspective, a Terabyte could hold about 3.6 million 300 Kilobyte images or maybe about 300 hours of good quality video. A Terabyte could hold 1,000 copies of the Encyclopedia Britannica. Ten Terabytes could hold the printed collection of the Library of Congress. That's a lot of data.

Petabyte: A Petabyte is approximately 1,000 Terabytes or one million Gigabytes. It's hard to visualize what a Petabyte could hold. 1 Petabyte could hold approximately 20 million 4-door filing cabinets full of text. It could hold 500 billion pages of standard printed text. It would take about 500 million floppy disks to store the same amount of data.

Disk Storage

· 1 Bit = Binary Digit
· 8 Bits = 1 Byte
· 1000 Bytes = 1 Kilobyte
· 1000 Kilobytes = 1 Megabyte
· 1000 Megabytes = 1 Gigabyte
· 1000 Gigabytes = 1 Terabyte
· 1000 Terabytes = 1 Petabyte
· 1000 Petabytes = 1 Exabyte
· 1000 Exabytes = 1 Zettabyte
· 1000 Zettabytes = 1 Yottabyte
· 1000 Yottabytes = 1 Brontobyte
· 1000 Brontobytes = 1 Geopbyte

This is based on the IBM Dictionary of computing method to describe disk storage - the simplest.


Processor or Virtual Storage

Processor or Virtual Storage
· 1 Bit = Binary Digit
· 8 Bits = 1 Byte
· 1024 Bytes = 1 Kilobyte
· 1024 Kilobytes = 1 Megabyte
· 1024 Megabytes = 1 Gigabyte
· 1024 Gigabytes = 1 Terabyte
· 1024 Terabytes = 1 Petabyte
· 1024 Petabytes = 1 Exabyte
· 1024 Exabytes = 1 Zettabyte
· 1024 Zettabytes = 1 Yottabyte
· 1024 Yottabytes = 1 Brontobyte
· 1024 Brontobytes = 1 Geopbyte