Category Archives: Windows

Roles to be installed before Exchange 2010 SP1

Start powershell and run import-module servermanager

Then run

Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart

Active Sync – Unexpected Exchange mailbox Server (Exchange 2003)

Unexpected Exchange mailbox Server error: Server: [server01.XXXX.XX] User: [[email protected]] HTTP status code: [503]. Verify that the Exchange mailbox Server is working correctly.

If you got this error, please follow this steps:

  1. Try disabling the firewall
  2. Reset Exchange Folder in IIS – http://support.microsoft.com/kb/883380 (Dont remove exchange-oma)
  3. Remove Exchange-oma and create it again http://support.microsoft.com/kb/817379
  4. Remove IPV6 from the server

Exchange Room Mailbox automatic deletes calendar appointments

If you have created a room mailbox, and want to create appointments directly in the calendar of the room mailbox, then you need to:

  1. Enable the user in Active Directory
  2. Set the password of the user
  3. Log on to a workstation with that user
  4. Start Outlook
  5. On the Tools menu, click Options, and then click Calendar Options.
  6. Under Advanced options, click Resource Scheduling.
  7. Select the Automatically accept meeting requests and process cancellations check box.
  8. You can then select the following options:
    • Automatically decline conflicting meeting requests
    • Automatically decline recurring meeting requests

Then it will not automatic delete calendar appointments anymore.

Howto to Push local administrators into domain member computers with GPO

Security Groups

First create a Security groups in you Active directory. I call it IT-Admins.
And add members to it. There members hive will be granted locally administrators rights on member computers.

Group Policy

Create a GPO in the OU where you member computers is located example call it LocalAdministrators.
Right click “LocalAdministrators” group Policy
2. Expand Computer Configuration\Policies\Windows Settings\Security Settings\Restricted Groups
3. Right click on the white place and choice “Add Group…”
4. Type IT-Admins and press OK
5. Click Add under “This group is a member of:”
6. Add the “Administrators” Group.
7. Add “Remote Desktop Users”
8 OK

Please be aware of change  “Members of this group:” it will override the settings you have made in the group members, when you created the group.

Backup of Exchange 2010 database level and document level with Ahsay

Installation of the Ashay Client:

Download the Ahsay Client:
http://eval.ahsay.com/obs/download/obm-win.exe

After the installation please apply the latest hotfix.
http://download.ahsay.com/support/hot-fixes/55/obm-win-hotfix.zip

Put the content of the hotfix into the folder: c:\program files\ahsayobm\

Disable Continous Backup services

Database level:
To backup the database level, just select Exchange Database Level, and choise Exchange 2010

Document level:
First install Microsoft Exchange Server MAPI Client and Collaboration Data Objects, download it from here: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=1004
When you want to create a document level backup of Exchange 2007 or 2010 in ahsay you first need to run ahsay in 32bit java environment.
Please run c:\Program Files\AhsayOBM\bin\RunOBC32.bat
This will startup the Ahsay client in 32bit java environment. Then create a new backup job and set type to: MS Exchange Mail Level Backup, and give it a name.
If you get this: “DOMAIN\Administrator” might have insufficient permissions to the mailbox, please follow this steps.
a. Please first check that the Online Backup Scheduler is running under an acount that have access to the Exchange Mailbox, the “Local System” account does not have access to this, change it for to an account that have access, i use administrator.
1. Open [Control Panel] -> [Administrative Tools] -> [Services] -> [Online Backup Scheduler] -> [Log on]
2. Select the [This Account] option
3. Enter the Login Credentials
4. Restart the [Online Backup Scheduler] service
b. Please check that the account your have use is mail enabled. (Has an mailbox enable, and is not hidden from the default address book).
c. If the suggestions above cannot resolve the issue, please also verify if the MAPI profile used by OBM is configured properly. You could do so by following the instructions below:
1. Download the MAPI editor (MfcMapi.exe)
2. Open the MAPI editor
3. Select [Profile], and then [Show Profile]
4. Right click on the [Online Backup Manager] profile
5. Select [Open Profile]
6. Right click on the [Microsoft Exchange Server] entry and then select [Configure Service]
7. Enter the correct information, and then [Apply]
8. Once done, please restart the OBM client

Now select witch mailbox and public folders you want to backup with document level backup, and click next
Select the scheduled you want to run, and click next
Select the encrypting and click ok, now the backup is setup, and you can close this window, remember to click Save settings.

If you ran into any problems, look here:
If you get this: “DOMAIN\Administrator” might have insufficient permissions to the mailbox, please follow this steps.

a. Please first check that the Online Backup Scheduler is running under an acount that have access to the Exchange Mailbox, the “Local System” account does not have access to this, change it for to an account that have access, i use administrator.

Open [Control Panel] -> [Administrative Tools] -> [Services] -> [Online Backup Scheduler] -> [Log on]
Select the [This Account] option
Enter the Login Credentials
Restart the [Online Backup Scheduler] service

b. Please check that the account your have use is mail enabled. (Has an mailbox enable, and is not hidden from the default address book).
c. If the suggestions above cannot resolve the issue, please also verify if the MAPI profile used by OBM is configured properly. You could do so by following the instructions below:
1. Download the MAPI editor (MfcMapi.exe)
2. Open the MAPI editor
3. Select [Profile], and then [Show Profile]
4. Right click on the [Online Backup Manager] profile
5. Select [Open Profile]
6. Right click on the [Microsoft Exchange Server] entry and then select [Configure Service]
7. Enter the correct information, and then [Apply]
8. Once done, please restart the OBM client

Powershell – Get all Security Groups from AD

First install http://www.quest.com/powershell/activeroles-server.aspx

Add-PSSnapin Quest.ActiveRoles.ADManagement -ErrorAction SilentlyContinue

$File = “C:\ita\securitygroups.txt”
$AllGroups = get-qadgroup -grouptype “Security” | select name, Description
$AllGroups | Foreach {
echo “”
echo “”
echo $_.name
echo $_.description
} | out-File $File