Pages

Tuesday, July 12, 2011

Anti-rootkit Utilities

 

A rootkit is a program or a program kit that hides the presence of malware in the system.

A rootkit for Windows systems is a program that penetrates into the system and intercepts the system functions (Windows API). It can effectively hide its presence by intercepting and modifying low-level API functions. Moreover it can hide the presence of particular processes, folders, files and registry keys. Some rootkits install its own drivers and services in the system (they also remain “invisible”).

Below are some anti-rootkit utilities:

TDSSKiller by Kaspersky Lab

Microsoft Standalone System Sweeper

TDL4 Removal Tool by BitDefender

Monday, July 11, 2011

Exchange 2007 / 2010 rules size limit and how to increase it

 

By default Exchange 2007 / 2010 rule size is 64 KB but is expandable to 256 KB.  Exchange 2003’s limit was 32 KB.  Use the cmdlet below in Exchange Powershell to make the changes.

To set the rules quota to 256kb for the user dummy run
[PS] C:\>get-mailbox dummy|set-mailbox -rulesquota 256kb

To make sure that the user has got the new rules size run
[PS] C:\>get-mailbox dummy|fl rulesquota

It should return
RulesQuota : 256KB

To set the quota for all users run
[PS] C:\>get-mailbox|set-mailbox -rulesquota 256kb

To get the quota of all users run
[PS] C:\>get-mailbox|fl rulesquota, alias

Source

http://www.slipstick.com/rules/32kb.asp
http://www.mattiasholm.com/node/23

Tuesday, July 05, 2011

Increase Outlook 2010 Exchange Server Accounts From 5 to 15

Outlook 2010 supports up to 15 Exchange server accounts. By default Outlook 2010 is limited to 5 accounts but can be increased to 15 accounts by an easy registry edit.

HKEY_CURRENT_USER\Software\Policies\Microsoft\Exchange
DWORD: MaxNumExchange
Allowed values: a number between 1 and 15

Friday, July 01, 2011

Macro to check if your Outlook Outbox contains any items

 

Here is a macro for Outlook 2007/2010 that will check to see if your Outbox contains anything after Send/Receive completes.

1. Start Outlook
2. Click Tools->Macro->Visual Basic Editor…or press Alt+F11
3. If not already expanded, expand Microsoft Office Outlook Objects and click on ThisOutlookSession
4. Copy the code from the Code Snippet box and paste it into the right-hand pane of Outlook's VB Editor window
5. Edit the code as needed. I included comment lines wherever something needs to or can change
6. Click the diskette icon on the toolbar to save the changes
7. Close the VB Editor
8. Click Tools > Trust Center
9. Click Macro Security
10. Set Macro Security to "Warnings for all macros"
11. Click OK
12. Close Outlook
13. Start Outlook. Outlook will display a dialog-box warning that ThisOutlookSession contains macros and asking if you want to allow them to run. Say yes.

Macro is below

####

Dim WithEvents olkSync As Outlook.SyncObject

Private Sub olkSync_SyncEnd()
If Session.GetDefaultFolder(olFolderOutbox).Items.count > 0 Then
msgbox "A send/receive just completed and there are still unsent items in your Outbox.", vbExclamation + vbOKOnly, "Unsent Item Warning"
End If
End Sub

Private Sub Application_Quit()
Set olkSync = Nothing
End Sub

Private Sub Application_Startup()
Set olkSync = Application.Session.SyncObjects.Item(1)
End Sub
Source
http://www.experts-exchange.com/Software/Internet_Email/Email/Email_Clients/Q_25198625.html?sfQueryTermInfo=1+10+30+email+outbox+stuck
 

Thursday, June 30, 2011

How To Clear Outlook’s Outbox When Exchange States There Are Items In Folder

 

If you run the following cmdlet in Exchange Management Shell you may get all mailboxes with Outboxes that Exchange states has items in it.  If you check from Outlook the user’s Outbox, it is empty.

get-mailbox | get-mailboxfolderstatistics | where-object { $_.Name -eq 'Outbox' -and $_.FolderSize -gt 0 }| sort-object itemsinfolder -descending | select-object Identity,ItemsInFolder,FolderSize | ft -autosize

