Using an answer file for DCPromo

On the Summary page of the Active Directory Domain Services Installation Wizard, you can click Export settings to save the settings that you specified in the wizard to an answer file. You can then use the answer file to automate subsequent installations of Active Directory Domain Services (AD DS).

The answer file is a plain text file with a [DCInstall] header. The answer file provides answers to the questions that are asked by the Active Directory Domain Services Installation Wizard. Using the answer file eliminates the need for an administrator to interact with the wizard. The Active Directory Domain Services Installation Wizard adds text to the answer file that explains how to use it, such as how to invoke it with the dcpromo command and which settings must be updated to use it.

During an unattended operation, a return code indicates whether or not the operation was successful. For information about return codes, see Unattended Installation Return Codes.

To use an answer file to install AD DS, type the following command at a command prompt, and then press ENTER:

dcpromo /answer[:filename]

Where filename is the name of your answer file.

Sony Fails Again

Classic. So their systems got hacked. Then when they come back on, their offers are shit (the free games that is), takes a day to get the password reset e-mail. Then you click the link and get this

Classic

What a fuck up.

This is why


http://www.bit-tech.net/news/gaming/2011/05/18/psn-password-reset-vulnerability-uncovered/1

Fools.

“We want you to ID you are who you say you are, on the very information that was stolen”.

Classic.

What a dickhead

http://www.bit-tech.net/news/gaming/2011/05/18/sony-we-can-t-guarantee-security/1

If my house had been broken into, I wouldn’t inventory everything that maybe missing before calling the Fuzz!

XP Profile migration to new machine

To copy profiles from one machine to another machine on a domain and have it so XP carries on using those profiles on the new machine instead of it creating a new profile like jdoe.DOMAINNAME. Extract the key below from the registry of the old machine
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\ProfileList
Copy the profiles over to the new machine.
Once copied you may need to set the permission up again on their profile folder. You may need to add the user back in and give them full control.

Broken DNS?

Run DCDiag /test:dns to test and see what errors it shows.

Even after clearing out DNS some entries might not be showing there but still be in AD so run ADSI Edit and look through the System section for errors. Mine was old DC entries appearing in MicrosoftDNS section.