Syncronize the local comments of computers with the description stored in active directory.
This powershell script helps you to set the comment of the computer to the description you made in active directory.
If you open then network neighbourhood in the Windows XP explorer the program lists you the comments
of the computers in the network.
Who ever had the strange idea to show the comment in both columns (name and comments) he seems to have never
though about administrators of the domain who use Active Directory to manage their computers. In Active
Directory you can give every computer a description. But this description is not want you see in the
Explorer. The comment shown there is a text stored in the lokal registry. I have never found a tweak
for the Windows XP Explorer to leave away the comment in the name column (except installing Vista), so
at least I wanted to see the description I have made in AD.
The solution is a script that checks the comments of the computers and compares them with the descriptions
in AD. If it finds any difference it just updates the registry and the next time the computer reboots
the explorer shows me my description.
This script is written for the
power shell.
If you are using Windows XP or Windows 2003 you have to download and install the shell. Windows Vista installs it
by default and for Windows 2008 it is a selectable feature.
Note: By default you computer does not allow to execute unsigned powershell scripts.
If you want to use it follow the
instructions
in the Technet script center.