terça-feira, fevereiro 02, 2010
Mailbox doesn't appear on Disconnected Mailbox after disabling it
To see the hidden disconnected mailbox run the following cmdlet on the mailbox server that hosts the mailbox:
Clean-MailboxDatabase “Database Name”
After running the cmdlet return to EMC and refresh Disconnected Mailbox, then you'll see the mailbox there.
Source:
http://exchangeshare.wordpress.com/2008/04/27/cant-see-deleted-mailbox-in-disconnected-mailbox-under-recipient-configuration/
Using Import/Export-Mailbox on Exchange 2010
New-ManagementRoleAssignment –Role “Mailbox Import Export” –User “Rodrigo”
or you can enable a group:
New-ManagementRoleAssignment –Role “Mailbox Import Export” –Group “MailboxAccessGroup”
After running one of these cmdlets restart the Exchange Management Shell to use the "hidden" cmdlets.
Source:
http://www.howexchangeworks.com/2009/08/where-is-exportimport-cmdlets-in.html
Related sites:
Export-Mailbox
http://technet.microsoft.com/en-us/library/aa998579.aspx
Import-Mailbox
http://technet.microsoft.com/en-us/library/bb629586.aspx
segunda-feira, janeiro 25, 2010
Exchange Server hung on "applying security policy to the system" screen after restart
This issue can be solved running [Exchange Installation Dir]
Increasing the number of simultaneous Remote/Local Move Request on Exchange 2010
By default Exchange 2010 just move 5 mailboxes simultaneously, it can make a migration of about 1500 mailboxes take 3 or more days.
To increase it you have to change a configuration file for Mailbox Replication Service.
1. Open the file C:\Program Files\Microsoft\Exchange Server\V14\Bin\MSExchangeMailboxReplication.exe.config;
2. Increase the blue values to a number of simultaneous active moves that you want.
MaxRetries = "60"
RetryDelay = "00:00:30"
MaxMoveHistoryLength = "2"
MaxActiveMovesPerSourceMDB = "50"
MaxActiveMovesPerTargetMDB = "50"
MaxActiveMovesPerSourceServer = "50"
MaxActiveMovesPerTargetServer = "50"
MaxTotalMovesPerMRS = "100"
FullScanMoveJobsPollingPeriod = "00:10:00"
MinimumTimeBeforePickingJobsFromSameDatabase = "00:00:04"
ServerCountsNotOlderThan = "00:10:00"
MRSAbandonedMoveJobDetectionTime = "01:00:00"
BackoffIntervalForProxyConnectionLimitReached = "00:30:00"
DataGuaranteeCheckPeriod = "00:05:00"
EnableDataGuaranteeCheck = "true"
DisableMrsProxyCompression = "false"
DisableMrsProxyBuffering = "false"
MinBatchSize = "100"
MinBatchSizeKB = "256" ;
3. Save and close the file;
4. Restart the Microsoft Exchange Mailbox Replication service.
I've used the above configuration to migrate about 1400 mailboxes (its average size was 200MB) and it took 12hs to finish, using gigabit ethernet.
terça-feira, janeiro 19, 2010
Mapi session "/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=username" exceeded the maximum of 16 objects of type "session"
Event ID 9646 is logged in the application event log of your Exchange Server 2010 computer when a client opens many MAPI sessions
1. Click Start, click Run, type regedit in the Open box, and then click OK.
2. Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem
3.If the Maximum Allowed Services Sessions Per User entry does not exist, do the following:
a. On the Edit menu, point to New, and then click DWORD Value.
b. Type Maximum Allowed Services Sessions Per User as the entry name, and then press ENTER.
4. Right-click the Maximum Allowed Services Sessions Per User entry, and then click Modify.
5. Click Decimal, type the value that you want to set in the Value data box, and then click OK.
6. Exit Registry Editor.
7. Click Start, click Run, type services.msc in the Open box, and then click OK.
8. Click the MSExchange Information Store service, and then click Restart Service.
IIS 7.0 - Create a SSL Certificate for Multiple Names
Subject = "CN=FQDN, OU=Organizational Unit, O=Company, L=City, S=State, C=Country"
KeySpec = 1
KeyLength = 2048
HashAlgorithm = SHA256
Exportable = FALSE
MachineKeySet = TRUE
SMIME = FALSE
PrivateKeyArchive = FALSE
UserProtected = FALSE
UseExistingKeySet = FALSE
RequestType = PKCS10
KeyUsage = 0xa0
ProviderName = "Microsoft RSA SChannel Cryptographic Provider"
FriendlyName = ""
[EnhancedKeyUsageExtension]
OID=1.3.6.1.5.5.7.3.1 ; Server Authentication
[RequestAttributes]
CertificateTemplate = WebServer
[Extensions]
2.5.29.17 = "{text}"
_continue_ = "DNS=example.com&"
_continue_ = "DNS=www.example.com&"
_continue_ = "DNS=secure.example.com"
The process
Once you have the above information saved. Follow these steps:1. Open a command prompt and cd to the directory where you saved request.inf.
2. Run certreq -new request.inf request.req
3. Submiting
a. Submit the request.req file to your CA. They will process it and approve/decline it.
b. To submit the request file to your internal CA: certreq –submit request.req
4. When they approve it they should send you back your public key in a .cer file.
5. Run certreq -accept file-from-ca.cer (or request.req) to finish setting up the key.
Sources:
http://serverfault.com/questions/67697/iis-7-0-ssl-certificate-renew-or-new
http://blogs.technet.com/pki/archive/2009/08/05/How-to-create-a-web-server-SSL-certificate-manually.aspx