How to Configure POP3 / IMAP in Outlook 2007 - Example Gmail

To set up your Outlook 2007 client to work with Gmail:

  1. Enable IMAP in Gmail. Don't forget to click Save Changes when you're done.
  2. Open Outlook.
  3. For new setups, select Do not upgrade.
  4. Click Yes.
  5. Enter your display name, email address (including '@gmail.com'), and password. Google Apps users, enter your full email address, e.g. 'username@your_domain.com.'
  6. Select the 'Manually configure server settings or additional server types' checkbox.



  7. Select Internet E-mail.
  8. Settings: name, full email address (including '@gmail.com' or '@your_domain.com')
    • In the Account Type dropdown menu, select IMAP. In the 'Incoming server name' section, enter: imap.gmail.com and in the 'Outgoing server name (SMTP)' section, enter: smtp.gmail.com.
    • In the 'User Name' field, give your full Gmail address, including '@gmail.com' or '@your_domain.com.'
    • After creating these settings, clicking Next takes you to the end of the setup.



  9. In the Tools menu, select Options then Mail Setup. Under 'Email Accounts,' click E-mail Accounts.
  10. Select an account, and click Change above the list of accounts. Click More Settings, then the Advanced tab.
    • Incoming server must be 993, and must use SSL encryption.
    • Outgoing server can use 587, TLS encryption.



  11. Click the Outgoing Server tab. Make sure that 'My outgoing server (SMTP) requires authentication' is selected. The radio button 'Use same settings as my incoming mail server' should also be selected.



  12. Click OK > Next > Finish > Close > OK.
  13. Check our recommended client settings, and adjust your client's settings as needed.
-------------------------------------------------------------------------------------------------------------------------------------------------------------

