Jump to content

Weird User account created


Recommended Posts

My unattended install is working with the execption of creating my user account. My account Sam is created but another account called Sam.laptop is also created. My customizations are going to the Sam.laptop account and not mine. Where did the Sam.laptop account come from? I hope this is enough info for someone to help me. Below are my scripts.

cmdlines.txt

[commands]

"useraccounts.cmd"

useraccounts.cmd

net user Sam "" /add

net localgroup Administrators Sam /add

net accounts /maxpwage:unlimited

REGEDIT /S autologon.reg

EXIT

autologon.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon]

"DefaultUserName"="Sam"

"DefaultPassword"=""

"AutoAdminLogon"="1"

winnt.sif

;SetupMgrTag

[Data]

AutoPartition=0

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=Yes

TargetPath=\WINDOWS

Repartition=No

UnattendSwitch="yes"

WaitForReboot="No"

OemPnPDriversPath="Drivers\000_Chipset;Drivers\001_CPU;Drivers\002_LAN;Drivers\003_Video;Drivers\004_Audio;Drivers\005_SMBus;Drivers\006_Wireless;Drivers\007_MediaReader;Drivers\008_Modem"

[GuiUnattended]

AdminPassword="*"

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone=20

OemSkipWelcome=1

[userData]

ProductKey=xxxx-xxxx-xxxx-xxxx-xxxx

FullName="Sam"

OrgName="None"

ComputerName=Laptop

[identification]

JoinWorkgroup=MSHOME

[Networking]

InstallDefaultComponents=Yes

[Components]

msmsgs=off

msnexplr=off

[shell]

DefaultStartPanelOff = Yes

DefaultThemesOff = Yes

[Display]

BitsPerPel = 32

Vrefresh = 60

Xresolution = 1280

Yresolution = 800

[GuiRunOnce]

%systemdrive%\install\batch.bat

Link to comment
Share on other sites


This behaviour occurs when you try to create an account with the same name as an existing account. For e.g if there is already an account with the name Sam - and if you are to add an other account with the same name, then windows appends the computer name to the account and it effectively becomes: Sam.laptop

Have you tried creating a user with any name other than Sam? :)

Link to comment
Share on other sites

Is this a quirk of using VMWare to test my builds? Maybe it's seeing the Sam account on my computer and adding the .laptop. I'm doing a clean installation with a formatted hard drive so there would not be another account available during the VMWare installation.

Link to comment
Share on other sites

Thanks to all who replied, the info helped my problem and my understanding how things work. I put a section in my batch.bat file to copy my favorites for my web browser. I removed the section and the problem went away. I'm going to find another way to accomplish this. I appreciate everyone's input.

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