Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
chon_

Create a User and set it to autologon

Recommended Posts

I need to create a new user named Propietario with WSIM that is a member of the Administrators group and set it to autologon (in order to hide te Adminstrator account) after I installed my apps in Pass 6 Audit User.

I've been messing around with it but I can`t get it to work :(

What can I do??? :blink:

The way I did it in XP was running the following CMD file:

net user Propietario /add
net localgroup Administradores Propietario /add
net accounts /maxpwage:unlimited
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserName" /d "Propietario" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultPassword" /d "" /f
rem reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /d "1" /f

This worked OK in XP, but seems like it doesn't work in vista (I've been running this cmd file in Pass 6 too).

Thanks in advance

Share this post


Link to post
Share on other sites

have you tried running your command file in a working install of windows to see if it works correctly at all under vista?

Otherwise, this is something you would need to do in your autounattend file.

Share this post


Link to post
Share on other sites

add the user information in the unattended file...

it is not valid for pass 6.. only pass 5 and 7

e.g

<settings pass="auditSystem">

<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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>UABhAHMAcwB3AG8AcgBkAFAAYQBzAHMAdwBvAHIAZAA=</Value>

<PlainText>false</PlainText>

</Password>

<Name>Username</Name>

<Group>Administrators</Group>

<DisplayName>Username</DisplayName>

<Description>Description</Description>

</LocalAccount>

</LocalAccounts>

</UserAccounts>

</component>

</settings>

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...