/build/static/layout/Breadcrumb_cap_w.png

Name Rules

I have created a naming rule with this as my command line:

wsname.exe /N:OKC-$chassis-$serialnum[9] /rcid /user:*******\******* /pass:******* /logfile:c:\name.log

When this job executes after a scripted of install Windows XP SP3 it fails with the following error:

9/16/2009 2:04:39 PM : Call to Rename Computer in Domain returned error : 87
9/16/2009 2:04:39 PM : Refer to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netmgmt/netmgmt/network_management_error_codes.asp
9/16/2009 2:04:39 PM : Rename Failed

I checked the website that is referenced and there is no error 87 listed so that helped none. I was able to download wsname.exe from the link provided in the KBOX, and if I run the same command from a prompt it works just fine. I am unable to get back to the website referenced in the KBOX so I couldn't check there for more documentation. Anyone have any ideas?

0 Comments   [ + ] Show comments

Answers (4)

Posted by: jkatkace 15 years ago
Purple Belt
0
If it's running successfully from the prompt, and unsuccessfully from another mechanism, the answer is usually "escaping metacharacters". The characters "\",
"-", etc. are sometimes interpreted by a command processor prior to being executed. Try doubling the "\" in your domain user spec.
Posted by: tcasey 15 years ago
Senior Yellow Belt
0
It does appear that it is an issue with the passing of the user-name, however, doubling the '\' character didn't work. I was able to get it to work though using the user-name format of user@domain.

thanks for the idea though.
Posted by: sdickenson 15 years ago
Senior Yellow Belt
0
The proper escape character for DOS is the caret (^), not the backslash.
Posted by: jkatkace 15 years ago
Purple Belt
0
Ah...good to know! What characters need to be escaped?

tcasey, have you tried caret?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