Local Users



  • Hi Guys is there a way to add local users to the device so once imaged it also creates a local user as well

    As I would like to use this to push out 400 plus laptops to users been high school users it would be of great benefit to me if there is some way of doing this

    As with deploy Studio with that You can tell it to create local users to each device

    Brad



  • @smcadm you have to create the snapin by yourself in the webif. Check the snapin section.



  • thanks for the info

    yes the systems are Windows 10
    I was only using the deploy studio as an example

    Fog version is
    Running Version 1.4.4
    SVN Revision: 6077

    also is the snapin available now if so where can I find it

    Brad



  • Hi,

    you can either do this by a snapin or within an unattend.xml (answer file)

    answer file example (it’s only the create user part, this is not a complete answer file):

    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <UserAccounts>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value>password</Value>
    <PlainText>true</PlainText>
    </Password>
    <Description></Description>
    <DisplayName>displayname</DisplayName>
    <Group>Administrators</Group>
    <Name>username</Name>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    </component>
    

    FYI, this example is using plaintext password, you should encrypt the password or get sure that the answer file is been deleted after deployed. Safest decission would be to encrypt it.

    snapin example (batch) please look at this thread, all has been written there:
    https://forums.fogproject.org/topic/9993/add-new-standard-user-on-windows-10

    If using a sanpin for this you can also use powershell instead of batch, check the link above.

    Regards X23


  • Developer

    @smcadm You’re not saying what system you are on. From what you say (deploy studio) I expect you mean Mac OS X. Is that correct? As well I ask for your FOG version as this is always valuable information on debugging things and helping out people.

    If you only need one particular user on all those 400 laptops you could just create the user account before capturing. It will be on the deployed system as well.

    But if you need a different accounts - be it a couple group accounts or 400 individual ones - I’d suggest looking into connecting the clients to a directory server (LDAP).


Log in to reply
 

427
Online

39.3k
Users

11.0k
Topics

104.4k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.