Launch MFCMapi on the user's computer or from a terminal server logged in as the user.

  1. Session->Logon And Display Store Table
  2. Double click Desired Mailbox
  3. Expand Root Container
  4. Expand Top of Information Store
  5. Right click Outbox and select Empty Items and Subfolders from Folder
  6. Check DEL_ASSOCIATED
  7. Check Hard Deletion
  8. Click OK

Wait about 30 minutes for Exchange to update itself and run the cmdlet again

get-mailbox | get-mailboxfolderstatistics | where-object { $_.Name -eq 'Outbox' -and $_.FolderSize -gt 0 }| sort-object itemsinfolder -descending | select-object Identity,ItemsInFolder,FolderSize | ft -autosize

MFCMapi can be downloaded here:
http://mfcmapi.codeplex.com/

How To View Outbox In OWA (Outlook Web Mail) Exchange 2010

 

The default Exchange 2010 OWA does not display the Outbox. Follow the steps below to display the Outbox:

  1. Navigate to your OWA website
  2. At login screen check box for “Use the light version of Outlook Web App”
  3. Enter email address and password and click Sign in
  4. In left navigation click “Click to view all folders”
  5. Select Outbox in drop down list
  6. Click the green box with the white arrow
  7. You will now have an Outbox listed in the left navigation to view

Tuesday, June 28, 2011

Blackberry - Media is from an unsupported format when playing attachment from voice mail

On your Blackberry you receive a "media is from an unsupported format" message when trying to play a voice mail attachment that is a .wav file.  The attachment is sent from a voice mail of an IP phone system.

Follow the steps below to allow Blackberry to play .wav files. 

1.  First you will need to install Windows Media Player on the host server for BES.  For Server 2008, you need to install the "Desktop Experience" in server manager features to obtain WMP.
2.  Once WMP is installed, test playback of a sample .wav file and ensure you do not need a special codec installed.  If a codec is needed, you must install it to the server.  For VMware or servers using virtualization without a sound card you will get an error saying something about no sound device installed - which is OK.
3.  Next log into the Blackberry Administrator Service
4.  Under Servers and components, expand BlackBerry Solution Topology, Expand BlackBerry Domain, expand Component view, expand Attachment, expand Server, click on the instance.
5.  Scroll down to and click edit instance.
6.  Find WAV attachment and you will see "0" as the attachment size.  Change the value to "1024".  Click save.
7.  Click on restart instance or reboot the server.
8.  Test playback on the phones.  If playback still doesn't work, powercycle the device.


Source
http://blog.skybyte.com/blog/greg-bocks-blog/blackberry-handhelds-cannot-playback-wav-voicemail-files-blackberry-enterprise-server-support

Friday, June 24, 2011

How to Re-install TCP/IP for Windows XP

Follow the steps below to re-install TCP/IP for Windows XP.

1. In the registry navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock and
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinSock2
    Export both and then delete both.
clip_image001

2. In Network Connections, navigate to the properties of however you are connecting to internet.  It will probably be Local Area Connection.
        a. Right click and select Properties
    clip_image002
    b. Click Install button
    clip_image003
    c. Highlight Protocol and click Add button
    clip_image004
    d. Click Have Disk button
    clip_image005
    e. Type C:\WINDOWS\inf and press OK button
    clip_image006
    f. You should now see Internet Protocol (TCP/IP) listed
    g. Click OK
    h. Click Close

3. Restart computer.

Wednesday, June 22, 2011

How To Remove Blackberry Messenger From OS 6

 

1. Install BlackBerry App World (if you don’t have it already)
2. Open BlackBerry App World
3. Select and click the magnifying glass icon
4. Type in MESSENGER
5. Select and click BlackBerry Messenger
6. Click INSTALL
7. Select YES to replacing the current version
8. Reboot the phone when prompted
9. Go to the Application Management menu (Options—>Device->Application Management)
10. Select and click BlackBerry Messenger
11. Click DELETE
12. Reboot the phone when prompted
13. After reboot go to App World->My World
14. Hold the ALT button and type RST which will clear the App World cache

 

Source:
http://retrohack.com/how-to-delete-blackberry-messenger-from-blackberry-os-5-0/
http://my.blackberry.com/thread/1561

Tuesday, May 31, 2011

