Forum Search:
Forum.Brain-Cluster.com: Brain Cluster Technical Forum
Ultimate forum for Technical Discussions

Home » Microsoft » Windows Server » Active Directory » Using NETDOM.EXE to add Windows Vista to domain...
Using NETDOM.EXE to add Windows Vista to domain... [message #160700] Fri, 04 September 2009 16:34 Go to next message
Brandon McCombs  is currently offline Brandon McCombs  United States
Messages: 152
Registered: October 2009
Senior Member
Hello all,


Is there anything special that needs to be done when trying to add a Windows Vista machine to the domain using NETDOM.EXE remotely? After the initial install, the Windows Firewall is on and blocking ICMP, so I turn it off so that I can ping the machine. I use the following syntax:

NETDOM JOIN <IP Address> /Domain:<FQDN of domain> /UserD:<username of domain admin account> /PasswordD:* /UserO:<Local admin account> /PasswordO:* /REBoot:10 /verbose

Our Active Directory environment is Windows Server 2003 (Forest and Domain Functional Levels). I wrote a vbscript that uses the NETDOM tool and asks a series of questions for all of the variables, and have been successful with adding Windows Server 2003 and Windows XP Professional machines to the domain, but no success with the script or the native command line when trying to add a Vista-based workstation (possibly even Windows Server 2008-based systems too). NETDOM returns an "Error 5: Access is denied", even after verifying that all services are running, and that the passwords that are used are accurate. I am not sure if the User Account Control (UAC) may have something to do with the issues I am having. Is anyone else experiencing similar issues?


Thanks in advance for any assistance.




Paul Yhonquea, MCP
--
Re: Using NETDOM.EXE to add Windows Vista to domain... [message #160703 is a reply to message #160700] Sat, 05 September 2009 05:21 Go to previous messageGo to next message
florian  is currently offline florian  Germany
Messages: 484
Registered: July 2009
Senior Member
Howdie!

Paul Yhonquea schrieb:
> Windows Server 2008-based systems too). NETDOM returns an "Error 5:
> Access is denied", even after verifying that all services are running,
> and that the passwords that are used are accurate. I am not sure if the
> User Account Control (UAC) may have something to do with the issues I am
> having. Is anyone else experiencing similar issues?

have you tried running the script from an (UAC-)elevated command prompt?

Cheers,
Florian
--
Microsoft MVP - Group Policy
eMail: prename [at] frickelsoft [dot] net.
blog: http://www.frickelsoft.net/blog.
Maillist (german): http://frickelsoft.net/cms/index.php?page=mailingliste
Re: Using NETDOM.EXE to add Windows Vista to domain... [message #160704 is a reply to message #160700] Sat, 05 September 2009 05:30 Go to previous messageGo to next message
Marcin  is currently offline Marcin  United States
Messages: 273
Registered: July 2009
Senior Member
Paul,
either disable UAC on the target computers (you would want to make it part
of your OS provisioning process) - or use the instructions in
http://msdn.microsoft.com/en-us/library/aa826699(VS.85).aspx describing how
to handle remote connections under UAC...

hth
Marcin

"Paul Yhonquea" <none@none.com> wrote in message
news:elBHq$aLKHA.4432@TK2MSFTNGP05.phx.gbl...
Hello all,


Is there anything special that needs to be done when trying to add a Windows
Vista machine to the domain using NETDOM.EXE remotely? After the initial
install, the Windows Firewall is on and blocking ICMP, so I turn it off so
that I can ping the machine. I use the following syntax:

NETDOM JOIN <IP Address> /Domain:<FQDN of domain> /UserD:<username of domain
admin account> /PasswordD:* /UserO:<Local admin account> /PasswordO:*
/REBoot:10 /verbose

Our Active Directory environment is Windows Server 2003 (Forest and Domain
Functional Levels). I wrote a vbscript that uses the NETDOM tool and asks a
series of questions for all of the variables, and have been successful with
adding Windows Server 2003 and Windows XP Professional machines to the
domain, but no success with the script or the native command line when
trying to add a Vista-based workstation (possibly even Windows Server
2008-based systems too). NETDOM returns an "Error 5: Access is denied",
even after verifying that all services are running, and that the passwords
that are used are accurate. I am not sure if the User Account Control (UAC)
may have something to do with the issues I am having. Is anyone else
experiencing similar issues?


Thanks in advance for any assistance.




Paul Yhonquea, MCP
Re: Using NETDOM.EXE to add Windows Vista to domain... [message #160725 is a reply to message #160704] Sun, 06 September 2009 22:36 Go to previous message
Brandon McCombs  is currently offline Brandon McCombs  United States
Messages: 152
Registered: October 2009
Senior Member
Hello,

In response to Florian Frommherz, When I run the script (or just use the
command line), I am normally logged into an administrative machine with a
domain administrator account. This machine is running Windows XP
Professional SP 3.

In response to Marcin, I will try the steps in disabling UAC that are
outlined in the document (web page) you gave me.

Thanks,


Paul Yhonquea, MCP


"Marcin" <marcin@community.nospam> wrote in message
news:uw6xBxhLKHA.1492@TK2MSFTNGP03.phx.gbl...
> Paul,
> either disable UAC on the target computers (you would want to make it part
> of your OS provisioning process) - or use the instructions in
> http://msdn.microsoft.com/en-us/library/aa826699(VS.85).aspx describing
> how to handle remote connections under UAC...
>
> hth
> Marcin
Previous Topic:Office 2003 : hide C: in the dialog box Open/save
Next Topic:FSMO transfer from offline DC
Goto Forum:
  


Current Time: Thu Jan 18 20:49:02 MST 2018

Total time taken to generate the page: 0.03619 seconds
.:: Contact :: Home ::Sitemap::.

Powered by: FUDforum 3.0.0RC2.
Copyright ©2001-2009 FUDforum Bulletin Board Software