Ask the Expert

How can I modify the path of all my users' home directory within AD using a vbs logon script?

We are migrating our old file server to a new file server. How can I modify the path of all my users' home directory within Active Directory using a vbs logon script? Our DC is Windows Server 2000.

Requires Free Membership to View

Check out the source code from Robbie Allen's "Active Directory Cookbook," located here. Recipe 6.4 shows you how to modify a property value for multiple users. Essentially, you select a container such as an OU or a domain and then use a FOR loop to loop through each user object in that container.

This was first published in August 2005

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: