Hi All,

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

Thank you in advanced!

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

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

Answered 05/28/2013 by: jknox
Red Belt

Please log in to comment

Answers

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"

Answered 05/28/2013 by: SMal.tmcc
Red Belt

  • Oh, oops. I missed that. Good catch.
    • Not sure on which one they are trying to change. We covered both this way.
Please log in to comment
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. 
Answered 03/21/2017 by: TimHR
Orange Senior Belt

Please log in to comment
Answer this question or Comment on this question for clarity