Hi, What I need to write a command in the batch file? I try this: NETDOM REMOVE /Domain:XXXXXX /user:XXXXXXX /password:XXXXXXX /SHUTDOWN /R NETDOM ADD /Domain:XXXXXXX /user:XXXXXXX /password:XXXXXXX /SHUTDOWN /R
Are you running the script as an Administrator? What error message(s) do you get? Are you specifying a Domain Administrator as the user? (if so, you shouldn't write the password in a batch file - this is an obvious security hole.)
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.