Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating users localy using VBscript

Status
Not open for further replies.

khazrajy

Technical User
Feb 12, 2003
2
US
As a new user of VBscript, I'm trying to figure out how to create user accounts locally on w2k,NT and XP systems.

Regards
 
ok. u have to use adsi to create the accounts
and their parameters

then use rmtshare to remotely share a folder
and use xcacls to set remote permissions.

In mine i got a random password generator as well. and it takes input from a csv file and outputs username/password to another.

ADSI
(works for nt)

rmtshare

xcacls

===============
Security Forums
 
Thanks browolf for the reply, but I'm not sure, I need to create user accounts localy. On the same workstations I don't need or have in particular an Active Directroy. It is for testing purpose.

Thanks
 
hmm i see your point.

but

"Adding a Domain User to a local Group with ADSI"

the code on this page
Set GroupObj = GetObject("WinNT://" & ComputerName & "/" & GroupString)

tends to indicate you can talk to local computers instead of domains if necessary.
===============
Security Forums
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top