VPN client unable to connect or not able to RDP or map network drive

After much frustration I discovered the root of the problem for VPN client issues.  The user used to be able to connect using Cisco VPN Client but was reporting to me that he is sometimes disconnected.  Lately he is able to connect but unable to RDP or map network drives. 

The user is currently unable to get Sonicwall VPN client to connect with no logon presented.  Either the user’s network equipment or ISP was blocking UDP 500 and UDP 4500.  The ISP (Time Warner) stated they do not block ports. 

The user’s cable modem / router is an Ambit / Ubee u10c020. After logging onto the modem, navigate to Firewall->Content Filter and uncheck “Block Fragmented IP Packets”.  Note you may need to navigate to VPN->Enable and select “VPN Enable”.

Some other error messages have been:

There is no connection named x.x.x.x in the connection list

Sunday, May 08, 2011

Minimized Cisco VPN Client on Windows

The Cisco client sometimes behaves oddly and starts staying minimized and you cannot switch to the client to connect/disconnect or do anything. The moment it starts it stays minimized and you cannot switch to the client.

This seems to happen as it remembers its location on screen and tends to get some weird values when switching between Display settings. The solution is to close the client and then open the vpnclient.ini file in the Programs directory (for me its located at C:\Program Files (x86)\Cisco Systems\VPN Client) and delete the rows that say WindowX and WindowY and restart the client or make windowX = 800 and windowY = 600.

Alternative solution:

Start VPN Client

  1. Start Task Manager
  2. Select VPN client from Applications tab, right click on it and click Maximize
  3. VPN client will be visible in maximized form
  4. Go to Options -> Preferences -> Save Windows Settings. Uncheck this.
  5. Go to Options -> Simple Mode.
  6. Go to Options -> Advanced Mode.
  7. Now restart VPN client.

Wednesday, April 13, 2011

Push not synching in Corporate Sync but manual sync does

Steps followed to fix Corporate Sync in Motorola Droid X (2.2) synching issue when you can manually sync but push sync is not automatically syncing.

Within your email account press Menu button
Select Email settings-> Email Delivery
Select Data push
Make sure "sync over WiFi only" is NOT selected

From the home screen
Menu button-> Settings-> Battery Manager
Select Performance Mode

From the home screen
Menu button-> Settings-> Wireless & networks
Check Airplane mode (green check when on)
Uncheck Airplane mode

Tuesday, March 29, 2011

Outlook hangs after install kb2412171 or Outlook 2007 crash with Event ID 1000 and 1001

You can try fixing this by closing outlook, going to C:\Program Files\Common Files\Microsoft Shared\OFFICE12.

Locate mso.dll, cut and paste it to your desktop. If it does not let you then reboot and do this before you open outlook. Then launch outlook.

The MSI installer will launch it will run for a minute and then it will open Outlook.

If that doesn't correct the issue, uninstall KB2412171.

Friday, March 18, 2011

How to disable email redirection for a single BlackBerry smartphone user on the BlackBerry Enterprise Server

To disable email redirection for a single BlackBerry® smartphone user, complete the following

For BlackBerry Enterprise Server 5.0 to 5.0 SP1:

1. In the BlackBerry Administration Service, on the BlackBerry solution management menu, expand User.
2. Click Manage users.
3. Search for a user account.
4. Click the Display name for the user account.
5. Click Edit user.
6. On the User Information tab, in the Messaging configuration section, click Default configuration.
7. In the Email services settings section, on the Redirect to BlackBerry device drop-down list, click No.
8. Click Continue to user information edit.
9. Click Save all. This will stop email messages from being forwarded to the BlackBerry smartphone.


Source
http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB11841

Friday, March 04, 2011

Messenger Link Reviver for Windows Live Messenger 2009

Recently, Microsoft disabled web links in Windows Live Messenger 2009 citing it to be a temporary measure to a malicious worm. Therefore links now appear as just text and need to be copy/pasted to your browser manually. One can debate the effectiveness of this action as Messenger already had the ability to simply not deliver links meeting a certain criteria, but it seems they've given up on this original functionality and now rely on the SmartScreen link redirector exclusively in Windows Live Messenger 2011.

So for those who wish to use Windows Live Messenger 2009 and still have the ability to click on links use Messenger Link Reviver.

