Link to home
Create AccountLog in
Avatar of gair shaw
gair shawFlag for United States of America

asked on

what is correct syntac for netdom renamecomputer

this is what I typed, looking in help it appears to be correct.
netdom renamecomputer kpc309 /newname:kal-lo-wrk-009 /userd:gary /password:thisisit /reboot:10
also tried
netdom renamecomputer kpc309.spock.com /newname:kal-lo-wrk-009.spock.com /userd:gary /password:thisisit /reboot:10
also tried
netdom renamecomputer kpc309.spock.com /newname:kal-lo-wrk-009.spock.com /userd:spock\gary /password:thisisit /reboot:10
everything points me to netdom help, which looks exactly like what I typed
Avatar of Emmanuel Adebayo
Emmanuel Adebayo
Flag of United Kingdom of Great Britain and Northern Ireland image

If you already log on with account that have administrative priviledge you don't need to include the password

For example To rename computer Server to Server1, type the following at the command prompt:

netdom renamecomputer Server /newname:Server1.example.com /userd:<administrator account>
Is this computer part of a domain?

You can replace current name with %COMPUTERNAME%
ASKER CERTIFIED SOLUTION
Avatar of ktaczala
ktaczala
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
P.S. your command you are using is missing a 'd' at the end of 'password'  should be 'passwordd'