Jump to content

Having prob. with creating user... HELP Please


hevnbnd

Recommended Posts

Ok this has worked for a long time, but it does not now not sure what i did...

I am calling xplode in my winnt.sif file via [setupParams] It works as it creates my user autologs me on, but my user is not an adminstrator. Here is what my user.xml looks like.

<items>

<item display='Creating Users'>

<execute display='Creating Notebook' program='net' arguments='user "Notebook" /add' hide='true' />

<execute display='Configuring Notebook' program='net' arguments='localgroup Administrators "Notebook" /add' hide='true' />

<execute display="Configuring autologon" program='#sourcedrive#\$OEM$\$1\install\xplode\autologon.cmd' arguments='"Notebook" ""' />

</item>

</items>

Here is what my autologon.cmd looks like:

SET KEY="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"

REG ADD %KEY% /V DefaultUserName /D %1 /f

REG ADD %KEY% /V DefaultPassword /D %2 /f

REG ADD %KEY% /V AutoAdminLogon /D "1" /f

NET ACCOUNTS /MAXPWAGE:UNLIMITED

What am i doing wrong... This worked for a long time and i have not messed with it in a while and now it does not work. I am usng this plugin XPlodeAdduserPlugin2.xpd2

Any help would be great thanks. B

XPlode_user.log

Link to comment
Share on other sites


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