To configure Outlook 2007 for your Gmail address:

  1. Enable POP in your email account. Don't forget to click Save Changes when you're done.
  2. Open Outlook.
  3. Click the Tools menu, and select Account Settings...
  4. On the E-mail tab, click New...
  5. If you are prompted to Choose E-mail Service, select Microsoft Exchange, POP3, IMAP, or HTTP, and clickNext.
  6. Fill in all necessary fields to include the following information:
  7. Your Name: Enter your name as you would like it to appear in the From: field of outgoing messages.
    Email Address: Enter your full Gmail email address (username@gmail.com). Google Apps users, enter your full address in the format username@your_domain.com.
    Password: Enter your email password.

    Manually configure server settings or additional server types: Leave this option unchecked if you want to automatically configure Outlook 2007. If you want to manually configure Outlook 2007, check this box now. Google Apps users should configure manually as follows.

    Enter name, email address, and password

  8. Click Next. If you are configuring Outlook 2007 automatically, you're done! Just click Finish.
  9. Successful Configuration

  10. If you are configuring Outlook 2007 manually, select Internet E-mail and click Next.
  11. Verify your User Information, and enter the following additional information:
  12. Server Information

    Account Type: POP3

    Incoming mail server: pop.gmail.com (Google Apps users, enter the server names provided, don't add your domain name in these steps)

    Outgoing mail server (SMTP): smtp.gmail.com

    Logon Information

    User Name: Enter your Gmail username (including @gmail.com). Google Apps users, enter your full address in the format username@your_domain.com

    Password: Enter your email password.

    Require logon using Secure Password Authentication (SPA): Leave this option unchecked.

    Account Settings
  13. Click the More Settings... button, and select the Outgoing Server tab.
  14. Check the box next to My outgoing server (SMTP) requires authentication and select Use same settings as my incoming mail server.
  15. Outgoing Server Tab

  16. Click the Advanced tab, and check the box next to This server requires an encrypted connection (SSL) underIncoming Server (POP3). Enter 995 in the 'Incoming Server' box.
  17. In the Outgoing server (SMTP) box, enter 587, and select TLS from the drop-down menu next to Use the following type of encrypted connection:.

    Advanced Tab

  18. Click OK.
  19. Click Test Account Settings... After receiving 'Congratulations! All tests completed successfully', click Close.
  20. Click Next, and then click Finish.

Congratulations! You're done configuring your client to send and retrieve Gmail messages



Collections of useful commands

Useful Commands:

Ping -a x.x.x.x

Hostname

Nbtstat -a : display a hostname with MAC address

nslookup yahoo.com

ipconfig

ipconfig /all

ipconfig /release : release IP from DHCP

ipconfig /renew: renew IP from DHCP

NETSTAT

NETSTAT utility shows the protocols statistics and the current established TCP/IP connections in the computer.

Arp -a : to find MAC address

tracert ip address or website address

chkdsk /F - repair harddisk problems

netsh diag>show all

net view : to find the attached local file server list

net accounts : shows password mechanism


OSK : onscreen keyboard


Recovers readable information from a bad or defective disk.

RECOVER [drive:][path]filename

systeminfo : System Up Time report

gpresult : displaying Group policy details

gpresult /Username to display domain user policy

gpupdate /force & gpupdate /sync - to update the Group Policy

wmic : displaying BIOS information ie Model, serial number.

Atrrib: to change the file or folder properties

attrib -r -s -h filepath

cacls file or folder path /E /G everyone:F to change the permissions

Run as Admin in Command Line

runas /user:REQUIREDUSERNAME /savecred c:\PATH\TO\APP.exe

C:\>runas /noprofile /user:mymachine\administrator cmd

Enter the password for mymachine\administrator:

To find BIOS details

Product name, model name, serial number
WMIC csproduct get Vendor, Name, Version, IdentifyingNumber

·Serial number
WMIC bios get serialnumber

·wmic csproduct get name,vendor,identifyingNumber

·MAC Address
WMIC nic where (description like 'Intel%') get macaddress, description

·wmic nic get macaddress,description

·Processor
WMIC cpu get ADDRESSWIDTH, DESCRIPTION, CURRENTCLOCKSPEED, NUMBEROFCORES, MANUFACTURER

·Memory
WMIC memphysical get maxcapacity,memorydevices
WMIC memorychip get datawidth,capacity,speed,totalwidth

WMIC BIOS GET /FORMAT:CSV.XSL

wmic diskdrive get name,size,model

wmic partition get name,size,type

wmic bios get name,serialnumber,version

wmic csproduct get name

wmic bios get serial number

wmic baseboard get product,manufacturer

wmic product list brief

wmic service list brief
wmic process list brief
wmic startup list brief

wmic product get name

wmic process list brief

Determine user currently logged in remotely

wmic /node:remotecomputer computersystem get username

Remotely list startup apps

wmic /node:machinename startup list full

wmic STARTUP GET Caption, Command, User

Get OS Information and export to CSV, html, xsl, mof

wmic /output:wmicbuild.csv os get /all /format:csv

wmic /output:wmicbuild.html os get /all /format:htable

Remotely change the IP to a static IP (Index is Interface#)

wmic /node:machinename nicconfig where Index=1 call EnableStatic ("172.16.10.10"), ("255.255.0.0")

Remotely change IP to use DHCP

wmic /node:machinename nicconfig where Index=1 call EnableDHCP

Remotely Display machine’s MAC Address

wmic /node:machinename nic get macaddress

Remotely list running processes every second

wmic /node:machinename process list brief /every:1

Delete ARPCache

netsh int ip delete arpcache

Remotely display System Info

wmic /node:machinename computersystem list full

Full Drive Info

wmic diskdrive list full

wmic partition list full

Bios Info

wmic bios list full

List all Hotfixes and Services Packs

wmic qfe

Remotely List Local Enabled Accounts

wmic /node:machinename USERACCOUNT WHERE "Disabled=0 AND LocalAccount=1" GET Name

Start a service

wmic /node:machinename 4 service lanmanserver CALL Startservice

List Services with brief description

wmic service list brief

List useraccounts

wmic useraccount

wmic useraccount list brief

Enable RDP

wmic /node:"machinename 4" path Win32_TerminalServiceSetting where AllowTSConnections=“0” call SetAllowTSConnections “1”

List number of times a user logged on

wmic netlogin where (name like "%adm%") get numberoflogons

Display Shares

wmic share list brief

wmic bios get /format:list


Go to registry and navigating the values given below.......

HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\Sys temBiosDate
HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\Sys temBiosVersion
HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\Vid eoBiosDate
HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\Vid eoBiosVersion


Set IP address from Command Line

C:\>netsh interface ip set address name="Local Area Connection" static 192.168.1.x 255.255.255.0 192.168.1.1

interface ip set dns “Local Area Connection” static 192.168.1.1

interface ip set address “Local Area Connection” dhcp

Stop Services from command line.

FIREWALL.CPL

XP:

sc stop sharedaccess

sc start sharedaccess

Vista:

Sc stop mpssvc

Sc start mpssvc

Change IP address in Remote system :

regfind -p HKEY_LOCAL_MACHINE\SYSTEM\Current ControlSet\Services\Tcpip\parameters

gpresult /USER rajeshxxx /V Start > run > CMD > type " gpresult" the Group Policy Results command line tool verifies all policy settings in effect for a specific user or computer

netsh interface ip show config

netsh diag>ping adapter

devmgmt.msc Start > run > Device manager viewing, installing, removing & disabling hardware items

sysdm.cpl (or) Win + Pause/Break Start > run > system properties

lusrmgr.msc Start > run >

services.msc Start > run >

control userpasswords2 Start > run >

Instant Lock shortcut %windir%\system32\rundll32.exe user32.dll,LockWorkStation Right clik on desktop > new > shortcut > type the command

Shutdown –r –t 00 to restart

Shutdown –s –t 00 to shutdown

Remote system shutdown

Shutdown –I shutdown remote system interactively

Shutdown –a to stop shutdown