Solved

Script to change workstation description in windows 2003 AD

Posted on 2004-09-19
2
226 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

I have never ceased to be amazed how many problems you can encounter on a fresh install of a Windows operating system.  This is certainly case in point& Unable to complete ANY MSI installation.  This means Windows Updates are failing and I can't …
by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now