sc.exe

sc config netlogon start= auto

Then reboot.
Note the spacing in the example is perfect, the parameter is sc= then a 
space then the value.
sc.exe is in the reskit.

If you need to continue the script with the machine joined to the domain 
then use regini or reg or some such to set an autologon and a runonce value. 
  Just make sure to clear the autologon in the script you specify in 
runonce.

----Original Message Follows----
From: "Winburn, Landon M." <[EMAIL PROTECTED]>
Reply-To: "NT 2000 Discussions" <[EMAIL PROTECTED]>
To: "NT 2000 Discussions" <[EMAIL PROTECTED]>
Subject: RE: Setting services to run automaticly
Date: Fri, 07 Sep 2001 10:21:18 -0500

When you use netdom it doesn't start the service. When you use the normal
gui it does. The problem is that I need to script the joining of the domain
using netdom.

-----Original Message-----
From: Robert Ellis [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 10:20 AM
To: NT 2000 Discussions
Subject: RE: Setting services to run automaticly


Surely once its joined to the domain, the necessary services will be started
as needed, ie windows will change the startup to auto for netlogon?

Regards,

Rob Ellis
Messaging Consultant
Service Delivery Solutions & Programmes
IBM Global Services
DDI:     01256 752845
Mobile: 07974 111867
Fax:     01256 754899
Email:  [EMAIL PROTECTED]

  -----Original Message-----
From:   Winburn, Landon M. [mailto:[EMAIL PROTECTED]]
Sent:   Friday, September 07, 2001 4:17 PM
To:     NT 2000 Discussions
Subject:        RE: Setting services to run automaticly

I am running netdom from a vbscript to join a computers to a domain, but if
the computer was not on a previously on a domain, it doesn't have the
netlogon service started. I need to set it to start automaticly in the
script through vb or a dos command.

-----Original Message-----
From: Erik Sojka [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 10:12 AM
To: NT 2000 Discussions
Subject: RE: Setting services to run automaticly


How about setting the service startup to "Automatic" instead of "Manual"?

 > -----Original Message-----
 > From: Landon Winburn [mailto:[EMAIL PROTECTED]]
 > Sent: Friday, September 07, 2001 11:13 AM
 > To: NT 2000 Discussions
 > Subject: Setting services to run automaticly
 >
 >
 > Is there a way I can set the netlogon service to run automaticly on
 > startup from a dos prompt if it is currently set to run
 > manualy. I tried
 > doing a net start netlogon, but it won't come back up after reboot.
 >
 > Landon.
 >
 > ------
 > You are subscribed as [EMAIL PROTECTED]
 > Archives: http://www.swynk.com/sitesearch/search.asp
 > To unsubscribe send a blank email to [EMAIL PROTECTED]
 >

------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]


The contents of this email and any attachments are sent for the personal
attention
of the addressee(s) only and may be confidential.  If you are not the
intended
addressee, any use, disclosure or copying of this email and any attachments
is
unauthorised - please notify the sender by return and delete the message.
Any
representations or commitments expressed in this email are subject to
contract.

ntl Group Limited

------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


------
You are subscribed as [email protected]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to