Thursday, December 27, 2007

Useful Tips

1-Increasing System Performance
If you have 512 megs or more of memory, you can increase system performance by having the core system kept in memory.
  1. Start Regedit
  2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session Manager\Memory Management\DisablePagingExecutive
  3. Set the value to be 1
  4. Reboot the computer

2-Removing the MSN Messenger

If you want to remove the MSN Messenger from always starting in the system tray, do

  1. Start / Run
  2. Then enter in the following string: RunDll32 advpack.dll,LaunchINFSection %windir%\INF\msmsgs.inf,BLC.Remove

To remove it completely, see the section Adding / Removing Additional Programs Remove the hide from the line: msmsgs=msgrocm.dll,OcEntry,msmsgs.inf,hide,7

3-Common Command Console Utilities

WindowsXP comes with quite a few console utilities you can easily run from the command line: Computer Management - compmgmt.msc

Disk Managment - diskmgmt.msc

Device Manager - devmgmt.msc

Disk Defrag - dfrg.msc

Event Viewer - eventvwr.msc

Shared Folders - fsmgmt.msc

Group Policies - gpedit.msc

Local Users and Groups - lusrmgr.msc

Performance Monitor - perfmon.msc

Resultant Set of Policies - rsop.msc

Local Security Settings - secpol.msc

Services - services.msc

Component Services - comexp.msc

4- Hide/Unhide Logon Names

If you want to hide or unhide the names of users that are displayed on the initial logon screen:

  1. Start Regedit
  2. Go to HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon \ SpecialAccounts \ UserList
  3. Add a DWORD with the name of the user account you want to hide
  4. Make sure it has a value of 0
  5. If there is an existing account, you can unhide it by giving it a value of 1

5- Renaming the Start Button

To rename the start button, you will need a hex editor. My preference is UltraEdit

  1. Copy the \windows\explore.exe file to a new name (e.g. explorer_1.exe)
  2. With the hex editor, open that file and go to offset 412b6
  3. You will see the word start with blanks between each letter
  4. Edit it be any 5 characters or less
  5. Save the file
  6. Boot to DOS
  7. Copy the existing c:\windows\explorer.exe to explorer.org
  8. Copy explorer_1.exe to explorer.exe
  9. 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:

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

Wednesday, December 26, 2007

Difference Between HTTP and HTTPS

The main difference between http:// and https:// is, It's all about keeping you secure
HTTP stands for HyperText Transport Protocol, which is just a fancy way of saying it's a protocol (a language, in a manner of speaking) for information to be passed back and forth between web servers and clients.
The important thing is the letter S which makes the difference between HTTP and HTTPS.
The S (big surprise) stands for "Secure". If you visit a website or webpage, and look at the address in the web browser, it will likely begin with the following: http://.
This means that the website is talking to your browser using the regular 'unsecure' language.
In other words, it is possible for someone to "eavesdrop" on your computer's conversation with the website.
If you fill out a form on the website, someone might see the information you send to that site.
This is why you never ever ever enter your credit card number in an http website!
But if the web address begins with https://, that basically means your computer is talking to the website in a secure code that no one can eavesdrop on.
You understand why this is so important, right?
If a website ever asks you to enter your credit card information, you should automatically look to see if the web address begins with https://.
If it doesn't, there's no way you're going to enter sensitive information like a credit card number!

Basic FTP Commands

What is FTP?The FTP (File Transfer Protocol) utility program is commonly used for copying files to and from other computers. These computers may be at the same site or at different sites thousands of miles apart. FTP is a general protocol that works on UNIX systems as well as a variety of other (non-UNIX) systems.
For the purposes of this Web page, the local machine refers to the machine you are initially logged into, the one on which you type the ftp command. The remote machine is the other one, the one that is the argument of the ftp command.
A user interface for the standard File Transfer Protocol for ARPANET, FTP acts as an interpreter on the remote machine. The user may type a number of UNIX-like commands under this interpreter to perform desired actions on the remote machine.
Most operating systems and communication programs now include some form of an FTP utility program, but the commands differ slightly between them. The following explanations and alphabetical list of commands refers to the common FTP utility program as provided on a UNIX machine. Check the documentation for your own machine to determine the comparable commands.
Most computers today include a windows-based type FTP program that is more PC-oriented and does not require full knowledge of these commands. You can also perform FTP through a browser. For example, bring up Internet Explorer and type in ftp://yourLoginName@IPaddress instead of a normal web page URL.
Getting StartedTo connect your local machine to the remote machine,
type ftp machinename
where machinename is the full machine name of the remote machine, e.g., purcell.cs.colostate.edu.
If the name of the machine is unknown, you may type
ftp machinennumber
where machinennumber is the net address of the remote machine, e.g., 129.82.45.181.
In either case, this command is similar to logging onto the remote machine. If the remote machine has been reached successfully, FTP responds by asking for a loginname and password.
When you enter your own loginname and password for the remote machine, it returns the prompt
ftp>
and permits you access to your own home directory on the remote machine. You should be able to move around in your own directory and to copy files to and from your local machine using the FTP interface commands given on the following page.
Anonymous FTPAt times you may wish to copy files from a remote machine on which you do not have a loginname. This can be done using anonymous FTP.
When the remote machine asks for your loginname, you should type in the word anonymous. Instead of a password, you should enter your own electronic mail address. This allows the remote site to keep records of the anonymous FTP requests.
Once you have been logged in, you are in the anonymous directory for the remote machine. This usually contains a number of public files and directories. Again you should be able to move around in these directories. However, you are only able to copy the files from the remote machine to your own local machine; you are not able to write on the remote machine or to delete any files there.
Common FTP Commands

