/build/static/layout/Breadcrumb_cap_w.png

Get/Set Computer Name

I have been wrestling with this for months, trying to get this to work in our environment so I seriously need help!

I uploaded the latest version of GetComputerName_64.exe and my parameter is as follows:

net use g: "\\server\share\Kace\Get_Set_Computer_Name" /user:hawaiicounty\username password g: getcomputername_x64.exe /dialog

It is the first pre-install task in my scripted installation.  However, I get "the system cannot find the file specified".  When I run the parameters in the command line window, it works fine.

Can someone please, please, tell me what I am doing wrong?  Thanks!

0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: chucksteel 9 years ago
Red Belt
0
It looks like you're trying to run it as a script when you should be using it as an application. Upload the executable to the K2000 as an application and use the following for the parameter:
getcomputername_x64.exe /dialog


Comments:
  • I did create an application and did use the getcomputername_x64.exe /dialog parameter but got the same error message. - lnovak 9 years ago
Posted by: lnovak 9 years ago
Third Degree Blue Belt
0

Top Answer

Hi chucksteel,

You gave me a brilliant idea and I recreated my getcomputername as a BAT file and it worked!  Thanks!


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