I've been having trouble restoring an instance of AD LDS from one computer to another following the Microsoft technet instructions. For the same server installed with the same windows restore image it is fine, but when restoring to another server build, it will fail for me.
I've tried creating a test LDS instance on server1 and I'd like to move it over to server2. (The use case is that server1 has an imminent hardware failure).
I've tried both Windows Server Backup and a backup done through dsdbutil with the create full command on the AD LDS test instance. Both result in the same issue.
Server2 is created in the exact same way as Server1. As per technet article, technet.microsoft.com/en-us/library/cc770886 and technet.microsoft.com/en-us/library/cc770886(v=ws.10).aspx I stop the directory, delete everything in %ProgramFiles%\Microsoft ADAM\instance_name\data
I copy my backed up adamntds.dit to the above folder (or have Windows Server backup do it for me) and start the directory back up. I encounter:
Operation failed. Error code: 0x8000500d The directory property cannot be found in the cache.
Please note, that I'm using Windows Server 2012 R2 instead of Windows Server 2008.
I'm pretty sure it is a permissions problem. When I set up the LDS instance, I used the Network Service Account
Run AD LDS using the following account:NT AUTHORITY\NetworkService
Set up the following account to administer AD LDS:WIN-6B9R4ROQ36T\Administrator I've tried giving all permissions to both the administrator account and the network service account. I've even added the network service account to Administrators group. Nothing seems to work...
Any help would be greatly appreciated. Thank you.