Jump to content

PROBLEM: Adding user and moving to a Group


thehalon

Recommended Posts

Hi there! Tried almost everything... I hope you can help me.

<XPlode>

<config>

  <hidewindow>Windows Update</hidewindow>

  <hidewindow>CMD.EXe</hidewindow>

  <show total='6' after='2' subcount='true' />

  <font face='Tahoma' antialias='false' small='8' large='12' />

  <window width='440' position='8' fixmain='0' />

  <windowmode mode='standalone' />

  <colours>

<header back='#003399' fore='#FFFFFF' image='%XPLODE%\images\head.png' />

<footer back='#003399' fore='#FFFFFF' image='%XPLODE%\images\foot.png' />

<progress border='#FFFFFF' back='#00000000' fore='#FFFFFFAA' fore2='#00000033' />

<main back='#FF00FF' fore='#FFFFFF' current='#FFFF00' description='#FFFFFF' image='%XPLODE%\images\main.png' overlay='#FFFFFF22' />

  </colours>

  <strings>

<title>.tha|setup - 4/4 - Benutzer werden erstellt</title>

<complete>.tha|</complete>

<adduser>Adding user #1#</adduser>

<addusertogroup>Adding user #1# to group #2#</addusertogroup>

<addgroup>Adding group #1#</addgroup>   

<copy>Copying #1# (#2#/#3# - #4#)</copy>

<move>Moving #1# (#2#/#3# - #4#)</move>

<delete>Deleting #1# (#3#)</delete>

<shortcut>Adding shortcut: #1#</shortcut>

  </strings>

</config>

<items>

  <item display='Adding users and groups...'>

<adduser

    username='thehalon'

    password='****'

    groups='Administrators "tha crew"'

    fullname='theha|on'

    comment="When the Black Dog bites, he don't let go!"

/>

  </item>

  <item display='Registry Tweaks'>

<registry display='Tweaks being installed...' method='write'>

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]  "DefaultUserName"="thehalon"

  "DefaultPassword"="****"

  "AutoAdminLogon"="1"

</registry>

  </item>

</items>

</XPlode>

I cannot post my LOG file. Cause my VMWare isnt working correctly. But Logfile says 'User successfully added.'

After the Windows Installation (I run XPlode with RunOnceEx.cmd) and a reboot. My account (thehalon) is only member of the USERS group.

thank you

Link to comment
Share on other sites


thehalon,

Don't know if you've solved this one yet... basically you need to add the group first, then the user to the group.

<item display='Adding users and groups...'>
<addgroup groupname='tha crew' comment="When the Black Dog bites, he don't let go!" />
<adduser username='thehalon' password='****' groups='Administrators "tha crew"' />
</item>

Note that when adding a group only use ' and not " or '". Use " for adding users to groups - (groups='Administrators "tha crew"') when you have a space between the group name - tha crew - for example.

tbs

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