Jump to content

Recommended Posts

Posted

I Use this command in my cmd file.

net user John asdf1234 /add
net localgroup Administrators John /add
net accounts /maxpwage:unlimited

It makes the account, but not as an administrator.

So what is wrong?


Posted

Like this? :}

net user John asdf1234 /add
net localgroup Administrators John /add
net accounts /maxpwage:unlimited
Net LocalGroup "Administrators" /Add  John

Posted (edited)

And what's the Norwegian name for "Administrators"?

For example, in Dutch, Administrators are "Beheerders." Try using that in you command file; and I mean the Norwegian name for Administrators, not "beheerders" ofcoarse.

If you don't know, open up:

Computer Management > Local Users and Groups > Groups

and see what the admin group is named.

Hope that helps,

'nuff

Edited by enuffsaid
Posted

Thank you so much:)

Maybe you can help me with one last thing.

I try to make wpi.cmd start at the end of my windows instal, but it just wont start. In my runonce.cmd I have this comand at the end, but it is no use:

--start %cdrom%\wpi.cmd

What comand do I have to use so make my wpi start when windows is don, but before I come to my log on screen.

Posted

Anyone know of a way to set "Password Never Expires" in the cmd file for the new account? And no, it's not the "/PASSWORDCHG:NO" command.

Posted
Anyone know of a way to set "Password Never Expires" in the cmd file for the new account? And no, it's not the "/PASSWORDCHG:NO" command.

I think this part is for "password never expires".

net accounts /maxpwage:unlimited

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...