We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Remotely rename computer description

ccdc12
ccdc12 asked
on
Medium Priority
1,180 Views
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?
Comment
Watch Question

Commented:
Take a look here:

How do I change the description/comments field of a computer remotely:
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/SBS_Small_Business_Server/Q_22794585.html#a19792733

"...

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("wscript.shell")
      regkey = "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\srvcomment"
                regval = "This is where your new description - comment goes"
      wshshell.regwrite regkey ,regval
SET WSHSHELL = NOTHING

===============================

..."
Top Expert 2008
Commented:
take a look here you can use script to do is as you only need to change a reg value

http://www.microsoft.com/technet/scriptcenter/resources/qanda/dec05/hey1207.mspx

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
slam69,
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.

Thanks

Commented:
Are this Windows XP clients in a Windows Domain?

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

Creating logon scripts:
http://technet.microsoft.com/en-us/library/cc758918.aspx

Then use the script I mentioned earlier.

Author

Commented:
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?



Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.