Ask the Expert

How do I add certain groups to a computer's local admin account before a user logs on?

I want every computer that has network access to add certain groups to a computer's local admin account before the user logs on. Do you know how this can be done?

Requires Free Membership to View

Yup. One solution is to use the Windows 2000 Server Resource Kit tool called Cusmgr.exe. I prefer to use WMI scripts, however, which give you an easy way to craft a tool that works exactly the way you want it to work. The TechNet Script Center Web site has hundreds of sample scripts and you'll find one there that's close enough to what you're trying to accomplish so that you can just tweak it a bit.

This was first published in October 2002

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: