• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 458
  • Last Modified:

DSadd profile path

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
mhamer
Asked:
mhamer
  • 3
1 Solution
 
John Gates, CISSPSecurity ProfessionalCommented:
$username$ is the correct format for dsadd


Hope this helps!
-D-
0
 
John Gates, CISSPSecurity ProfessionalCommented:
0
 
John Gates, CISSPSecurity ProfessionalCommented:
Do you need anything further?

-D-
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now