‎05-05-2008 11:49 PM
cmd.exe cscript \\SERVER\SHARE\change_comp_desc.vbs {computer}
Set WshNetwork = WScript.CreateObject("WScript.Network")
strComputer = Wscript.Arguments.Item(0)
strDescription = Inputbox("Enter Description:")
Set Obj= GetObject("winmgmts:\\" & strComputer).InstancesOf("Win32_OperatingSystem")
For Each x In Obj
x.Description = strDescription
x.Put_
Next
WScript.Quit
‎11-25-2009 11:39 AM
‎12-21-2011 04:09 PM
ifm wrote:
I want to automatically set the local computer description to the same description as is used in the AD, is this possible?
‎03-23-2009 01:20 PM
‎12-15-2008 04:04 PM
‎11-14-2008 05:37 PM
‎10-27-2008 09:41 PM
‎10-24-2008 12:52 AM
‎10-22-2008 07:40 AM
Nifty tool, Could you be kind enough to make a script that changes the computer name ? 🙂
‎10-20-2008 01:53 PM
‎08-28-2008 05:19 PM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now