Remotely rename computer description

Posted on 2009-02-13
Last Modified: 2012-05-06
I have several windows xp pro pc I would like to rename their computer description remotely with out RDP or login to the pc.
Can this be done?
Question by:ccdc12
    LVL 9

    Expert Comment

    Take a look here:

    How do I change the description/comments field of a computer remotely:


    Try this VB Script:
    Just open text editor, paste code and edit the part you need to, then save as .vbs
    Code is BETWEEN the equal signs

    set wshshell = createobject("")
          regkey = "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\srvcomment"
                    regval = "This is where your new description - comment goes"
          wshshell.regwrite regkey ,regval


    LVL 25

    Accepted Solution

    take a look here you can use script to do is as you only need to change a reg value
    LVL 1

    Author Comment

    I need a little more instruction to use the vbs script.

    I copied the script from the website and save in on my desktop as changedescription.vbs

    so what do I do next?
    if I double click on it nothing happens.


    LVL 9

    Expert Comment

    Are this Windows XP clients in a Windows Domain?

    If so, then you can deploy the script at logon:

    Creating logon scripts:

    Then use the script I mentioned earlier.
    LVL 1

    Author Comment

    I don't quiet follow how this works.

    I understand copy the text to a file and name it .vbs
    Then you say to add it the the login scripts.

    one the user has the login script and the login to their pc.
    once that is done how does the rename the compter description work?


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    iTunes uses a third party component from  GEAR Software ( for accessing the CD/DVD drives in Windows computers.  This component is registered as a filter driver for all CD/DVD drives.  Sometimes the iTunes installation or…
    Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now