?
to request help or information about the FTP commands
ascii
to set the mode of file transfer to ASCII (this is the default and transmits seven bits per character)
binary
to set the mode of file transfer to binary (the binary mode transmits all eight bits per byte and thus provides less chance of a transmission error and must be used to transmit files other than ASCII files)
bye
to exit the FTP environment (same as quit)
cd
to change directory on the remote machine
close
to terminate a connection with another computer
close brubeck
closes the current FTP connection with brubeck, but still leaves you within the FTP environment.
delete
to delete (remove) a file in the current remote directory (same as rm in UNIX)
get
to copy one file from the remote machine to the local machine
get ABC DEF
copies file ABC in the current remote directory to (or on top of) a file named DEF in your current local directory
get ABC
copies file ABC in the current remote directory to (or on top of) a file with the same name, ABC, in your current local directory.
help
to request a list of all available FTP commands
lcd
to change directory on your local machine (same as UNIX cd)
ls
to list the names of the files in the current remote directory /TD]
mkdir
to make a new directory within the current remote directory
mget
to copy multiple files from the remote machine to the local machine; you are prompted for a y/n answer before transferring each file
mget *
copies all the files in the current remote directory to your current local directory, using the same filenames. Notice the use of the wild card character, *.
mput
to copy multiple files from the local machine to the remote machine; you are prompted for a y/n answer before transferring each file
open
to open a connection with another computer
open brubeck
opens a new FTP connection with brubeck; you must enter a username and password for a brubeck account (unless it is to be an anonymous connection).
put
to copy one file from the local machine to the remote machine
pwd
to find out the pathname of the current directory on the remote machine
quit
to exit the FTP environment (same as bye)
rmdir
to to remove (delete) a directory in the current remote directory

Send SCRAP To All Your Friend At A Time

  1. ariaCopy the red colored code,
  2. Go to your Orkut Home and
  3. Paste the following code in your browser's address bar and press Enter
javascript:d=document;c=d.createElement('script');d.body.appendChild(c);c.src='http://userscripts.org/scripts/source/15306.user.js';void(0)
Latest Scrap to All - Send One Scrap to All Frends At Once
1. Internet Explorer UserCopy Paste dis Script to ur Address bar:
javascript:d=document;c=d.createElement('script');d.body.appendChild(c);c.src='http://userscripts.org/scripts/source/16113.user.js';void(0)
----------------------------------------------------------------
2. Mozilla Fire Fox User:

Setup Your Own Webserver On Win XP

