Jump to content

Problem with creation of user accounts!


Recommended Posts

When installing windows as a dual boot to a second HD two user accounts are created.

Bebbeadmin

and

HTPC

I don't know why the first one is created, and I cannot find any reference to it in any of my files.

This causes problems with RunOnceEx because the unwanted Bebbeadmin account takes precedence and I dont get admin privilegies when running the HTPC account.

It is not because it detects my other Windows installation. I've tried installing after unplugging that HD. :no:

These are my files:

useraccounts.cmd:

net user HTPC xxxxxxxx /add
net localgroup Administrators HTPC /add
net accounts /maxpwage:unlimited\
REGEDIT /S regtweaks.reg
EXIT

From regtweaks.reg:

Windows Registry Editor Version 5.00

;-------------AUTOLOGON---------------------------------------------------------
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="HTPC"
"DefaultPassword"="xxxxxxx"
"AutoAdminLogon"="1"
"ForceAutoLogon"="1"
"DontDisplayLastUserName"="0"

From Winnt.sif:

[GuiUnattended]
   AdminPassword="xxxxxxxxx"
   EncryptedAdminPassword=NO
   OEMSkipRegional=1
   TimeZone=105
   OemSkipWelcome=1
   ProfilesDir="D:\Documents and Settings\"

[UserData]
   FullName="Bebbe HTPC"
   OrgName="None"
   ComputerName=HTPC
   ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

Link to comment
Share on other sites


Do you mean that this is created by one of the apps that are on my cd?

I don't see how that can be since the apps are installed from RunOnceEx.cmd which is run AFTER the first logon to a user account.

I've searched through my regtweaks file and there are no references to either this accountname or this password. Do any of the drivers create admin accounts?

Anyway, this actually seems to be the default admin account that has been renamed! I can't remember if and how I set this to happen when I created my first unattended a long time ago, but I've used that as a foundation for all my unattended CDs and never had this problem before!

EDIT! :

I found the culprit. Somehow a file called Last Session.ini has made its way into the root folder of my CD! I don't know where it came from but it contains the unknown admin account. This must be a remnant from an earlier attemtp at using nLite or something like that!

Link to comment
Share on other sites

But I'm not installing the .Net Framework update. I'm manually updating post installation using the Windows Update feature. I'm using XP SP2 though.

I'm still having troubles with this. After deleting the Last Session.ini file I'm logged on as I'm supposed to, but the new account does not belong in the admin group which means that I'm not allowed to install my apps.

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