?
Solved

DSadd  profile path

Posted on 2005-03-11
5
Medium Priority
?
453 Views
Last Modified: 2011-10-03
hi I am writting a long dass add comand for a batch file import all is well a part from  the user profile is created as i wrote it in the script ratherthan changing the variable to a username


use to be %username% in NT

what is it in 2003?

I thought it was %sAMAccountName%

but thats not working and cant findanything other than %sAMAccountName% as an option


%username% does work when typed in but not when its part of a script and i did have this working at one point and preety sure it started %sam

ta
0
Comment
Question by:mhamer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 18

Accepted Solution

by:
John Gates, CISSP earned 2000 total points
ID: 13519042
$username$ is the correct format for dsadd


Hope this helps!
-D-
0
 
LVL 18

Expert Comment

by:John Gates, CISSP
ID: 13519057
0
 
LVL 18

Expert Comment

by:John Gates, CISSP
ID: 13622745
Do you need anything further?

-D-
0

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

764 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