/build/static/layout/Breadcrumb_cap_w.png

Changing Computer description via K1000

Hi 

anyone tried to change the computer description via K1000?

1 Comment   [ + ] Show comment
  • I don't think you can do it through the GUI but you can send a script to each computer to set the description but you would have to do it for every computer to make it unique. Probably not much less tedious than remoting to each computer and setting it.

    When we set ours up, we made multiple changes with a script but it was mostly to create consistency with our remote app integration. We wrote a Q&A Script that we used with our remote access software which could access the command prompt and walked through the variables we needed.

    You could use the below to set the description from the appliance without having to login as an admin on each PC. But again, you will have to do this for each computer and that will be tedious.

    net config server /srvcomment:"%computerdesc%" - mdetrick 7 years ago

Answers (1)

Posted by: DaveMT 7 years ago
4th Degree Black Belt
1

We have two scripts that run to do this.  One access the Active Directory PC and replaces the PC Description with the Description on the AD Object.  For those PCs we have that are not Joined. We have a script that does this.  We have to be sure to assign the script to ONLY the PC we want to change and update the script inside it as well each time.   The script we created runs Launch a Program on task 1.

Directory is: %WINDIR%\System32

File: cmd.exe 

Both Wait for completion and visible are unchecked.

parameters: /C net config server /srvcomment:"NEW PC DESCRIPTION"


This script runs as Local System.  Also, note that the PC in KACE will not update until you preform and Inventory after the Script has run.




For the AD Matching script, we use an AD Service Account we created with rights to AD to pull this information.

We zipped the script into a file and attached it to the script and Task 1 calls for it to unzip the script to a local folder (ie. C:\TempScripts)

then for the second part of the task, we Launch a Program.

Directory: %WINDIR%\System32

File: cscript.exe

Leave both boxes unchecked

Parameters: C:\TempScripts\MatchPCDescToADDesc.vbs


If you wish for a copy of the script. let me know and I can post it or email a text file to you with it.  You will need to change it to match your areas parameters/settings though.

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