Jump to content

Recommended Posts

Posted

i have set it to create a new user but when i got it installed and logged in i found out they were just a User not Admin

heres a copy of my useraccounts.cmd

net user EndUser password /add

net localgroup Administrators EndUser /add

net accounts /maxpwage:unlimited

course "EndUser" isnt the real users name


Posted

Seems correct to me, the only thing I can think of is the actual user name. Is there a space or special characters, maybe you should use quotes.

Posted

Localgroup Names are language dependant:

In French, we have to use:

net localgroup Administrateurs EndUser /add

Otherwise EndUser stays a user (Utilisateurs) by default.

Appart from this and the above suggestion about space, I can't see anything else.

Posted

this is for an English OS and the username was one word, no spaces.

its weird htough i went and put Administrators in "s and ran it on my computer and checked the user groups and it worked fine so out of curiosity i went and removed the quotes and ran it again and it still worked fine so now im confused why it didnt work int he unattended operation. however could it have had anything to do with i tested the iso in VMWare instead maybe

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...