Jump to content

Having prob. with creating user... HELP Please


Recommended Posts

Posted

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


Posted

You aren't using that plugin - you'd have <adduser ... /> and <addgroup ... /> if you were. Those are the normal app switches, perhaps ask in the application switches forum?

Posted

ok, will using that plugin work in the [setupParams] ? If so how do i set it up. I just need a user created and it be autologed into so my apps can install via xplode. Thanks

Posted

Sorry to post again, but i really need to get this working. Does anyone use the add user plugin in xplode? If so does it work in setparams and can you get it to autologin two times? HOW HOW thanks alot

Posted

you should have along side XPlode.exe some .xpd files I believe. Also in the xml file there are tags pertaining to the xpd (plugins) files that call them, and allowing you to use them when XPlode executes.

Posted

Found the problem. Was creating a user with the same computer name... Windows does not like that. Best regards. Look foward to 2.0 :) Keep up the great work wraith.

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