Skip to main content

Installing DirSync tool errors – Solved!

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 :


Here are the steps :

  1. Log on to the computer as a user who has administrative credentials.
  2. Click Start, click Run, type Control admintools, and then click OK.
  3. Double-click Local Security Policy.
  4. In the Local Security Settings dialog box, click Local Policies, double-click User Rights Assignment, and then double-click Backup Files and Directories.
  5. In the Backup Files and Directories Properties dialog box, click Add User or Group.
  6. In the Select User or Groups dialog box, type the user account that is being used for setup, and then click OK two times.
  7. Repeat the procedure for the other two policies that are mentioned in the “Cause” section.
  8. 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 :

Then run accesschk.exe -a yourdomain\yourusername *


I am the one