/build/static/layout/Breadcrumb_cap_w.png

Change computer description name.

Hi All,

Can someone teach me how to change computer name using K1000 scripting?

Thank you in advanced!


0 Comments   [ + ] Show comments

Answers (3)

Posted by: jknox 11 years ago
Red Belt
4

Are you doing this for one computer or many? What are you naming the computers?

If you want to change it to the serial number, you could use something like this: http://stackoverflow.com/questions/1683300/rename-pc-to-serial-number

To create a kscript using .vbs: http://www.kace.com/support/resources/kb/article/how-to-call-a-visual-basic-script

Is this after imaging?  If you have a K2000, you would probably want to use WSname: http://www.kace.com/support/resources/kb/article/How-to-rename-a-computer-and-join-it-to-a-Windows-domain-Image-Deployment?action=artikel&cat=54&id=763&artlang=en

Posted by: SMal.tmcc 11 years ago
Red Belt
3

Your title states description name.  If it is the name you want to change JKnox has given you some sources.  If it is the description you want to change you can do that with "enforce registry settings" scripts

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters]
"srvcomment"="Computer Description"


Comments:
  • Oh, oops. I missed that. Good catch. - jknox 11 years ago
    • Not sure on which one they are trying to change. We covered both this way. - SMal.tmcc 11 years ago
Posted by: TimHR 7 years ago
Second Degree Blue Belt
0
This is the way we change the Computer descriptions.
From the K1000  version 7.0.121306  and was working with the older versions also.

Use this to rename/add  the Computer Description name.
You will need to DELETE the .bat  where it is under Dependency
Then
Change the Computer Description  then SAVE   *****then SAVE*** 

kfXjIx.png

0PAa2u.png
CVYvvq.png
9zZQZQ.png
The batch file is hard to read:
@ECHO OFF
REG ADD "HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters" /v srvcomment /t REG_SZ /d "UHS RM W1501 - 00" /f

Change the words or numbers between the parenthesis "ONLY"  they are highlighted in yellow. 
 
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