Activesync not working After Migration from Exchange 2007 to Exchange 2010- event ID 1053

Error: event ID 1053: “Exchange Activesync doesn’t have sufficient

Open Active Directory – find the user

RightClick – properties – Security – Advanced

Chack: “Include inheritable permissions from this objects parent”

image

Posted in Exchange 2010, Microsoft Exchange | Tagged , , | Leave a comment

SCCM–Client installation failed with error :Could not access network location %APPDATA%\.

Error:

File C:\Windows\ccmsetup\{4D87A80B-6971-43EF-A59F-8088D214378A}\client.msi installation failed. Error text: ExitCode: 1603
Action: CostFinalize.
ErrorMessages:
Could not access network location %APPDATA%\.
Could not access network location %APPDATA%\.

 

Solution :

Change the "AppData" value for the LocalSystem account in registry to – “%USERPROFILE%\AppData\Roaming”

The LocalSystem account can be found at: [HKEY_USERS\S-1-5-18\]

The entry  located here:

[HKEY_USERS\S-1-5-18\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]

Befor:

image

After:

image

 

This solution applies also for the 1606 error when trying to deploy software.

 

Good luck סמיילי

Posted in SCCM 2012, SCCM 2012 R2, SCCM2007, System Center | Tagged , , , | Leave a comment

SCCM 2012 R2 Error 80070057

I got this error on the Apply Operating System Image step when running a Task Sequence.