Download the Messenger Link Reviver zip file and run the application. Click Start to apply the Reviver changes and Messenger will automatically restart. You should now be able to click on links again.

Source

Offline / Full Installer Windows Live Messenger Download Links

Windows Live Messenger 2009 Build 14.0.8064.206


Windows Live Messenger 2009 (Build 14.0.8089.726) – WITH Show My Webcam


Windows Live Messenger 2009 (Build 14.0.8117.416) – WITHOUT Show My Webcam

Windows Live Messenger 2011 (15.4.3502.922)

How to user older version of Windows Live Messenger

1. Download a previous version of WLM

2. Use ZapMessenger to uninstall any version of Messengers on your computer except 2011. For 2011 or if you have issues with ZapMessenger use Messenger Deep Clean

3. Install your WLM

4. Download Resource Hacker, extract and run ResHacker.exe

5. Go to File->Open and browse the to any of the following locations:

C:\Program Files\MSN Messenger\msnmsgr.exe

C:\Program Files\Window Live\Messenger\msnmsgr.exe

C:\Program Files (x86)\Windows Live\Messenger\msnmsgr.exe

6. Expand Version Info and Expand 1

7. Click on 1033

8. Change the ProductVersion (and any other place that has the same number) to 15.4.3508.1109

9. Click Compile Script

10. Go to File->Save and close Resource Hacker.



Note that if you get a message that you don't have permissions to save to folder, save the file to your desktop. Navigate to C:\Program Files (x86)\Windows Live\Messenger\and rename msnmsgr.exe to msnmsgr_bak.exe. Now move your msnmsgr.exe from your desktop to C:\Program Files (x86)\Windows Live\Messenger folder.





Download links

ZapMessenger

Messenger Deep Clean

.NET Framework 2.0

Resource Hacker

Windows Live Messenger 2009 Build 14.0.8064.206

How to disable the “uninstall password” to uninstall Symantec Antivirus

1. Open Registry Editor (regedit).
2. Navigate to the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\LANDesk\VirusProtect6\CurrentVersion\Administrator Only\Security\

3. Change the value for useVPuninstallpassword key from 1 to 0.
4. Exit Registry Editor and now you can uninstall Symantec AntiVirus Client.

Thursday, February 17, 2011

Windows 7 welcome screen

 

The Windows 7 welcome screen follows pretty much the pattern introduced in Windows Vista. Many users still prefer the classic welcome screen from Windows XP. This guide explains how to change the Windows 7 default settings to customize theWindows 7 welcome screen to look more like the classic welcome screen.

The picture shown below shows the default logon welcome screen in Windows 7 and Windows Vista.

Vista welcome screen

You can change the default Windows 7 and Vista login welcome screen to a login screen that is more like the secure login screen known from Windows XP as shown in the following print screen:

Windows 7 classic welcome screen

This setup requires the user to press the combination of CTRL + ALT + DELETE keys before entering user name and password.

How to disable the default Welcome screen in Windows 7?

The Windows 7 welcome screen can be disabled and changed back to the CTRL + ALT + DEL type login screen through the several following settings.

Control Panel
-> User Accounts
  -> Manage User Accounts
   -> UAC prompt
    -> Advanced

Some versions of Windows (such as Home and Premium) do not provide this path, so depending on the version of your Windows, try the following two command line utilities.

Start
-> Run
  -> netplWiz.exe (program located in %systemroot%\system32\)
      or control userpasswords2
      Either of these programs should take you to the screen mentioned above.

Check the Require users to press Ctlr+Alt+Delete check box in the Secure logon section of the User Accounts screen, click OK.

Require users to press Ctlr+Alt+Delete

After changing the setting, reboot your computer. The next time you start your Windows 7, you should see the welcome screen with the message asking you to press the combination of Ctrl+Alt+Delete keys.

The check box to disable Windows 7 welcome screen is disabled

If you are using a computer with Active Directory cached domain accounts, the check box shown in the previous print screen might be grayed out not allowing you to make any changes to it. In this case, the setting needs to be modified through the group policy.

Disable the default Windows 7 welcome screen through group policy editor

Depending on the version of your Windows, you might need to change the Windows 7 welcome screen setting through the group policy editor.

