I have run the script
for /F "skip=1 tokens=1 delims=," %i in (file_name.csv) do net user %i
/times:all
Before time was set to 6am to 8pm.
Now change to "ALL" logon hours . Names were in the csv file.
For some users i had faced amazing problem. I have selected ALL for times.
However after running the script some users were unable to logon despite the
fact that time is set as "ALL".
After reset the password problem solved. But why problem came with password
where i didn't do any thing with password. I run simple command as above?
Please assist