Sunday, April 12, 2015

ActiveSync Mail Stuck at Loading - Android, iPhone, Tablet, All SmartPhones

Share/Save/Bookmark


ActiveSync Mail Stuck at Loading

The fix for this is simple.
A client encountered and interesting problem. She had called in and stated that when accessing email through her smartphone using Microsoft ActiveSync, the account would successfully setup but never displayed messages.  No errors during account setup but no folders or emails would ever be listed. The smartphone in this case was an Android but might as well have been an iPhone, Tablet, Blackberry or anything else. The issue had nothing to do with the device. The issue was related to permissions.

Permissions Preventing Email from Displaying on Android, iPhone, any ActiveSync Device


I used a smartphone simulator to test Microsoft Active-sync with a test account. The results were very similar. The account would setup fine but no email. It appeared to be stuck. The smartphone would setup the email account fine, tried auto-discover and manual setup, but email would never display and although there was no error sending email, email was never sent. There was no Global address list Contacts displayed either.
I hope this saves someone some time by finding and viewing this post. I have also posted this as a reminder for me too in case I encounter this issue again. It is rare but can appear.

Active-Sync Mail Account Setup Completes but no Email or Email Folders

The solution is simple, set inheritable permissions check-box for the user.

Using Active Directory Users and Computers > Find the user > select the Security tab > Click the Advanced button > check the box Include Inheritable permissions 


Please see the image below.



Save and then either recreate the account on the ActiveSync device (iPhone, Android, Tablet, iPad, Blackberry, etc) or restart the device to force a re-connection, or close email completely and restart it.





.

Saturday, March 21, 2015

Outlook Keeps Prompting Connecting to Office365 Email

Share/Save/Bookmark

Outlook Keeps Asking for Password Credentials, Office 365. 

Outlook 2010 not fully completing the setup process when connecting to Office 365 can occur more often with Outlook installed on Windows XP. One of the signs to this problem is that under the security tab when using the manual configuration method does not display Anonymous Authentication as an option. Anonymous authentication works well but is the default for Outlook 2013, not Outlook 2010 and Outlook 2007. Outlook 2010 and Outlook 2007 do not have this option by default. In this specific case for which I generated this article, the desktop Windows XP and started out with Outlook 2007 which as one of the attempts at resolving this issue was upgraded to Outlook 2010 with SP1. The first two check-marks appeared during automatic Outlook setup but the third would repeatedly prompt for a password. The setup would not fully complete. The password was correct and was tested using Outlook Web Access.


Outlook Office 365 Configuration Does not Complete

Outlook Keeps Prompting for Password  

Outlook 2010 with SP1 installed on Windows XP with SP3 and other updates would not connect to Office 365 for email. It would not fully setup. Outlook constantly prompted the user for a password. The password was well known and being entered correctly. As previously mentioned this desktop originally had Outlook 2007 which was upgraded to Outlook 2010 and this upgrade process may not have been required at all.

Resolving Outlook Setup Not Completing with Office 365

A little more back ground first to help set the stage as to why the focus was completely placed on the local desktop and environment. The user's account setup with no problem in Outlook on an off-site computer desktop. The off-site computer was not connected to the domain and there was no VPN connecting it to the domain.

The steps taken to resolve this issue consisted of : 

Registry Changes: 

Run Regedit and go to  HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\AutoDiscover
for Outlook 2010

Add or modify the following

"ExcludeScpLookup"=dword:00000001
"ExcludeHttpsAutodiscoverDomain"=dword:00000001
"ExcludeHttpsRootDomain"=dword:00000001
"ExcludeSrvLookup"=dword:00000001
"ExcludeHttpRedirect"=dword:00000000
"ExcludeSrvRecord"=dword:00000001

These keys could also be added to help prevent Outlook frm using the local CAS server if one exists on your network. In this case there was indeed a local Exchange 2007 server. The customer had migrated to Office 365 but the local Exchange server was still present on the network and int he domain.

[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\AutoDiscover\RedirectServers]
"autodiscover-s.outlook.com"=hex(0):
"autodiscover.outlook.com"=hex(0):


The only look-up type that will be used now is HTTP Redirect to the XML file. If this fails, there'll be no Autodiscover. This removes local domain interference.

Microsoft Hotfix to Connect Outlook to Office 365 

The most generally accepted suggestion from many forums, but seems not to always work for people having this problem with Outlook connecting to Office 365,  is to run Windows updates and update your operating system and Microsoft Office installation (at least Outlook 2010). As mentioned previously this particular desktop had Outlook 2007 with Office 2007, I upgraded only Outlook.  Perhaps I did not need to upgrade Outlook at all. The operating system already had Service Pack 3 for Windows XP. I did not run Windows updates because I did not want to have other applications break.

Add the anonymous option to Outlook Logon Security Option list. 


Instead of running every single Windows update available which did not work for many people having the similar issue with Outlook and Office 365, I ran the following a hot-fix. The hot-fix both added the Anonymous option to Outlook's configuration options and enabled Outlook to connect and fully configure to Office 365.

