Change the local computer description to the computer description in Active Directory
Currently all our computers ( about 120) have blank computer descriptions on the actual machines where as in AD they have the name of the primary user. What i would like to do is somehow get the computer descriptions from AD to be copied onto the local machines.
Is there an easy way of doing thins or will i need to create a script(consider i have very very basic skills in scripting). Any help would be greatly appreciated .
Nick
September 10th, 2010 2:18pm
Hi,
yes, you need to create a script but here
http://community.spiceworks.com/topic/96010
you can find a script that you can easily modify.
hthEdoardo Benussi - Microsoft MVP
Management Infrastructure - Systems Administration
https://mvp.support.microsoft.com/Profile/Benussi
Windows Server Italian Forum Moderator
edo[at]mvps[dot]org
Free Windows Admin Tool Kit Click here and download it now
September 10th, 2010 2:46pm
You can from the command line
net config server /srvcomment:"string"
(Setting this from the command line may turn off auto tuning for the server service.)
Server service configuration and tuning
http://support.microsoft.com/kb/128167
So you may want your script to regwrite a Reg_Sz a string 'srvcomment' into
HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters
How Can I Change the Description for a Computer?
http://blogs.technet.com/b/heyscriptingguy/archive/2005/12/07/how-can-i-change-the-description-for-a-computer.aspx
Regards, Dave Patrick .... Microsoft Certified Professional -Microsoft MVP [Windows]
September 10th, 2010 4:39pm