I have windows 2012 server which I had to nuke due to virus issue, which has active directory setup with users and computers. Now I have installed fresh windows server and setup ad & dc with same name as it was and wanted to add all existing users and computers to it without affecting user files/folders on their machines.

TIA.


Solution 1:

You can't. The new AD has different UUIDs that are used internally. You will have to start from scratch, add all users, computers, recreate all permissions, ownerships etc.

It would have been better if you had set up a second domain controller, even if it is only temporary.