19 de setembro de 2014

ActiveSync users cannot synchronize an EAS device for the first time in an Exchange Server 2010 or Exchange Server 2013 environment

Situation: when attempting to run Exchange ActiveSync in a smart phone, the Exchange

 Server may log this event.
Source:        MSExchange ActiveSync
Event ID:      1053
Description: Exchange ActiveSync doesn't have sufficient permissions to create the "CN=Bob Lin,CN=Users,DC=chicagotech,DC=net" container under Active Directory user "Active Directory operation failed on 2008dc2.chicagotech.net. This error is not retriable. Additional information: Access is denied.
Active directory response: 00000005: SecErr: DSID-03152492, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0


Make sure the user has inherited permission granted to domain\Exchange Servers to allow List, Create child, Delete child of object type "msExchangeActiveSyncDevices" and doesn't have any deny permissions that block such operations.
On the Android phone, you may receive can't create user account message.
Resolution: Grant  inherited permission to domain\Exchange Servers. To do that, please follow these steps:
1. Run Active Directory Users and Computers.
2. Click on View and Select Advanced Features
3. Select a mailbox that isn’t working with Active Sync, double click on the account.
4. Click the Security Tab and then the Advanced button.
5. Highlight Exchange Servers, and check the Include inheritable permissions from this object's parent.
6. Click OK to save the settings.


17 de setembro de 2014

Problema a activar windows 8/Server 2012 - DNS name does not exist

Error code:          0x8007232B
Error description:   DNS name does not exist.

Isto acontece porque o windows utiliza uma chave de activação temporária. É preciso instalar uma chave válida para fazer a activação.

Para alterar a chave do windows, executar o seguinte comando na linha de comandos com privilégios administrativos: slmgr.vbs /ipk <chave>

Depois basta ir a Definições > Activar Windows

Free Up space after install service packs

If Service Pack is installed on 2008 R2 Servers, you can use following command to free up some space

dism /online /cleanup-image /spsuperseded [use elevated cmd (run as Administrator)]

Migrate fileshares with robocopy



1st
robocopy "\\source_server\d$\data" "\\dest_server\d$\data" /E /V /ZB /R:0 /W:0 /COPYALL /LOG:data_copy.log

2nd
robocopy "\\source_server\d$\data" "\\dest_server\d$\data" /MIR /V /ZB /R:0 /W:0 /COPYALL /LOG:data_mirror.log