In my case the time wassan`t set correctly in the bios.

but, when i searched for solution i also came across this solution : Empty variable name

in this case,  the partition step did not have a variable name specified – once you set a name for the partiotion disk the task will run without any errors

image

Posted in SCCM 2012, SCCM 2012 R2, SCCM2007, System Center | Leave a comment

Exchange ActiveSync Error – 1053

“Exchange ActiveSync doesn’t have sufficient permissions to create the “” container under Active Directory user “Active Directory operation failed on dc.domain.com. This error is not retriable. Additional information: Access is denied.

Active directory response: 00000005: SecErr: DSID-03152611, 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 “msExchActiveSyncDevices” and doesn’t have any deny permissions that block such operations.”

Issue :  Data will not sync in mobile phones for domain admins accounts after exchange 2010 upgrade .

Solution: configure security inheritance to the exchange servers objects for those users:

1. Start Active Directory Users and Computers.

2. Click View, and then click to enable Advanced Features.
3. Right-click the object where you want to change the Exchange Server permissions, and then click Properties.
4. Click Add, type Exchange Servers, and then click OK.
5.  In the Apply to box, click Descendant msExchActiveSyncDevices objects.
6. Under Permissions, click to enable Modify Permissions. Click OK three times.
7. Tick the Include inheritable permissions toggle then Apply and OK.

 

 

Posted in Exchange 2010, Exchange 2013, Microsoft Exchange | Leave a comment

Released: Exchange Server 2013 Service Pack 1

Upgrading to SP1/Deploying SP1

As with all cumulative updates (CUs), SP1 is a full build of Exchange, and the deployment of SP1 is just like the deployment of a cumulative update.

Active Directory Preparation

Prior to or concurrent with upgrading or deploying SP1 onto a server, you must update Active Directory. These are the required actions to perform prior to installing SP1 on a server.

1. Exchange 2013 SP1 includes schema changes. Therefore, you will need to execute the following command to apply the schema changes.

setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms

2. Exchange 2013 SP1 includes enterprise Active Directory changes (e.g., RBAC roles have been updated to support new cmdlets and/or properties). Therefore, you will need to execute the following command.

setup.exe /PrepareAD /IAcceptExchangeServerLicenseTerms

Server Deployment

Once the above preparatory steps are completed, you can install SP1 on your servers. Of course, as always, if you don’t separately perform the above steps, they will be performed by Setup when you install your first Exchange 2013 SP1 server. If this is your first Exchange 2013 server deployment, you will need to deploy both Client Access Server and Mailbox Server roles in your organization.

If you already deployed Exchange 2013 RTM code and want to upgrade to SP1, you will run the following command from a command line.

setup.exe /m:upgrade /IAcceptExchangeServerLicenseTerms

Alternatively you can start the installation through the GUI installer.

Hybrid deployments and EOA

Customers in hybrid deployments where Exchange is deployed on-premises and in the cloud, or who are using Exchange Online Archiving (EOA) with their on-premises Exchange deployment are required to maintain currency on Cumulative Update/Service Pack releases.

 

 

Source: http://blogs.technet.com/b/exchange/archive/2014/02/25/exchange-server-2013-service-pack-1-available.aspx

Posted in Exchange 2013 | Tagged | Leave a comment

How to set all virtual directories at once With PowerShell

For internal URLs:

$urlpath = Read-Host "Type internal Client Access FQDN starting with http:// or https://"

Set-ClientAccessServer –Identity * –AutodiscoverServiceInternalUri “$urlpath/autodiscover/autodiscover.xml”
Set-webservicesvirtualdirectory –Identity * –internalurl “$urlpath/ews/exchange.asmx”
Set-oabvirtualdirectory –Identity * –internalurl “$urlpath/oab”
Set-owavirtualdirectory –Identity * –internalurl “$urlpath/owa”
Set-ecpvirtualdirectory –Identity * –internalurl “$urlpath/ecp”
Set-ActiveSyncVirtualDirectory -Identity * -InternalUrl "$urlpath/Microsoft-Server-ActiveSync"

External URLs:

Set-ClientAccessServer –Identity * –AutodiscoverServiceExternalUri “$urlpath/autodiscover/autodiscover.xml”
Set-webservicesvirtualdirectory –Identity * -ExternalUrl “$urlpath/ews/exchange.asmx”
Set-oabvirtualdirectory –Identity * –ExternalUrl “$urlpath/oab”
Set-owavirtualdirectory –Identity * –ExternalUrl “$urlpath/owa”
Set-ecpvirtualdirectory –Identity * –ExternalUrl “$urlpath/ecp”
Set-ActiveSyncVirtualDirectory -Identity * -ExternalUrl "$urlpath/Microsoft-Server-ActiveSync

save it as a .ps1 extension and run it in Exchange Management Shell

Posted in Exchange 2010, Exchange 2013, Microsoft Exchange, PowerShell | Tagged , , , | Leave a comment

AD Schema version

The following list show each version:

Schema-Version 13 = Windows 2000 RTM 
Schema-Version 30 = Windows Server 2003 RTM
Schema-Version 31 = Windows Server 2003 R2 RTM
Schema-Version 44 = Windows Server 2008 RTM
Schema-Version 47 = Windows Server 2008 R2

You can find the version number by using one of the following :

1.ADSIedit – – objectVersion property of the Schema container

image

2.HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Parameters\<Schema Version>

image

3. dsquery * CN=Schema,CN=Configuration,DC=Root-Domain -Scope Base  -attr objectVersion

Posted in Active Directory | Tagged , , | Leave a comment

How to automate the upgrade of SCCM 2012 clients to SCCM 2012 SP1

Upgrade client automatically -  this option will allow Configuration Manager 2012 to automatically installs the latest version of the Configuration Manager 2012 client and its prerequisites on all clients in the hierarchy

To enable this option go to Site Settings properties – > Client Installation Settings –> Upgrade client Automatically..

image

Posted in SCCM 2012, SCCM 2012 R2, System Center | Tagged , , | Leave a comment

VMware: ESXi requires the Execute Disable/No Execute CPU feature to be enabled – HP DL360 G5

Error:

While installing Esxi 5.5  I received the following warning message:

“The system has found a problem on your machine and cannot continue.
VMware ESXi requires the Execute Disable/No Execute CPU feature to be enabled”

image

Solution:

1.Restart the host
2. press F9 to boot in BIOS mode
3. Advanced Options –> Processor Options –> No-Execute Memory Protection –> configure: Enabled

image

Posted in Vmware | Leave a comment

Office365 – Enable or disable IMAP, POP, OWA, MAPI, or Exchange ActiveSync for a mailbox

Enable or disable IMAP, POP, OWA, MAPI, or Exchange ActiveSync for a mailbox in Exchange Server in office365

1. Connect to office365 PowerShell  –

https://www.itblog.co.il/how-to-connect-remote-powershell-to-the-office365s-cloud-based-organization/

2. To see the current state for the mailbox – type : Get-CASMailbox -Identity “Mailbox identity”

(Where mailbox identity is the mailbox name)

clip_image002

3. To Disable one of the services type:

Set-CASMailbox -Identity idit -OWAEnabled $False

clip_image004

To enable on of the services type

Set-CASMailbox -Identity idit -OWAEnabled $True

image

To enable\disable service for all mailboxes type:

Get-CASMailbox |Set-CASMailbox -OWAEnabled $False

image

Check:

image

Posted in Office365, Office365 Proplus | Tagged , , | Leave a comment