I have installed the dirsync tool in multiple instances for our clients. There has not been ONE time where everything went smooth, there is always an error, even in clean installations of the OS.
Here is the ultimate solution.
You might see errors like sqlexpress did not install, error code -2067922934 etc.
Consider the following scenario,
You are migrating a client to 365, so you need the dirsync tool to sync the 365 with the local AD.
Following the microsoft guidelines, you create a VM with 100GB HDD, and at least 4GB RAM running an updated version of 2008 R2 or 2012
You join the domain and you login with an account with admin rights.
Those are not enough. The importan step you are missing and the reason you ended up on this page is outlines in the following KB : http://support.microsoft.com/kb/2000257
Here are the steps :
- Log on to the computer as a user who has administrative credentials.
- Click Start, click Run, type Control admintools, and then click OK.
- Double-click Local Security Policy.
- In the Local Security Settings dialog box, click Local Policies, double-click User Rights Assignment, and then double-click Backup Files and Directories.
- In the Backup Files and Directories Properties dialog box, click Add User or Group.
- In the Select User or Groups dialog box, type the user account that is being used for setup, and then click OK two times.
- Repeat the procedure for the other two policies that are mentioned in the “Cause” section.
- On the File menu, click Exit to close the Local Security Settings dialog box.
You might want to make this into a domain GPO and add the admin user and apply it to all your clients so you don’t have this in the future
Here is how to check what the current user has before and after :
Download this tool : http://download.sysinternals.com/files/AccessChk.zip
Then run accesschk.exe -a yourdomain\yourusername *