Discussion Locked

Problem Joining Vista Machine to Domain using NetDom

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi
Previously after imaging our computers we used netdom to join them to a domain. We had XP then.

Now we have Vista machines. When we try to use netdom to join these Vista machines to our domain, it says "access denied". Does anyone have a suggestion?
Thanks

5 replies

by p.j.hutchison

Why not use the old fashion way and use the System control panel to join the domain instead of netdom.

Alternatively, go to Start menu, click on Command Prompt, right click, select 'Run as Administrator' and then open the command window and run netdom

or

open a command window, and enter:
runas /user:domain\user "netdom "

by h0dg3s

"Why not use..."

You seem to have completely missed the fact that he said he was imaging machines. You go to 300 machines and join them to the domain using your method.

by h0dg3s

I got netdom to work by disabling UAC before I created the image.

After sysprep runs, I have a batch file to run wsname to rename the pc, then it sets a second batchfile to run on runonce, then the second one joins the domain with netdom and enables UAC through the registry.

C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f

This discussion is closed to new replies.