If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.
Executing the query "RESTORE DATABASE [DB_00] FROM DISK = N'\\SERVER..." failed with the following error: "Cannot open backup device '\\SERVER\DB_00.bak'. Operating system error 1326(Logon failure: unknown user name or bad password.). RESTORE DATABASE is terminating abnormally."
Executed as user: DOMAIN\Administrator
Join the community of 500,000 technology professionals and ask your questions.