Re: Unable to create users programatically



You could try posting the actual script you are running, perhaps here, but more likely in a scripting, wmi, adsi, or developer newsgroup.


Byron Hynes Windows Server Microsoft Corporation

http://spaces.msn.com/members/byronphynes

I'm trying to automate account creation - either through a script or
eventually a .NET web application.

When I run this Technet code, I get no error message, but the users
are never created.  I've also tried a number of other scripts with no
luck.

http://www.microsoft.com/technet/scriptcenter/scripts/ad/users/manage/
usmgvb05.mspx

I've confirmed VBScript is binding to the objects (the domain and user
return True when I test using isObject), but it looks like the write
operation never works.

Any ideas?

Thanks!



.



Relevant Pages

  • Re: Installing a lot of printers...
    ... MS Windows 2003 Server Resource Kit from a script. ... and ports on local and remote computers. ... Add and delete a local or remote printer. ... Instrumentation scripts in Windows Server 2003, ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Problem with script to add printers ports, need help.
    ... >> first want to add the printer ports but I am running into a problem. ... >> Just for the heck of it I ran the template script from the script center and ... > and ports on local and remote computers. ... > Instrumentation scripts in Windows Server 2003, ...
    (microsoft.public.windows.server.scripting)
  • Re: Change the mode of the domain on Windows server 2003 sp1
    ... Joe Richards Microsoft MVP Windows Server Directory Services ... (The script is founded on the book "Active Directory ...
    (microsoft.public.windows.server.active_directory)
  • RE: Migration Batch File
    ... Migration newsgroup mainly focuses Windows Server side migration issues. ... I'd like to suggest you post script related questions to our MSDN queue. ... What I want to achieve is to create a batch file that will prepare a PC ... So the end result would be a backup of the user settings so a domain ...
    (microsoft.public.windows.server.migration)
  • Re: Change the mode of the domain on Windows server 2003 sp1
    ... Not sure, it looks like it should have, but without a network trace, no way to be sure because you can't get at the good error messages through script. ... Joe Richards Microsoft MVP Windows Server Directory Services ... Author of O'Reilly Active Directory Third Edition ...
    (microsoft.public.windows.server.active_directory)