Question: I would like to create a script that will be ran locally on a server. The script will create a user account with password. Then set the password not to Expire.
I am having problem with how to set the password not to expire. Any ideas?
strComputer = "."
Set colAccounts = GetObject("WinNT://" & strComputer & ",computer")
Set objUser = colAccounts.Create("user", "adminguy")
objUser.SetPassword "password123"
objUser.SetInfo
Joseph L. Poandl
MCSE 2003
If your company is in need of experts to examine technical problems/solutions, please check out (Sales@njcomputernetworks.com)
I am having problem with how to set the password not to expire. Any ideas?
strComputer = "."
Set colAccounts = GetObject("WinNT://" & strComputer & ",computer")
Set objUser = colAccounts.Create("user", "adminguy")
objUser.SetPassword "password123"
objUser.SetInfo
Joseph L. Poandl
MCSE 2003
If your company is in need of experts to examine technical problems/solutions, please check out (Sales@njcomputernetworks.com)