goodbyeplanet 0 Posted February 9, 2011 $UserName = 'autoitmaster' $Password = 'needhelp' Run(@ComSpec & " /c " & 'Net User ' & $username & " " & $password & " /add", "", @SW_HIDE) with the code above i can create as many local users as possible on my pc without a problem but how do i go about changing the attribute of each user as in for example, uncheck "user cannot change password", etc, etc. I can create a csv file but how do i specify the values for each user attribute in the csv file. thanks fo your help Share this post Link to post Share on other sites
hannes08 39 Posted February 9, 2011 Hi goodbyeplanet, I think you should use WMI for this. You can embed WMI code into Autoit. This site can show you how to do it: http://www.activexperts.com/activmonitor/windowsmanagement/adminscripts/usersgroups/localusers/ Regards, Hannes Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler] Share this post Link to post Share on other sites