Start
-> Run
  -> Type gpedit.msc and hit Enter
   -> Navigate to the following policy

Local Computer Policy\Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\

Set the Interactive logon: Do not require CTRL+ALT+DEL to disabled.
Set the Interactive Login: Do not display last user name to enabled.

Then navigate to the following policy to disable fast user switching functionality.

Local Computer Policy\Computer Configuration\Administrative Templates\System\Logon

Set the HideFastUserSwitching policy to enabled.

Also change the classic logon policy.

Set the Always use classic logon to enabled.

Disabling the Windows 7 welcome screen does not work

Some users have reported that the above settings did not provide what they needed. In that case, we also suggest checking the following settings through the registry editor.

Start
-> Run
  -> Type regedit and hit Enter
   -> Locate the following keys and check their values

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System
  DisableCAD = 0
  LogonType = 0
  HideFastUserSwitching = 1
  DontDisplayLastUserName = 1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
  DisableCAD = 0
  LogonType = 0

windows 2000
System Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\
Explorer]
Value Name: NoWelcomeScreen
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = default, 1 = hide)

Windows 7 welcome screen on domain-joined computers

Computers that are joined to an Active Directory domain behave a bit differently than stand-alone home configurations. After getting through the CTRL+ALT+DEL login screen upon logging into your computer, Windows displays one or two icons (depends on your configuration). You are presented with the text boxes for entering your user name and password only after you click the icon on this screen. Many experts consider this a flaw in the design of Windows.

Source

http://www.maxi-pedia.com/Windows+7+welcome+screen

Thursday, December 16, 2010

How to Manually Update Defs in Vipre 4.0

This process does not work in Enterprise 4.0.



Here are instructions to manually update the definitions for Vipre Enterprise.

Manually download definitions for VIPRE

To manually update the definitions from the server:

1. Copy the file CSE3-EN-XXXX-F.sbr.sgn (Found in the ThreatDB subfolder under the Enterprise installdir) to a folder other than the ThreatDB.

2. Change the extension to .rar

3. Unrar the file

4. Stop the agent service (Sunbelt VIPRE Antivirus service) on the client box 5. Copy the entire contents into the following folder on the agent box:

C:\Program Files\Sunbelt Software\SBEAgent\Definitions (If C: is the default drive where software gets installed) 6. Double-click on SBAMTray.exe (located in the SBEAgent installdir) to restart the agent

To manually update agent definitions from the internet:

1. Download the latest definition release from http://www.sunbeltsoftware.com/Busin...e/Definitions/

2. Run the following command from a command prompt, substituting c:\temp for the directory that the definition sbr.sgn was downloaded to:

C:\Program Files\Sunbelt Software\SBEAgent>SBAMCommandLineScanner.exe /applydefs Manual definitions download link http://www.sunbeltsoftware.com/Busin...e/Definitions/

Update definitions for agents manually VIPRE To update definitions manually:

Download the latest definition release from http://www.sunbeltsoftware.com/Busin...e/Definitions/

Run the following command from a command prompt, substituting c:\temp for the directory that the definition sbr.sgn was downloaded to:

C:\Program Files\Sunbelt Software\SBEAgent>SBAMCommandLineScanner.exe /applydefs c:\temp\

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

    Thursday, August 20, 2009

    ADP iPayStatements Not Viewable; Get Red X for PDF

    ADP_Bad

    ADP iPayStatments may not be viewable in Internet Explorer and you receive a red X instead of your statement in PDF form. In the above example, I am using XP sp3, Internet Explorer 8, and Acrobat 9. I have also come across this issue with Adobe Reader 9 regardless of patch version.

    First, verify you have these two proper settings:

    1. In Adobe Acrobat/Reader, navigate to Edit->Preferences->Internet and verify that “Display PDF in browser” is checked.
    2. In Internet Explorer, navigate to Tools->Internet Options->Advanced tab and verify that “Do not save encrypted pages to disk” is not checked.

    If you have the above settings and still have the problem the continue reading.

    The root of the issue is that a previous versions of Adobe Reader/Acrobat did not fully remove all registry entries when it was uninstalled. Sites like ADP are calling some function of Adobe Reader/Acrobat but the registry entry is pointing to a previous version of Adobe Reader/Acrobat and therefore you get the red X.

    ADP support was not much help. Their response was that XP sp3 and Adobe Reader/Acrobat 9 was not supported even though XP sp3 has been available since May 2008. Adobe Reader/Acrobat 9 has been available since July 2008. ADP support solution was downgrade Adobe Reader/Acrobat 9 to 8. This was not an acceptable solution for several reasons. Adobe Reader/Acrobat 9 is the current offering and has the most current security and Adobe recommends 9 over 8. Also, the client that I’m helping has a license for 9, not 8.

    The fix is to delete the following folder in the registry:

    [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\8.0]

    for others they may have [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\6.0] or[HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\7.0]

    You can copy the following into a txt file and give change the extension from .txt to .reg. Double click the .bat file and it will automatically delete the folder for you.

    Windows Registry Editor Version 5.00

    [-HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\8.0]

    Here is an alternative fix that takes a little longer and may require restarts. You also have to have admin rights on the computer.

    1. Uninstall Adobe Reader/Acrobat 9
    2. Install Adobe Reader/Acrobat 8 without and patching.
    3. Uninstall Adobe Reader/Acrobat 8 and and install Adobe Reader/Acrobat and then patch. Adobe Reader for Windows updates. Adobe Acrobat for Windows updates.

    Here is the big .reg file I used to remove all previous versions of Adobe Acrobat and Adobe Reader prior to version 9:

    Windows Registry Editor Version 5.00

    # Adobe 6 Removal
    [-HKEY_CURRENT_USER\Software\Adobe\Acrobat Distiller\6.0]
    [-HKEY_CURRENT_USER\Software\Adobe\Acrobat Elements\6.0]
    [-HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\6.0]
    [-HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\6.0]
    [-HKEY_CURRENT_USER\Software\Adobe\Adobe Reader\6.0]
    [-HKEY_CURRENT_USER\Software\Adobe\Adobe Synchronizer\6.0]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Distiller\6.0]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Elements\6.0]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Reader\6.0]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Adobe Acrobat\6.0]
    [-HKEY_LOCAL_MACHINE\Software\Adobe\Repair\Adobe Reader\6.0]
    [-HKEY_LOCAL_MACHINE\Software\Adobe\Repair\Adobe Acrobat\6.0]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Acrobat Reader\6.0]
    [-HKEY_USERS\S-1-5-18\Software\Adobe\Acrobat Reader\6.0]
    [-HKEY_USERS\.DEFAULT\Software\Adobe\Acrobat Reader\6.0]
    [-HKEY_USERS\.DEFAULT\Software\Adobe\Adobe Acrobat\6.0]
    [-HKEY_USERS\S-1-5-18\Software\Adobe\Adobe Acrobat\6.0]
    [-HKEY_USERS\S-1-5-21-1547161642-2077806209-682003330-1219\Software\Adobe\Adobe Acrobat\6.0]

    # Adobe 7 Removal
    [-HKEY_CURRENT_USER\Software\Adobe\Acrobat Distiller\7.0]
    [-HKEY_CURRENT_USER\Software\Adobe\Acrobat Elements\7.0]
    [-HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\7.0]
    [-HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\7.0]
    [-HKEY_CURRENT_USER\Software\Adobe\Adobe Reader\7.0]
    [-HKEY_CURRENT_USER\Software\Adobe\Adobe Synchronizer\7.0]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Distiller\7.0]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Elements\7.0]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Reader\7.0]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Adobe Acrobat\7.0]
    [-HKEY_LOCAL_MACHINE\Software\Adobe\Repair\Adobe Reader\7.0]
    [-HKEY_LOCAL_MACHINE\Software\Adobe\Repair\Adobe Acrobat\7.0]
    [-HKEY_LOCAL_MACHINE\Software\Adobe Systems\Common Install\Shared Service\B2E57000]
    [-HKEY_CLASSES_ROOT\Installer\Features\68AB67CA3301B7447A50000000000020]
    [-HKEY_CLASSES_ROOT\Installer\Products\68AB67CA3301B7447A50000000000020]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Acrobat Reader\7.0]
    [-HKEY_USERS\S-1-5-18\Software\Adobe\Acrobat Reader\7.0]
    [-HKEY_USERS\S-1-5-18\Software\Adobe\Adobe Acrobat\7.0]
    [-HKEY_USERS\.DEFAULT\Software\Adobe\Acrobat Reader\7.0]
    [-HKEY_USERS\.DEFAULT\Software\Adobe\Adobe Acrobat\7.0]
    [-HKEY_USERS\S-1-5-21-1547161642-2077806209-682003330-1219\Software\Adobe\Adobe Acrobat\7.0]

    # Adobe 8 Removal
    [-HKEY_CURRENT_USER\Software\Adobe\Acrobat Distiller\8.0]
    [-HKEY_CURRENT_USER\Software\Adobe\Acrobat Elements\8.0]
    [-HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\8.0]
    [-HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\8.0]
    [-HKEY_CURRENT_USER\Software\Adobe\Adobe Reader\8.0]
    [-HKEY_CURRENT_USER\Software\Adobe\Adobe Synchronizer\8.0]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Distiller\8.0]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Elements\8.0]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Reader\8.0]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Adobe Acrobat\8.0]
    [-HKEY_LOCAL_MACHINE\Software\Adobe\Repair\Adobe Reader\8.0]
    [-HKEY_LOCAL_MACHINE\Software\Adobe\Repair\Adobe Acrobat\8.0]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Acrobat Reader\8.0]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\68AB67CA7DA73301B7448A0000000020]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-7AD7-1033-7B44-A80000000002}]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\68AB67CA7DA73301B7448A0000000020]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\68AB67CA7DA73301B7448A0000000020]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{358E6F10-DE8A-4602-8424-179CA217F8EE}]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{9C6A861C-B233-4994-AFB1-C158EE4FC578}]
    [-HKEY_USERS\S-1-5-18\Software\Adobe\Adobe Acrobat\8.0]
    [-HKEY_USERS\S-1-5-18\Software\Adobe\Acrobat Reader\8.0]
    [-HKEY_USERS\.DEFAULT\Software\Adobe\Acrobat Reader\8.0]
    [-HKEY_USERS\.DEFAULT\Software\Adobe\Adobe Acrobat\8.0]
    [HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\ShellNoRoam\MUICache]
    "C:\\WINDOWS\\TEMP\\Adobe Reader 8\\setup.exe"=-
    [HKEY_USERS\S-1-5-18\Software\Microsoft\Windows\ShellNoRoam\MUICache]
    "C:\\WINDOWS\\TEMP\\Adobe Reader 8\\setup.exe"=-
    [-HKEY_USERS\S-1-5-21-1547161642-2077806209-682003330-1219\Software\Adobe\Adobe Acrobat\8.0]
    [-HKEY_USERS\.DEFAULT\Software\Adobe\Backup\Preferences\brr1\Software\Adobe\Acrobat Reader\8.0]
    [-HKEY_USERS\.DEFAULT\Software\Adobe\Backup\Preferences\brr2\Software\Adobe\Acrobat Reader\8.0]
    [-HKEY_USERS\.DEFAULT\Software\Adobe\Backup\Preferences\brr3\Software\Adobe\Acrobat Reader\8.0]

    The fix to the issue was discovered using Active Registry Monitor and these:

    UPDATE 8/21/2009

    I just read this Adobe KB article. Even though I got mine working from doing the above, you can try these additional steps:

    In the registry delete the HKEY_CLASSES_ROOT\AcroExch.Document and HKEY_CLASSES_ROOT\AcroExch.Document.7.

    When I launched Acrobat it launched the installer and repaired the registry keys and prompted to restart the computer. If you still have problems perform a repair by going to Add Remove Programs and highlighting Adobe Acrobat/Reader and clicking Change/Repair.

    Monday, July 20, 2009

    How To Backup Blackberry Enterprise Server (BES)

    How To Backup Blackberry Enterprise Server (BES)

    Know your BES database name by navigating to
    Start->Programs->BlackBerry Enterprise Server->BlackBerry Server Configuration
    Make note of the database on the Database Connectivity.

    On the BES, navigate to Start->Run
    Type CMD

    In the command window type
    osql –E
    backup database to disk = “\.bak”
    Example:
    backup database besmgmt to disk = “C:\BESDbackup\backup.bak”

    Type go