KB Article Number(s): 2791026 Language: All (Global) Platform: i386 Location: (hotfixv4.microsoft.com/.../462115_intl_i386_zip.exe)
KB Article Number(s): 2791026 Language: All (Global) Platform: x64 Location: (hotfixv4.microsoft.com/.../462116_intl_x64_zip.exe)















Saturday, February 01, 2014

Remove System Reserved 100MB Partition or Volume

Share/Save/Bookmark

Windows Server 2008 cycle boots or stuck in Startup Repair Loop

Windows 7 cycle boots or stuck in Startup Repair Loop


The 100 MB system reserved partition that normally contains the boot-manager for windows 2008 vist, and windows 7/8, Windows 2008 and 2012 server operating system platforms sometimes need to be removed. Regardless of the reason, there are situations that will call on its removal which are beyond the scope of this post.

Windows Server 2008 Doesn't Boot

Windows 7 Doesn't Boot


This volume/partitions reason for existence is to be the home of the boot files and boot loader. However, if you are finding that this partition is causing boot-up problems, there are ways to successfully.

This will be done with windows 2008 server in mind as juts recenlty there was a need to try to recover from boot-failing server.  On every reboot, the system repair always runs. There are other posts about his problem early (per season) .
Firstly, have the server install media and add it to the dvd drive of the computer. The computer that is attempted to be repaired must have the CD ready.
Insert into drive and satr tthe installation. Select Repair installation. At this point you will have booted from the DVD and selected Repair. Open a command window.
From the command window. run DISKPART. The prompt will change to :
    diskpart >
         type list volume and hit enter. This will list all the volumes.

You will get a list of all volumes with and without drive letters.
                  Similar to the following :

   



Windows Server 2008 stuck in Startup Repair Loop


As seen. the system reserve partition has been assigned the C drive so of coruse this server does not boot and every time the drive letter is set appropriately using diskpart, the drive letter reverts back to C.

So the solution is to copy all the files and folders that are on the reserved partition to the actual Windows drive. In this case that's the E drive. Copy using > xcopy /h as all files are hidden. To view the hidden files when listing the directory contents, use >dir /a:h   .

The boot folder and other files located at the root of the system reserved partition need to be copied to the real C drive. Once they are copied, mark the real C drive as active. remove the letter assignment from the system partition thus freeing up C . Assign C to the real windows drive that now also includes the boot manager files. Use diskpart remove the system reserved partition. Make the Reserve Partition the selected partion to work with. Be sure you have chosen the right partition. active

       diskpart> select volume # {volume # of 100MB reserved partition)
       diskpart> list volume         (be sure you see the asterisc next to the reserved partition)
       diskpart> remove

Make sure the right partition has been marked active:
     select the c volume as the active volume to work with
       diskpart>  select volume # {volume # of the the C volume)
       diskpart> active

Exit Diskpart by typing exit.

Then run fro mthe command prompt:
bootrec.exe /fixmbr
bootrec.exe /fixboot
bootrec.exe /rebuildbcd
       
Now restart the system .
   


Thank you Ed Hammond http://edhammond.blogspot.com/2010/07/removing-100mb-system-reserved.html
Another good source http://www.tweakhound.com/2012/11/13/how-to-fix-the-windows-bootloader/

Saturday, August 25, 2012

Basic Cisco QoS for IP Phone System to IP Phone VoIP System Voice Garbled

Share/Save/Bookmark

Sample Cisco QoS for IP Phone System to IP Phone System to Solve Distorted Voice Quality

In this situation, the remote office's router is a Cisco 1841. The VoIP (voice) over a  legacy T1 Point-to-Point was garbled. The conversations sounded like the callers were underwater. There was need to clear up the voice quality and the best method to do so was to use QoS.  The unclear voice occurred on nearly all phone conversations both internal and external. The phone sets at the remote office were digital but the phone system is IP (VoIP) based. The remote office phone sytsem and the the phone system at the main office communicated via IP.  The simple solution, using the existing hardware already installed,  for this problem was to implement QoS on the router. The goal was to prioritize the voice packets that were sent in and out of the router from one system to another. At the same time, the goal was to also keep the solution as simple as possible.

Cisco Remote Office Router - QoS class-map, policy-map, and access-list on router for Voice Quality

This simple basic QoS example firstly required a simple access list that contained both of the phone systems' ip addresses. After the simple access-list, a class-map and policy-map were also configured on the router. In the end, the the policy map is applied to an interface.
 First, in configuration mode of the router,  the access-list. is created.  The access list basically will contain a lists of our phone system ip addresses for the main office and the remote.

Replace the ip addresses shown below with the ip addresses of your phone system. Also, if the access-list number is already taken on your router for another access-list, use another number. This example uses 101 for an extended access list.

   access-list 101 permit ip any host 192.168.1.10
   access-list 101 permit ip any host 192.168.2.10

 Next, create a class-map on the branch router. The class-map is basically a map or list of the match criteria.If you haven't guessed it already, the match criteria will be the ip addresses of the phone systems. In the class-map, we add "match access-group 101. 101 is the access list that contains our phone systems' ip addresses.
    class-map match-any IPPhoneSys-to-IPPhoneSys
   match access-group 101

 After the access-list and class-map is configured, the class-map is applied to the policy map. The policy map can contain more than one class-map.  So the policy-map is like a list of class-maps. The policy-map is  applied to an interface. In this example it will be the serial interface corresponding to the T1 (point-to-point T1).: The bandwidth staement is key to what we are trying to accomplish. This is a simple example of QoS so I have just merely taken 20 percent of the bandwidth and pretty much assigned it to voice (VoIP)

    policy-map QoS_Policy_Priority
    class IPPhoneSys-to-IPPhoneSys
    bandwidth percent 20
    class class-default fair-queue

