scooby_doo Posted September 26, 2004 Share Posted September 26, 2004 Hi,For some strange reason, if I try to create an account name: Kai using these commands:net user Kai password /addnet localgroup Administrators Kai /addnet accounts /maxpwage:unlimitedin a batch file ("useraccounts.cmd"), it will fail on the second command, saying, "System error 1317 has occured. The specified user does not exist." However, it does create an account for me - it is only a Limited account type, which means that the batch file used for installing stuff at Windows first logon will fail since I won't be logged in as an Administrator. There is nothing wrong with the commands - using, it seems just about any other name is ok and successful - just not my own name!! It's nothing to do with a minimum length, as I've tried just 'K' and 'Ka' and it worked ok.It seemed to work ok when I was using Windows XP SP1, but in SP2 it's all gone horribly wrong. So, if anyone here can try out a batch file of the three commands listed above in your Windows XP SP2 - you can jsut create a batch file and then just run it from within Windows, can you report back to me if it works and if anyone has anything to suggest what might be going wrong will be gratefully received.Thanks,Kai Link to comment Share on other sites More sharing options...
mazin Posted September 26, 2004 Share Posted September 26, 2004 Your name is on the crackers list that is banned by Microsoft?! Kidding. Now, it's time for Microsoft to force peolpe change their names if they want to use MS products. Come on, Bill Gates! Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted September 27, 2004 Share Posted September 27, 2004 probably the username must be longer than 3 characters and also check than the name of your computer it's different than your "%username%" Link to comment Share on other sites More sharing options...
prathapml Posted September 27, 2004 Share Posted September 27, 2004 Hey there....What seems to be happening, is that it might be creating a user called "Kai password" instead of "Kai".Try just adding user alone, without specifying password, and then specify password in the next line net user Kai your_password Link to comment Share on other sites More sharing options...
big_gie Posted September 27, 2004 Share Posted September 27, 2004 Don't forget that "Administrator" is for english windows. I have french and it is "Administrateur" so check with your own windows language. Link to comment Share on other sites More sharing options...
scooby_doo Posted September 27, 2004 Author Share Posted September 27, 2004 Hi,The solution to the problem was that I had decided to name my computer Kai as well as trying to create a user account called Kai too. Once I had changed the computer name in the winnt.sif file (from Kai to something else), everything worked fine. Thank you, SiMoNsAyS, for pointing this out. Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted September 27, 2004 Share Posted September 27, 2004 @scooby_doo, no thanks dude. i had the same issue and some1 help me before, so thanks to that guy Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now