Net user command-line tool with the passwordreq yes option broker
The tech resource your business needs. Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access. One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
View April's Free Course. Sign up today x. Question priority can be upgraded with a premium feature. When I log out and try to log in as user1, I am not prompted for a password. What am I not understanding about this command? This box is an xp pro sp3 workstation not in a domain. Windows Server Windows Server 9. Dragon-it, The account does not have a password.
I would think that if an account doesn't have a password, and then you run this command, you would be forced to create one. But that is not what is happening. I can simply log in as user1 without a net user command-line tool with the passwordreq yes option broker, even after issuing this command.
Not sure what the point of the command is if you can just log on without a password. I am just trying to understand what this command actually does.
Well as I see it You can set the password to be changed on the next logon with something like this in VBScript: Hi, To add the password for the local account its very simple. Any questions, please let me know. Hi fyrfyter, Hope your workstation is in work group, if it is Domain, then the domain policy wont allow the system to craete the blank password locally I am not sure why the passwordreq switch i not workin in net user command.
Edit the group policy in the system: To open group policy: You can change the registry net user command-line tool with the passwordreq yes option broker to add the password mandatory. Setting up the Minimum Password Length: You can set the minimum password length in Windows XP also.
Navigate to the following registry key: But the password length required is So the empty password is seen as rerquired. Prem what you say there is what i already said and what is in the MS article I linked to Steve. Prem, Steve, thank you, these are all good work arounds. How ever, I am not looking for a work around.
I am simply trying to understand why this command is not working as expected. Admittedly, this problem is one of perception mine and not a technical problem with the machine. Prem, I stated in the initial question that this computer is not in a domain. And Steve is correct that he already pointed out a link to changing the local group policy. Steve, you were correct in assuming that the MinPwdLen was set to 0.
Setting that to require a password of any length say 8 for example and forcing user1 to change his password requires user1 to choose a password of at least 8 characters, regardless of whether the passwordreq flag is set to yes or no. Nor can user1 simply remove his password from the user account applet while net user command-line tool with the passwordreq yes option broker passwordreq flag is set to no. So the question remains; what exactly is this command for? It doesn't seem to have an effect on whether a user account must use a password or not.
Is it just an obsolete appendage from days of old? Steve Knight Steve Knight earned total points. Well frankly I don't know.
I've never used it. I suspect it is a hang over from NT days, possibly even Win9x, though then you could just cancel the login box anyway Even MS current documentation says it makes the user require a password for current OS's The MinPwdLen being 0 is default for desktop OS and is the normal way of ensuring a password is set, or more commonly of course in a business environment a domain and therefore the domain policy sets the requirements.
So sorry I can't give you a direct answer. It seems MS don't really know either. Actually that last document points to net accounts command for setting password length actually too Thanks Steve, I am going to leave this question open for a few days to see if anybody else wants to chime in. Author Closing Comment by: Awarding points net user command-line tool with the passwordreq yes option broker while it was not an answer, it was an honest effort. Well thanks to you too for an interesting question!
Question has a verified solution. Sign up with Google. Sign up with LinkedIn. Sign up with Facebook. I would like to receive news, updates and offers from Experts Exchange. Learn about cloud computing and its benefits for small business owners.
Nuance's PaperPort may display this error message: We recommend disabling Compatibility Mode net user command-line tool with the passwordreq yes option broker the PaprPort. The reports which are created by this tool are helpful to analyze and understand PST …. Course of the Month 21 days, 23 hours left to enroll.