MSFN Forum: oobeinfo .ini user creation - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

oobeinfo .ini user creation Rate Topic: -----

#1 User is offline   suttle 

  • Group: Members
  • Posts: 7
  • Joined: 30-November 05

Posted 03 December 2005 - 04:54 AM

This unattended process seems to be a very delicate one. A thing that is working at one point stops working the next.

At one point I managed to create a user using this oobeinfo.ini (in the $OEM$\$$\system32\oobe directory).
[UserInfo]
Identity000="Martin"


Now it seems like I've changed something that prevents user creation from happening since I just end up with the Administrator user.

In my winnt.sif I have the following
[GuiUnattended]
EncryptedAdminPassword = No
AdminPassword = "secret"
TimeZone = 255
OEMSkipRegional = 1
OemSkipWelcome = 1
AutoLogon = Yes
AutoLogonCount = 1


I'm using autologin here so the RunOnceEx will kick off and after that is done and the PC reboots I expect to end up on the login screen where there should be a user Martin, but there's just the Administrator.

I thought I had it down pat this time, but noooo :no: Do I have to use the net user command instead? :blink:


#2 User is offline   ender341 

  • Member
  • PipPip
  • Group: Members
  • Posts: 158
  • Joined: 18-January 05

Posted 03 December 2005 - 05:33 PM

i find it usually works better to just use net user, while oobe.ini usually works for me, its a guessing game as to how ofter, i think it was mainly designed for sysprep installs (but don't quote me on that :) )

#3 User is offline   tinnef 

  • Junior
  • Pip
  • Group: Members
  • Posts: 57
  • Joined: 19-October 03

Posted 03 December 2005 - 06:02 PM

I agree. I used oobeinfo as well, but a ton of things can happen to cause oobe not run properly, so the users don't get created. just the net command, it works a whole lot better.

#4 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 03 December 2005 - 08:13 PM

You need:
[Unattended]
OEMPreInstall = Yes


Oobeinfo.ini has never failed me yet in all the installs that I have done.

#5 User is offline   Synapse 

  • *Previously Bi0haZarD*
  • PipPipPipPipPip
  • Group: Members
  • Posts: 980
  • Joined: 29-July 04

Posted 03 December 2005 - 08:21 PM

MHz is right, check to make sure you have OEMPreInstall in your winnt.sif..

I've used Oobeinfo as my primary user creation.. has never failed me.

#6 User is offline   suttle 

  • Group: Members
  • Posts: 7
  • Joined: 30-November 05

Posted 04 December 2005 - 05:38 PM

Well I don't get it. I have

[Unattended]
UnattendMode = DefaultHide (I've also used FullUnattended)
UnattendSwitch = yes
OemPreinstall = Yes
...

Still no user "Martin" created. And if I look in the Documents and Settings folder it looks weird. These are the folders that show up.
Administrator
Administrator.RAPTOR (the computer's name is RAPTOR)
All Users
All Users.WINDOWS
Default User
Default User.WINDOWS
LocalService
LocalService.NT AUTHORITY
NetworkService
NetworkService.NT AUTHORITY


On my manually installed windows it looks like
All Users
Default User
LocalService
Martin
NetorkService


The oobeinfo.ini file gets copied to C:\WINDOWS\system32\oobe\oobeinfo.ini and the content is
[UserInfo]
Identity000="Martin"
[Options] (this line was added by windows)
IntroOnly=1 (this line was added by windows)


This is getting annoying.

#7 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 04 December 2005 - 08:33 PM

When you create only 1 user with Oobeinfo.ini, that user has autologon set and has Admin priviledges. Because you are using Winnt.sif to autologon into the main Administrator account first, you are possibly not even entering the Oobe part of setup, so you get no created accounts.
RunOnceEx runs fine in an Oobeinfo.ini created account so I do not understand the AutoLogon to main Admin account ? Most people will have no need to use AutoLogon to main Admin account. If you need AutoLogon to main Admin account 1st, then I would suggest using a script and using the Net command to setup your users, groups, priviledges, passwords etc. AutoLogon to main Admin account 1st would be a need if you were setting up a corporate network environment or some other heavily involved setup.

This post has been edited by MHz: 04 December 2005 - 08:34 PM


#8 User is offline   suttle 

  • Group: Members
  • Posts: 7
  • Joined: 30-November 05

Posted 05 December 2005 - 01:29 AM

Well your reply about conflicting Administrator autologin and oobe creation seemed like it could be an explanation, but unfortunatately it's not that.

I removed AutoLogon and my GuiUnattended now looks like
[GuiUnattended]
DetachedProgram="RunFirst.cmd"
EncryptedAdminPassword = No
AdminPassword = "secret"
TimeZone = 255
OEMSkipRegional = 1
OemSkipWelcome = 1

My oobeinfo.ini gets copied to C:\Windows\system32\oobe\oobeinfo.ini, but no user is created and I have to enter the Admin password go get RunOnceEx to start.

#9 User is offline   tommy_vercetti 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 01-October 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 January 2006 - 05:35 AM

View Postelajua, on Jan 3 2006, 04:54 AM, said:

i was too tired to keep trying and trying to make this oobeinfo to create only one account for me and i had the same problem every time: i autologon using the Adminitrator account and "ajua" account never got created.

i double-checked the winnt.sif, the oobeinfo.ini and all the files but nothing seemed wrong. im now tryng the net user method. hoe it works so i can finish my long work in my unattended dvd.

if someone has an answer when creating only one user with oobeinfo please reply. thanks in advance.



oobeinfo sucks big time, if it works on XP defiitely it won't work on 2003 and even on Xp won't work sometimes

#10 User is offline   karanmalhotra 

  • Group: Members
  • Posts: 9
  • Joined: 21-August 06

  Posted 26 September 2006 - 01:46 AM

View Posttommy_vercetti, on Jan 4 2006, 05:35 AM, said:

View Postelajua, on Jan 3 2006, 04:54 AM, said:

i was too tired to keep trying and trying to make this oobeinfo to create only one account for me and i had the same problem every time: i autologon using the Adminitrator account and "ajua" account never got created.

i double-checked the winnt.sif, the oobeinfo.ini and all the files but nothing seemed wrong. im now tryng the net user method. hoe it works so i can finish my long work in my unattended dvd.

if someone has an answer when creating only one user with oobeinfo please reply. thanks in advance.



oobeinfo sucks big time, if it works on XP defiitely it won't work on 2003 and even on Xp won't work sometimes


can we specify password for the accounts i specify in [userinfo] section of oobeinfo.ini??

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy