DS Utilities & $username$ - TechRepublic
Question
October 22, 2006 at 01:14 PM
multiplexed

DS Utilities & $username$

by multiplexed . Updated 19 years, 8 months ago

I’m adding a user to 2003 server using

dsadd user “cn=masha,cn=users,dc=domain,dc=local” -samid masha -display masha -profile “\\server\profiles\$username$”

When I open up AD users & computers, the profile reads exactly “\\server\profiles\$username$”

In other words the $username$ never resolves into the user’s username. When the user logs off, the new roaming profile folder is named $username$ for the username, not masha.

If I user %username%, it correctly resolves, exept it resolves to the admin account.

It doesn’t matter if I use quotes or not.

My question is how do I get $username$ to resolve correctly to the user’s username with the DS Utilities.

This discussion is locked

All Comments