In this example it is a legacy point-to-point T1 that connects the two offices. The interface you use may differ. To apply the policy-map that contains the class-map with 20 percent bandwidth defined for voice change to the interface level commands by entering the interface on which you plan to apply the QoS policy map. In this example it is a serial interface for the t1 (S0/0/0)

    config# interface serial0/0/0

 Then apply the policy on the interface by running the command

    service-policy output QoS_Policy_Priority

 The above is a simple basic QoS policy using one of the many Cisco Modular QoS solutions. Once applied, it cleared the voice issues immediately. In the example above the bandwidth reserved for voice over ip (VoIP) was 20 percent. You can change that percentage to fit your environment.

Sunday, January 15, 2012

small-portable-fast-malware-anti-virus-scanner




For a fast small portable malware removal scanner try superantispyware portable edition scanner. It is free and can run from the infected computer's hard-drive or from a USB drive. Often malware and other bad-ware will disable internet access or sites that contain tools that can clean the computer.

Superantispyware portable does not need to be installed and can run from a USB or other drive.
I have used this program often over the years and even before they had the portable edition. Works very well.




Share/Save/Bookmark
Share/Save/Bookmark

Tuesday, December 20, 2011

Outlook Web App didn't initialize - Exchange 2010

Desktops, Servers, and Networks, oh MY!


Outlook Web App didn't initialize - Exchange 2010


OWA version: 14.1.355.2



Exchange 2010 Outlook Web App loads the login form page for users of OWA but after login an error page is displayed that displays an error indicating that Outloo kWeb App cannot initialize. This is an authentication issue.

In the case of the blogged server situation. The SSL cert was purchased form digicert.com and pplied successfully. The problem was the settings in IIS and in Exchange management console for client access of outlook web access (woops, outlook web app) were not "matching".

Server configuration > client access > owa properties > Authentication Tab

Select Use Forms Based, User name only. Enter your logon domain (your local internal Active Directory domain).

Next, in IIS7, go to the following spot in the tree under Default Website and set the authentication like the following image shows.



That's all I had to do on my Exchange 2010 server to get past the OWA error message after login in of :

Outlook Web App didn't initialize

Share/Save/Bookmark

Sunday, November 20, 2011

Citrix Session Printers Registry Key Location

Share/Save/Bookmark




Session printers created via policy in Citrix XenApp are considered local printers. As such they are in the registry key that is common for local printer definitions. That registry key location on Windows 2008 R2 is :

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers

Problem with session printers such as additional printers appearing in the user's list of available printers while in a session, most often is a result of driver corruption. Once the corrupt driver has been fixed or removed, you may have printers still showing up in user sessions that do not belong.

One of the things you can check is the key in the registry where the session printers are defined.
For stuck printers, as option to get rid of them is often to delete the users profile but that's not always the best option so removing the session printers defined for that user can be done through the registry. Be cautious when removing but when there are no users logged into the Cirix Xenapp server, there should be no session printers defined.

Monday, January 04, 2010

God Mode in Windows 7

Windows 7 interface (and desktop) is rather clean and minimalist. Control panel as XP, 2000, and other previous OS version before offers a place to access and change settings. There's a lot of clicking into the different applets in control panel to get to the setting you may need at the time. It won’t allow you to see and easily use all those nested settings included in the main options.

Did you know that you can become a God? Well, at least on Windows 7!
One of the less known options on Windows 7 is the God Mode feature. Basically, it lets you have every setting and option right in front of you, ready to be used without having to browse among different settings before getting what you are looking for.

Here is how to enable it:

Right click on any bank space on your desktop.
Click New from the menu and create a New Folder.
Rename the folder as follow: GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}
DO NOT use this trick on Vista and Windows 7 64X. It will cause your Windows to crash! (read comments below)

This simple command will create a special shortcut to the God Mode option letting you access all Windows 7 functions via a handy GUI!
EDIT: GodMode also works on Windows Vista!
[credit: stadt-bremerhaven.de]





Share/Save/Bookmark

Monday, June 08, 2009

List Users With Forwarding Enabled Exchange 2003

List Users With Forwarding Enabled Exchange 2003

To find all users in AD that have forwarding turned and enabled for their account and mailbox create a new saved query in AD Users and Computers and use the following LDAP query.

(&(mailNickname=*)(altRecipient=*))


List Users With Forwarding Enabled Exchange 2003


This is very useful obviously if there a many accounts and you need to find all users that have had forwarding turned on for their account. The alternative to this is to select the properties of each user account one at a time and look at the delivery options configuration.





Share/Save/Bookmark