Solved

Script to change workstation description in windows 2003 AD

Posted on 2004-09-19
2
230 Views
Last Modified: 2012-06-27
Hi.

I am looking for a script to push out from my Active Directory (Windows 2003 Server) to all workstations that will change the computer description (NOT computer name) to  <username workstation>.

Thanks
0
Comment
Question by:netman70
2 Comments
 
LVL 104

Accepted Solution

by:
Sembee earned 500 total points
ID: 12095461
I would do it in the login script so that the information is "live" - ie shows the person who is currently logged in to the machine.

net config server /srvcomment:%username%

Put an exclusion in the script for the account you use to login to the servers so that the description isn't changed for them.

Simon.
0
 

Author Comment

by:netman70
ID: 12126367
Thanks
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…

685 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