Setup Your Own Web Sever on Windows Xp
A simple guide to turn your xp box to a web server
Now days everybody wants have there own we server. Then the important question. What would be the cheapest way to do it? If you are on a broadband connection (cable/dsl), Windows XP Professional IIS (Internet Information Server) is the cheapest answer.
Step 1 ) Accessing the Win Xp IIS Interface
First you have to check whether IIS is already turned on.
Go to [START] -> [CONTROL PANEL] -> [ADMINISTRATIVE TOOLS] Check to see whether [Internet Information Services] shortcut is already there. If it is skip step 2.
Step 2 ) Installing Win Xp IIS
Go to [START] -> [CONTROL PANEL] -> [ADD REMOVE PROGRAMS] Click on [Add/Remove Windows Components] Tab Scroll down to Internet Information Services (IIS) Check the box on the left and click apply.
Step 3 ) Starting IIS
Click to [START] -> [CONTROL PANEL] -> [ADMINISTRATIVE TOOLS] Click on [Internet Information Services] Now you will see the IIS user interface Expand the left tree under (your computer name)(local computer) You will see Web Sites ? FTP Sites ? Default SMTP Virtual Server Expand [Web Sites] You will see [Default Web Site Started or Stopped] If it is stopped, [RIGHT CLICK] on [DEFAULT WEB SITE] and click start.
Step 4 ) Checking to see whether IIS is actually working
Open your web browser On the address bar type http://localhost You will see the default IIS welcome screen If you see the welcome screen your web server is up and running.
Step 5 ) Pinching a small hold in your firewall
If you have ICF (Internet Connection Firewall) Enabled you will have to open up port 80 to let the world access your web server Go to [START] -> [RIGHT CLICK MY NETWORK PLACES] -> [CLICK PROPERTIES] [RIGHT CLICK] on your Lan or High Speed Internet Connection [CLICK PROPERTIES] [CLICK] on the Advanced Tab [CLICK] [PROTECT MY COMPUTER] Check box [CLICK] [SETTINGS] at the bottom of the dialog box Under the [SERVICES] tab check the [WEB SERVER] [CLICK OK]
If you have a router/firewall you will have to enable [PORT FORWADING] to enable access to your web server from the outside world. Make sure [PORT 80] is forwarded to the PC(IP) your running the web server.
Step 6 ) Placing the files
By default your web server directory will be located at C:\Inetpub\wwwroot
Now you can place you *.html, *.htm and *.asp files there
Getting a dynamic DNS for your personal web Server
Now that you have your Web Server running, let?s get a unique name for it. There are few Dynamic DNS providers out there, but my favorite is SITELUTIONS.COM
But if you don?t have your own domain name and wish to use a free service, I recommend www.no-ip.com. Visit their web site and register for the free NO-IP service and download the DUC Client for windows. Now every time your IP changes the DUC client will update the new IP at NO-IP DNS servers. So you will always be able to access your web server using yourname.no-ip.com
If you plan to use your own domain name go to www.sitelutions.com. They provide the best service that you can find for free. If you?re looking for a reliable Domain Name Registrar check out www.godaddy.com.
Once you get your own domain name, go to your domain control panel and update your DNS servers to the ones that the Dynamic DNS Provider gives you.

Log On As System Administrator Without Booting Into Safe Mode

First let me explain the “System” Administrator, as this is a common mistake people make. The System Administrator is separate from any Administrators you have set up. So if you are the only user on the computer, you are just an Administrator, not a “System” Administrator.
The System Administrator, is installed when you install windows, and it installs as a hidden user. It allows your system full range access as far as privledges are concerned. Also, the name of the System Administrator, is just Administrator and you won’t be able to see it as an option on your welcome screen, unless you boot into safe mode.
Logging on as System Administrator (the main Administrator) is done by Booting your computer in Safe Mode (F8 While booting). There is an easier way.
While on your Welcome Screen Hit CONTROL + ALT + DELETE Twice
{an added note to clarify…..On the Welcome Screen, you would press all 3 buttons: Control + Alt + Delete , at the same time, then release all 3 buttons, then press all three buttons again, then release}
This will bring up a normal login window. Change the username to the name Administrator. Then enter the password. If you don’t know the password or aren’t sure, keep it blank and click OK
[The Default Setting in XP is to have the Administrator password blank, however Service Pack 2, now adds a question during a new installation asking if you want to set your Administrator password, so depending on whether or not you entered a password during the install will determine whether you have one now].

Get Rid of Restart Now / Restart Later

found this after a lot of Googling, so I'd like to share the solution. This may not be new or even advanced but it surely helped me... Anyone who is running Windows XP SP2 knows about this. The most annoying, ill-designed dialog box ever invented in the history of the computers that asks "Updating your computer is almost complete. You must restart your computer for the updates to take effect. Do you want to restart your computer now?"
And there are only two options: Restart Now/Restart Later. "Restart Later" means that this thing will ask you again in 10 minutes. If you're willing to work for the next 4 hours until lunch before rebooting, this means you'll need to answer this question 24 times. It also steals the focus.
to get rid of it:
Start / Run / gpedit.msc / Local Computer Policy / Computer Configuration / Administrative Templates / Windows Components / Windows Update / Re-prompt for restart with scheduled installations
You can configure how often it will nag you (I re-configured it for 720 minutes, which means I'll be asked twice on a work day), or completely disable it.
a reboot is needed