Pages

Thursday, October 21, 2010

How to turn off Internet Explorer Enhanced Security Configuration in Windows Server 2008

 

  • First, open the Server Manager by going to Start > Server Manager
  • In the Server Manager browse to the Security Information section and click Configure IE ESC. In the figure below, IE ESC is located in the very lower right-hand corner of the window.

    Server Manager

  • In the Internet Explorer Enhanced Security Configuration window decide for whom you want IE ESC enabled or disabled and click OK.
    IE ESC options
  • Thursday, September 23, 2010

    Free Public DNS Server

    Free Public DNS Server

    Service provider: Google

    • 8.8.8.8
    • 8.8.4.4

    Service provider:OpenDNS
    OpenDNS free dns server list:

    • 208.67.222.222
    • 208.67.220.220

    Service provider: ScrubIt
    Public dns server address:

    • 67.138.54.100
    • 207.225.209.66

    Service provider:dnsadvantage
    Dnsadvantage free dns server list:

    • 156.154.70.1
    • 156.154.71.1

    Service provider: vnsc-pri.sys.gtei.net
    Public Name server IP address:

    • 4.2.2.1
    • 4.2.2.2
    • 4.2.2.3
    • 4.2.2.4
    • 4.2.2.5
    • 4.2.2.6

    Other....

    Verizon (Reston, VA, US)
    151.197.0.38
    151.197.0.39
    151.202.0.84
    151.202.0.85
    151.202.0.85
    151.203.0.84
    151.203.0.85
    199.45.32.37
    199.45.32.38
    199.45.32.40
    199.45.32.43

    GTE (Irving, TX, US)
    192.76.85.133
    206.124.64.1

    One Connect IP (Albuquerque, NM, US)
    67.138.54.100

    Exetel (Sydney, AU)
    220.233.167.31

    VRx Network Services (New York, NY, US)
    199.166.31.3

    SpeakEasy (Seattle, WA, US)
    66.93.87.2
    216.231.41.2
    216.254.95.2
    64.81.45.2
    64.81.111.2
    64.81.127.2
    64.81.79.2
    64.81.159.2
    66.92.64.2
    66.92.224.2
    66.92.159.2
    64.81.79.2
    64.81.159.2
    64.81.127.2
    64.81.45.2
    216.27.175.2
    66.92.159.2
    66.93.87.2

    Sprintlink (Overland Park, KS, US)
    199.2.252.10
    204.97.212.10
    204.117.214.10

    Cisco (San Jose, CA, US)
    64.102.255.44
    128.107.241.185


    OpenNIC
    202.83.95.227 (au)
    119.31.230.42(au)
    178.63.26.173 (de)
    217.79.186.148 (de)
    27.110.120.30(nz)
    89.16.173.11 (uk)
    69.164.208.50 (us)
    216.87.84.211(us)
    2001:470:8388:10:0:100:53:20 (us)
    2001:470:1f10:c6::2 (us)

    How do I change or setup DNS server IP address?

    Visit below mentioned site to setup DNS as per your operating system:

    Friday, September 17, 2010

    How To Create VLAN in HP Procurve Switches

    Follow the following steps

    Cofig t

    vlan 125
       name "VLAN125"
       untagged 1-12
      ip address 10.50.0.5 255.255.254.0
       tagged 25-26
       exit
    vlan 100
       name "VLAN100"
    untagged 13-24
      ip address 10.0.0.98 255.255.248.0
       tagged 25-26
       exit
    ip routing

    wri mem

    ####

    tagged 25-26 is equivalent to trunking for Cisco Switches

    untagged command make the required ports to be the part of vlan you want.
    From the above example ports 1 - 12 are part of vlan 125 & port 13-24 are part of vlan 100.
    and ports 25 & 25 are trunk ports can carry vlan information for vlan 25 & 100
    make sure you configure ip routing to en bale intervlan routing

    Thursday, August 26, 2010

    Increasing System Performance Without Adding Memory in Windows 7

     

    A good link on improving system performance for Windows computer.

    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01817290&tmp_track_link=ot_faqs/top_issues/en_us/c01817290/loc:10&lc=en&dlc=en&cc=us&product=4007138&lang=en

    To free resources and keep the computer running correctly, follow a maintenance schedule as listed below.
    Recommended maintenance schedule
    Daily tasks Weekly tasks Monthly tasks Quarterly tasks
    Manage e-mail

    • Delete e-mail from unknown sources.
    • Do not open attachments that you do not trust.
    • Organize e-mail.
    Protect against viruses, adware, and spyware

    • Update definition files or schedule a weekly automatic update.
    • Run a full virus, adware, and spyware scan or schedule a weekly automatic scan.
    Use Windows Update

    Check for updates or schedule a monthly automatic update.
    Set new passwords
      Optimize system performance

    Review the Start menu

    Set the Start menu to open only needed applications.
    Clean the computer, monitor, keyboard, and mouse

    Use a portable vacuum to remove dust and debris from ventilation areas.
      Clean up Web browser files

    • Delete cookies.
    • Delete cache.
    • Delete history files.
    Clean up the desktop

    Delete or remove unneeded icons and software programs.
     
     

    Thursday, August 19, 2010

    System File Checker

     

    1. Copy the i386 folder from a Windows XP cd that is the same version you are running.

    2. Copy the following into notepad and save as i386Path.reg

        Windows Registry Editor Version 5.00
        [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]"SourcePath"="c:\\"
        [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]"SourcePath"="c:\\"

    3. At the run line type

    sfc  /scannow

     

    Source: http://www.updatexp.com/scannow-sfc.html

    Friday, August 06, 2010

    How to keep mapped drives connected

    Two solutions to keep mapped drives connected (live)

    1. Change the setting on the NIC

    A. Right click NIC and select Properties

    B. On the Power Management tab uncheck “Allow the computer to turn off this device to save power.”

    2. Registry hack

    A. [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters]

        a. Create new REG_DWORD KeepAliveTime and set it to 00300000

        b. Create new REG_DWORD KeepAliveInterval and set it to 00001000

    What this does is that it sends keep alive packets every 5 minutes to the server you are mapped to making the connection live and not idle.

    Friday, July 23, 2010

    How To Pin a Network Shortcut to Taskbar in Windows 7

     

    By default, Windows 7 will not allow you to pin a shortcut to a network program to the taskbar.

    Follow these steps to get around the default.

    1. Copy the .exe to your local drive.
    2. Make a shortcut of the local .exe on your desktop.
    3. Pin the new local shortcut to your taskbar.
    4. Right-click the pinned item on the taskbar, then right-click the shortcut in the jump list.
    5. Click Properties, and edit the Target and Start-in fields so they point to the network location.
    6. Delete the .exe you copied locally and remove the shortcut you created on your desktop.

    You should now have a pinned shortcut on the taskbar to a network location.

    Friday, July 02, 2010

    Microsoft Office Outlook cannot provide form scripting support This feature is not available

    If you get the following error message in Outlook on a Terminal Server, do the following:
    Run this from a command prompt: msiexec /i [GUID] ADDLOCAL=OutlookVBScript /qb

    You need to find out what GUID your Office version have. The easiest way to do that is to open Regedit and start a search from this key:
    HKLM/Software/Microsoft/Windows/Current Version/Uninstall

    All GUID’s start with a brace ({). Search for Office and you will find the right key. So, for example, if you run Office Outlook 2007 Proffessional Plus you would run this:
    msiexec /i {90120000-0011-0000-0000-0000000FF1CE} ADDLOCAL=OutlookVBScript /qb

    Monday, June 28, 2010

    How to Disable BES / BAS 5 Redirection

    In BAS 5, select user.

    In Messaging configuration section, click Default configuration.

    Click Edit user.

    Change Redirect to BlackBerry device from Yes to No.

    Click Continue to user information edit.

    Click Save all.

    Thursday, June 24, 2010

    Delete a Service

    Normally it should not be necessary to manually delete a service. Uninstalling an application should remove its associated service (if any).

    However, should it be necessary to manually remove a service:

    1. Run Regedit or regedt32.
    2. Fnd the registry entry:

                HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services

    1. Find the service there and delete it.
      You may wish to look at the keys and see what files the service was using and perhaps delete them also.

    or

    From CMD

     
    1. Start->Run and type cmd in the Open: line. Click OK.
    2. Type: sc delete <service name>
    3. Reboot the system

     

    Note:

    • You will have to reboot before the list gets updated in server manager.
    • I have had it pointed out that some programs are cunning and prevent you from removing their service easily. (For example the spyware\malware called ‘Command Service’ - "cmdService".) These change the permissions to make it more difficult for you to delete them. For these you will have to right click on the ‘service’ in regedit (regedt32), go to permissions and grant the administrator full control before the service can be deleted.

    How to install or upgrade the MAPI Interface Client and CDO 1.2.1

    Overview

    To install the Microsoft Exchange Server Messaging Application Programming Interface (MAPI) Client and Collaboration Data Object (CDO) 1.2.1 without Microsoft Exchange System Manager or the Microsoft Exchange Server MAPI Client and CDO previously installed, complete the following steps:

    1. Download ExchangeMapiCdo.EXE from www.microsoft.com.
    2. Double-click ExchangeMapiCdo.EXE to extract the ExchangeMapiCdo.MSI file.
    3. Double-click ExchangeMapiCdo.MSI to open the file and follow the prompts to install the Microsoft Exchange Server MAPI Client and CDO 1.2.1.
    4. Restart the BlackBerry Enterprise Server.

    Important: Restarting certain BlackBerry Enterprise Server services delays email message delivery to BlackBerry smartphones. For more information, see KB04789.

    Update a previous MAPI Client to Microsoft Exchange Server MAPI Client and CDO 1.2.1

    To update to the Microsoft Exchange Server MAPI Client and CDO 1.2.1 from a MAPI client pack or Microsoft Exchange System Manager, complete the following steps:

    1. Download ExchangeMapiCdo.EXE from www.microsoft.com.
    2. Stop all BlackBerry Enterprise Server and Windows NT® services or processes that use the MAPI32.DLL file. For more information, see KB13718.
    3. Remove the Microsoft Exchange System Manager or the Microsoft Exchange Server MAPI Client and CDO's installed on the computer using the Add or Remove Programs tool in Control Panel.
    4. Locate the following files and rename them with the file extension .old:
      • MAPI32.DLL
      • EMSMDB32.DLL
      • EMSABP32.DLL
      • CDO.DLL
        • NOTE: If dealing with a 64-bit Operating System DO NOT modify the above files if located in the C:\Windows\SysWOW64 directory.
    5. Locate the fixMAPI.exe file in the System32 directory.
    6. Double-click the fixMAPI.exe file.
    7. Double-click ExchangeMapiCdo.EXE to extract the ExchangeMapiCdo.MSI file.
    8. Double-click ExchangeMapiCdo.MSI to and follow the prompts to install the Microsoft Exchange Server MAPI Client and CDO 1.2.1
    9. Start all the BlackBerry Enterprise Server services.
    10. Update the MAPI Profile by following:
    For BlackBerry Enterprise Server 4.0, 4.1, and 5.0
    1. Go to Start > Programs > BlackBerry Enterprise Server > BlackBerry Server Configuration.
    2. On the BlackBerry Server tab, click Edit MAPI Profile
    3. Type the name of the Microsoft Exchange Server and the BlackBerry Enterprise Server service account mailbox name.
    4. Click Check Name.
    5. Click Apply > OK.

    Important: Restarting certain BlackBerry Enterprise Server services delays email message delivery to BlackBerry smartphones. For more information, see KB04789.

    Note: The Microsoft Exchange 2000 or Microsoft Exchange 2003 CD-ROM might be required in order to uninstall Microsoft Exchange System Manager. If the end user license agreement does not appear during installation of the Microsoft Exchange Server MAPI Client and CDO 1.2.1, or the MAPI32.DLL file is 600 KB or more, the Microsoft Exchange Server MAPI Client and CDO 1.2.1 did not install correctly. The installation appears to have completed successfully, but the Program Files\ExchangeMAPI directory is not installed and the MAPI client is not updated. This occurs if all of the MAPI files were not renamed with the .old file extension before installation.


    Additional Information

    To verify the successful installation of the Microsoft Exchange Server MAPI Client and CDO 1.2.1, complete the following steps:

    1. Verify that the ExchangeMAPI folder was created in the Program Files folder. The ExchangeMAPI folder contains a selection of .DLL files.
    2. In the BlackBerry Messaging Agent (MAGT) logs, verify the following [ENV] environment variables are reported:
      • [ENV] MAPI32.DLL: C:\Windows\System32\MAPI32.DLL, Version: 1.0.2536.0
      • [ENV] CDO.DLL: C:\Program Files\ExchangeMAPI\ Version: CDO.DLL, 6.5.8165.0
      • [ENV] EMSMDB32.DLL: C:\Program Files\ExchangeMAPI\ EMSMDB32.DLL, Version: 6.5.8165.0

    Note: The file directories listed in the logs contain the version of the files, and the currently available version may be newer than what is listed above.

    From http://www.blackberry.com/btsc/viewContent.do?externalId=KB15779&sliceId=1

    Wednesday, June 23, 2010

    Windows 7 – Moving Program to System Tray Instead of Task Bar When Minimized

    AIM

        1. Menu->Settings->Buddy List

        2. Check box for “Hide the taskbar icon when I close the Buddy List”

    MediaMonkey

        1. Tools->Options->General

        2. Uncheck “Always show tray icon”

        3. Select Minimize to MicroPlayer

    Skype

        1. Navigate to C:\Program Files\Skype\Phone

        2. On the Compatibility tab Check box for “Run this program in compatibility mode for”

        3. Select Windows Vista (Service Pack 2)

    Winamp

        1. Options->Preferences->General Preferences

        2. Uncheck Show Winamp in Taskbar

        3. Check Show Winamp in System Tray

    Windows Live

        1. Navigate to C:\Program Files \Windows Live\Messenger

        2. Right click msnmsgr.exe and select properties

        3. On the Compatibility tab Check box for “Run this program in compatibility mode for”

        4. Select Windows Vista (Service Pack 2)

    Yahoo

        1. Messenger->General

        2. Check box for “Remove the taskbar button when I minimize the main window”

    Thursday, June 17, 2010

    Outlook 2007 / 2010 Search Criteria / Operators

    The following table shows examples of searches you might find useful. The search query syntax, available when the Instant Search (Instant Search: A Search feature that provides search results quickly with word highlighting as you type. The Instant Search pane is always available in Mail, Calendar, Contacts, Tasks, Notes, Folder List, and Journal.) feature is enabled, follows this basic form: keyword:your search criteria value.

    For example, from:bobby

    You can also use logical operators AND, NOT, OR, <, >, =, and so forth to refine your search, and these are noted in the table. Logical operators must be typed in uppercase letters.

    Note   The search query syntax is created automatically and displayed in the Instant Search box when you use the Query Builder described in the previous section.

    Type this

    To find this
    bobby Items containing bobby, BOBBY, BoBby, or any other combination of uppercase and lowercase letters. Instant Search is not case sensitive.
    bobby moore Items containing both bobby and moore, but not necessarily in that order.
    bobby AND moore Items containing both bobby and moore, but not necessarily in that order. Note that logical operators such as AND, NOT, and OR must be in uppercase letters.
    bobby NOT moore Items containing bobby, but not moore.
    bobby OR moore Items containing bobby, moore, or both.
    "bobby moore" Items containing the exact phrase bobby moore. Note the use of double quotes so that the search results match the exact phrase within the quotes.
    from:"bobby moore" Items sent from bobby moore. Note the use of double quotes so that the search results match the exact phrase within the quotes.
    from:"bobby moore" about:”status report” Items sent from bobby moore where status report appears in the subject line, body, and attachment contents. Note the use of double quotes so that the search results match the exact phrase within the quotes.
    hasattachment:yes Items that have attachments. You can also use hasattachment:true to get the same results.
    attachments:presentation.pptx Items that have attachments named presentation.pptx or if the attachment contains presentation.pptx within its contents.
    subject:"bobby moore" Items whose subject contains the phrase bobby moore.
    subject:bobby moore Items with bobby in the subject line and with moore anywhere else in the document.
    cc:"bobby more" Items in which the display name bobby moore is on the Cc line.
    cc:bobbymoore@contoso.com Items in which the e-mail address bobbymoore@contoso.com is on the Cc line.
    bcc:bobby Items in which bobby is on the Bcc line.
    messagesize:<10 KB Items whose size is less than 10 kilobytes. Note the use of the "less than" comparison operator (<).
    messagesize:>5 MB Items whose size is larger than 5 megabytes. Note the use of the "greater than" comparison operator (>).
    received:=1/1/2006 Items that arrived on 1/1/2006. Note the use of the "equals" comparison operator (=).
    received:yesterday Items that arrived yesterday. Instant Search also recognizes the follow date values:
      Relative dates:    For example, today, tomorrow, yesterday
      Multi-word relative dates:    For example, this week, next month, last week, past month, coming year
      Days: Sunday, Monday ... Saturday
      Months: January, February ... December
    received:last week Items that arrived last week. Note that if you run this query again a month from now you will obtain different results because it is a time relative query.
    due:last week Items that are flagged for follow up a due date.
    messagesize:tiny Items whose size is less than 10 kilobytes
    messagesize:small Items whose size is between 10 and 25 kilobytes
    messagesize:medium Items whose size is between 25 and 100 kilobytes
    messagesize:large Items whose size is between 100 and 500 kilobytes
    messagesize:verylarge Items whose size is between 500 kilobytes and 1 megabyte
    followupflag:follow up Items that are flagged for follow up.
    messagesize:enormous Items whose size is larger than 5 megabytes
    hasflag:true Items that are flagged for follow up.
    from:bobby (received:1/7/05 OR received:1/8/05) Items from bobby that arrived on either 1/7/05 or 1/8/05. Note the use of parentheses to group the dates.
    received:>=10/1/06 AND received:<=10/5/06 Items that arrived between 10/1/06 and 10/5/06.
    received:>10/1/06 AND received:<10/5/06 Items that arrived after 10/1/06 but before 10/5/06.
    sent: yesterday Items that you sent yesterday.
    to:bobby Items that you sent to bobby when you are searching in the Sent Items folder.
    read:no Items that have not been read. You can also use read:false to get the same results.
    subject:status received:May Items received from anyone during the month of May (any year) where the subject contains status.
    startdate:next week subject:status Calendar items next week where the subject contains status.
    is:recurring Calendar items that are recurring.
    organizer:bobby Calendar items where bobby is the organizer.
    category:business Items that are categorized as business.
    firstname:bobby Contacts that contain bobby in the First Name field.
    lastname:moore Contacts that contain moore in the Last Name field.
    nickname:bobby Contacts that contain bobby in the Nickname field.
    jobtitle:physician Contacts that contain physician in the Job Title field.
    pager:555-0100 Contacts that contain 555-0100 in the Pager field.
    businessphone:555-0100 Contacts that contain 555-0100 in the Business Phone field.
    homephone:555-0100 Contacts that contain 555-0100 in the Home Phone field.
    mobilephone:555-0100 Contacts that contain 555-0100 in the Mobile Phone field.
    carphone:555-0100 Contacts that contain 555-0100 in the Car Phone field.
    businessfax:555-0100 Contacts that contain 555-0100 in the Business Fax field.
    homefax:555-0100 Contacts that contain 555-0100 in the Home Fax field.
    businessaddress:(4567 Main St., Buffalo, NY 98052) Contacts that contain 4567 Main St., Buffalo, NY 98052 in the Business Address field. Note the use of parentheses to enclose the address.
    homeaddress:(4567 Main St., Buffalo, NY 98052) Contacts that contain 4567 Main St., Buffalo, NY 98052 in the Home Address field. Note the use of parentheses to enclose the address.
    businesscity:buffalo Contacts that contain buffalo in the Business City field.
    businesspostalcode:98052 Contacts that contain 98052 in the Business Postal Code field.
    street:(4567 Main St) Contacts that contain 4567 Main St in the Business Address Street field. Note the use of parentheses to enclose the address.
    homestreet:(4567 Main St) Contacts that contain 4567 Main St in the Home Address Street field. Note the use of parentheses to enclose the address.
    birthday:6/4/1960 Contacts that contain 6/4/1960 in the Birthday field.
    webpage:www.contoso.com Contacts that contain the URL www.contoso.com in the Web Page Address field.

    From:

    http://office.microsoft.com/en-gb/outlook-help/learn-to-narrow-your-search-criteria-for-better-searches-in-outlook-HA010238831.aspx

    Tuesday, June 15, 2010

    Restricting Outlook Client Versions in Exchange 2007

    Determining Which Client Versions are in use

    Before implementing client version blocking it’s a good idea to know versions are in use.  With this information you can tell which clients need to be upgraded to a newer version before blocking is implemented, or simply which clients will no longer be able to connect after it is implemented.  In Exchange 2007 client version information is retrieved using the Get-LogonStatistics cmdlet.

    Get-LogonStatistics accepts a mailbox, a mailbox database, or a server name as input and returns statistics including user name, logon time, last access time, client name, and client version.

    For example, to list the client versions used to access a single mailbox, the command is:

    Get-LogonStatistics JSmith | ft UserName,ClientVersion,LogonTime

    To list the client versions for all clients connecting to a specific server:

    Get-LogonStatistics –Server SERVER01 | ft UserName,ClientVersion,LogonTime

    To list the client versions for all clients on all mailbox servers, and export the results to a CSV file:

    Get-MailboxServer | Get-LogonStatistics | `

    Select UserName,ClientName,ClientVersion,LogonTime | `

    Export-Csv -Path ExchangeClientVersions.csv

    Once you have identified the clients in use in your organisation and taken any remedial action necessary you can move on to blocking any further access by unwanted clients.

    Determining Which Client Versions to Block

    The client version is determined by the version of Emsmdb32.dll on the client.  This is not necessarily the same as the Outlook version, or the version of any other DLL or executable files.  This table shows the version of Emsmdb32.dll for major releases or updates of Outlook since the release of Office XP.

    Release

    Emsmdb32.dll Version

    Office XP RTM

    10.0.2627.1

    Office XP SP1

    10.0.3416.0

    Office XP SP2

    10.0.4115.0

    Office XP SP3

    10.0.6515.0

    Office 2003 RTM

    11.0.5604.0

    Office 2003 SP1

    11.0.6352.0        

    Office 2003 SP2

    11.0.6555.0

    Office 2003 SP3

    11.0.8161.0

    Office 2007 RTM

    12.0.4518.1014

    Office 2007 SP1

    12.0.6211.1000

    Office 2007 SP2

    12.0.6423.1000

    Table 1 - Emsmdb32.dll version by Office release

    There are some important points to note:

    • The MAPI client version numbers listed in Table 1, and those in the results of the Get-LogonStatistics cmdlet, are in the format x.0.y.z.  When specifying MAPI versions to be blocked you must use the format x.y.z.  For example, the version number for Outlook 2003 RTM becomes 11.5604.0.

    • When setting per-server restrictions it is very important to avoid restricting clients with version numbers 6.y.z  as Exchange Server makes use of MAPI for server-side component connections and uses MAPI versions within the 6.y.z range (with the version number potentially varying by Exchange component and patch level).  This does not apply to per-mailbox restrictions.

    • Microsoft recommends that at a minimum you block all MAPI clients with version numbers equal to or earlier than 5.3164.0.0.

    Single versions are blocked by specifying the version in the format <version>, an open-ended range is blocked by using the format -<version1> or <version2>-, and a specific inclusive range is blocked by using the format <version3>-<version4>.  Multiple sets of client versions can be disabled using a comma or semi-colon separated list.

    Range Type

    Example

    Effect

    <version>

    11.5604.0

    Block the specified MAPI version.

    -<version>

    -11.0.0

    Block the specified version number, and all previous versions.

    <version>-

    11.0.0-

    Block the specified version number, and all newer versions.

    <version>-<version>

    11.0.0-11.9.9

    Block the specified version numbers, and all clients between the specified versions.

    Table 2 - Example client version blocking syntax

    Some example blocking settings to use:

    Blocking Setting

    Effect

    11.5604.0

    Block Outlook 2003 RTM

    -5.9.9;7.0.0-11.9.9

    Block all clients older than Outlook 2007

    12.0.0-

    Block all versions of Outlook starting with Outlook 2007 and including all future versions

    -5.3164.0

    Block Microsoft recommended Outlook versions

    -5.99;7.0.0-

    Block all MAPI clients, except for Exchange Server components

    Table 3 - Example client version blocking settings

    Implementing the Blocking Settings

    As mentioned earlier, restrictions can be implemented per-server or per-mailbox.  Per-server restrictions are implemented via a registry change, and per-mailbox restrictions are implemented via the Exchange Management Shell – it is not possible to use the Exchange Management Console.

    If both server and mailbox restrictions are used the most restrictive combination of both settings applies, additionally a server restriction cannot be overridden by a mailbox setting.

    For example:

    Server Restriction

    Mailbox Restriction

    Net Effect

    -5.3164.0

    -11.9.9

    Mailbox can only be accessed using Outlook 2007

    -5.9.9;7.0.0-

    11.0.0-11.9.9

    Mailbox cannot be accessed by any MAPI client (which is not executing on the Exchange server)

    Table 4 – Cumulative effect of restrictions

    To implement a per-server restriction

    Note – Incorrectly editing the registry can cause serious problems that may require you to reinstall your operating system. Problems resulting from editing the registry incorrectly may not be able to be resolved.  Before editing the registry, back up any valuable data. 

    You need to be a local administrator on the Exchange server in order to edit the registry.

    1. Start the registry editor on your Exchange 2007 Mailbox server

    2. Locate the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem registry key.

    3. Right-click ParametersSystem, select New, and then select String value.

    4. Name the new string value “Disable MAPI Clients”.

    5. Right-click Disable MAPI Clients, and then click Modify.

    6. Enter the restriction setting, for example -5.9.9;7.0.0-11.9.9

    7. Close the registry editor

    The change will be effective within 15 minutes, or to make it effective immediately you can restart the Microsoft Exchange Information Store service.  Once the change takes effect any existing client connections which do not meet the version requirements will be terminated.

    To implement a per-mailbox restriction

    The Set-CASMailbox cmdlet is used to implement per-mailbox restrictions.  To use the Set-CASMailbox cmdlet you must be delegated the Exchange Recipient Administrator role.

    To prevent a mailbox from using Outlook clients prior to Outlook 2007 the command is:

    Set-CASMailbox JSmith -MAPIBlockOutlookVersions "-11.9.9"

    To remove a restriction for a mailbox:

    Set-CASMailbox JSmith -MAPIBlockOutlookVersions $null

    To prevent all mailboxes in a particular database from using clients other than Outlook 2007 RTM:

    Get-Mailbox -Database "SERVER01\SG1\Database 1" | `

    Set-CASMailbox -MAPIBlockOutlookVersions "-12.4518.1013;12.4518.1015-"

    When an Outlook 2003 or Outlook 2007 user tries to connect with a restricted client version they will receive the message “Your Exchange Server administrator has blocked the version of Outlook that you are using. Contact your administrator for assistance.”

    Users of older clients will receive the message “Cannot start Microsoft Outlook. The attempt to log on to the Microsoft Exchange Server computer has failed.”

    More information on Get-LogonStatistics and Set-CASMailbox can be found in TechNet:

     

    Source: http://www.simple-talk.com/sysadmin/exchange/restricting-outlook-client-versions-in-exchange-2007/

    Thursday, June 10, 2010

    Adding Permissions to Exchange 2010 database

    Run these two scripts to have permissions on the database level.

     

    Get-MailboxDatabase | Add-ADPermission -User "changename" -AccessRights ExtendedRight -ExtendedRights Receive-As, ms-Exch-Store-Admin

     

    Get-MailboxDatabase | Add-ADPermission -User "changename" -AccessRights ExtendedRight -ExtendedRights Send-As, ms-Exch-Store-Admin

    Wednesday, June 09, 2010

    Exchange 2010 and BESAdmin Permissions

    Anytime you have a new Exchange 2010 server or add a new database to Exchange 2010, you will need to run the following. Note that each line needs to be run seperatley.

    For Microsoft Exchange 2010
    Click Start > Programs > Microsoft Exchange Server 2010 > Exchange Management Shell.
    In the command prompt window, type the following two commands and then press Enter:

    Get-MailboxDatabase Add-ADPermission -User "BESAdmin" -AccessRights ExtendedRight -ExtendedRights Receive-As, ms-Exch-Store-Admin

    Add-RoleGroupMember "View-Only Organization Management" -Member "BESAdmin"

    Note: If you create a new mailbox database for Microsoft Exchange you will need to repeat step 2 for Microsoft Exchange 2010.

    From

    http://www.blackberry.com/btsc/viewContent.do?externalId=KB02276&sliceId=1

    Wednesday, February 03, 2010

    Restarting BES Services

    Restart Blackberry services on the BES in this order

    1. Router
    2. Dispatcher
    3. Controller
    4. All other

    These should cover the following deployment:- Remote BlackBerry Administration Service- BlackBerry Enterprise Server (Core Components only)- High Availability configuration for BES components- Pooling configuration for BAS componentsFor the BES components, the BlackBerry Alert, BlackBerry Policy Service, and BlackBerry Synchronization Service services are set to Manual. In an HA configuration, if these services are started on another node, then they will not startup when the Controller service is started. If they are not detected as started on another node, or if there is no HA configuration, then they will start when the Controller service is started. This is why all three services are not present in the startup script (in an HA configuration, this would cause an error or three).

    BlackBerry Enterprise Server:

    Start Services:
    net start "BlackBerry Router"
    net start "BlackBerry Attachment Service"
    net start "BlackBerry Dispatcher"
    net start "BlackBerry MDS Connection Service"
    net start "BlackBerry Alert"
    net start "BlackBerry Controller"

    Stop Services:
    net stop "BlackBerry MailStore Service"
    net stop "BlackBerry MDS Connection Service"
    net stop "BlackBerry Dispatcher"
    net stop "BlackBerry Attachment Service"
    net stop "BlackBerry Controller"
    net stop "BlackBerry Router"
    net stop "BlackBerry Policy Service"
    net stop "BlackBerry Synchronization Service"
    net stop "BlackBerry Alert"

    BlackBerry Administration Service

    Start Services:
    net start "BlackBerry Administration Service - Application Server"
    net start "BlackBerry Administration Service - Native Code Container"

    Stop Services:
    net stop "BlackBerry Administration Service - Native Code Container" /Y
    net stop "BlackBerry Administration Service - Application Server"
    net stop "BlackBerry Administration Service - Native Code Container"

    From

    http://www.port3101.org/scripts-tools-hints-tricks/1012-bes-5-0-batch-scripts-stopping-starting-services.html

    Thursday, January 14, 2010

    DNS Settings

    8.8.8.8 Google
    8.8.4.4 Google
    4.2.2.1 GTE
    4.2.2.2 GTE
    208.67.222.222 opendns
    208.67.220.220 opendns

    Home users can either do this on your router on the computer's NIC.

    For business on Active Directory, try this
    On your Active Directory server, navigate to DNS Manager
    1. Right click the server name and select properties
    2. Forwarders tab
    3. Click Edit button
    4. Add IP Address from above
    5. Click OK
    6. Click OK

    Thursday, September 10, 2009

    How To Clear Connections On A Sonicwall Without Restarting

     

    Log onto your sonicwall.  Once logged on, change the URL from http://x.x.x.x/main.html to http://x.x.x.x/diag.html

    Click Internal Settings button.

    Scroll to bottom and click Flush Connections button.

    This happened to me after a client's Sonicwall reached the maximum number of connections.  On the System->Status page the Current Connections was 65536.  The maximum connections that this Sonicwall with this firmware can have when using GAV/IPS is 65536.

    You can find out maximum connection information by navigating to System->Diagnostics.  In the Tech Support Report section check all four boxes and click Download Report.  Save the report to desktop.  Open report and search for “Max Connections when using GAV/IPS”.  Compare that number with the number Status page.

    When the maximum connections have been made, the logs should have an entry stating:

    The cache is full; 65536 open connection; some will be dropped.

    The above was listed for me on the Status page in the Latest Alerts section.

    Friday, August 28, 2009

    Can’t Access Blackberry Enterprise Server (BES) Admin Console Fix

    IE can't display page

    Blackberry Enterprise Server (BES) 5.0 installs and links to Java 1.5.0_15.  If you update to the latest version of Java and remove Java 1.5.0_15 then the admin console will not work.  In Internet Explorer you will get an “Internet Explorer cannot display the webpage.

    ServicesThatWontStart

    If you check your Services, you may notices the following services stopped:
    BlackBerry Administration Service - Application Server
    BlackBerry Administration Service - Native Code Container

    If you attempt to start or restart the service you get a message "BlackBerry Administration Service - Application Server service on Local Computer started and then stopped.  Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service." or
    "BlackBerry Administration Service - Native Code Container service on Local Computer started and then stopped.  Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service."

    Checking Event View Application errors you may have:

    Source: BAS-NCC Event: 4, 4096, 4097, 4098
    The description for Event ID ( 4 ) in Source ( BAS-NCC ) cannot be found.
    The description for Event ID ( 4096 ) in Source ( BAS-NCC ) cannot be found.
    The description for Event ID ( 4097 ) in Source ( BAS-NCC ) cannot be found.
    The description for Event ID ( 4098 ) in Source ( BAS-NCC ) cannot be found.

    or

    Source: BAS-AS Event: 4, 4096, 4097, 4098
    The description for Event ID ( 4 ) in Source ( BAS-AS ) cannot be found.
    The description for Event ID ( 4096 ) in Source ( BAS-AS ) cannot be found.
    The description for Event ID ( 4097 ) in Source ( BAS-AS ) cannot be found.
    The description for Event ID ( 4098 ) in Source ( BAS-AS ) cannot be found.

    The fix is to update two registry entries point to the most current Java.  For my example my current version of Java is 1.6.0_07.  Change

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BAS-AS\Parameters\JVM Library
    C:\Program Files\Java\jre1.5.0_15\bin\client\jvm.dll
    to
    C:\Program Files\Java\jre1.6.0_07\bin\client\jvm.dll

    and

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BAS-NCC\Parameters\JVM Library
    C:\Program Files\Java\jre1.5.0_15\bin\client\jvm.dll
    to
    C:\Program Files\Java\jre1.6.0_07\bin\client\jvm.dll

    NOTE that you may also need to update:
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\BAS-AS\Parameters\JVM Library
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\BAS-NCC\Parameters\JVM Library

    Start/Restart Blackberry services if necessary after changes.

    You can also re-install Java 1.5.0_15 by navigating to the extracted BES 5 folder
    \BlackBerry Enterprise Server 5.0.0\tools\Java 2 Runtime Environment, SE v1.5.0_15.msi

    More can be found on Blackberry KB14697