ToBe Posted April 25, 2004 Author Share Posted April 25, 2004 (edited) When the computer reboots, will this prompt you for the username and organization and also allow you to add users right from the Welcome screen?It will ask you about username, but not organization.It will prompt to add users as long as none exist other than the default onesI have my admin account autologon after first reboot, then some applications gets installed via runonceex, and as the last line, before shutdown.exe, I call oobe.inf. This will set autoadminlogon to 0, and blank out the autologon username. After reboot the welcome screen appears, just as it does after a normal WinXP install.If you want to change what you see when you rightclick my computer, properties, this is not for you. This will only let the user choose his/hers logon name.so how would i reproduce this in my unattended cd? read my post? If you're refering to my dvd strings, just change the text to cd... CheersToBe Edited April 25, 2004 by ToBe Link to comment Share on other sites More sharing options...
dpcpro Posted April 27, 2004 Share Posted April 27, 2004 It appears that there is an undocumented option in oobeinfo.ini.[Options]RemoveOwner=1This will clear out your RegisteredOwner and RegisteredOrganization values that were entered in winnt.sif. Also when you get to the Welcome screen and it asks you for the user accounts, it will automatically make the first user on the list the RegisteredOwner and leave the RegisteredOrganization empty.This is exactly what I was looking for. Even though it doesn't prompt for RegisteredOwner and Org, it makes the first user account the owner.sysprep also has an undocumented switch -oempreinst. I am not sure what it does, but just an fyi.dpcpro Link to comment Share on other sites More sharing options...
ToBe Posted April 27, 2004 Author Share Posted April 27, 2004 (edited) Nice find!Edit// Didn't work when I tried it... Edited April 27, 2004 by ToBe Link to comment Share on other sites More sharing options...
dpcpro Posted April 29, 2004 Share Posted April 29, 2004 Did you put this line under options of oobeinfo.ini and then re-ran the Welcome screen?It worked for me. It cleared the registered info (username and org) and made the "Your username" in the accounts screen the registered owner but left the org blank.Double check, then post back. I will post my oobeinfo.ini when I get home.dpcpro Link to comment Share on other sites More sharing options...
ToBe Posted April 29, 2004 Author Share Posted April 29, 2004 This is my oobeinfo.ini:[StartupOptions]StartUrl=""Registration=1ScreenResolutionCheck=1[options]MouseTutorial=0JoinDomain=1AdminPw=1IntroOnly=0RemoveOwner=1[OEMRegistrationPage]OEMAddRegPage=0PostToOEM=0RegPostURL=""[Signup]ISPSignup=MSNOfferCode=0Locales=1,81IDLocales=1,81,33,49,107,61,44and the welcomescreen is restarted with an inf file, and the switchHKLM,"SYSTEM\Setup","CmdLine",0x00010000,"%11%\oobe\msoobe.exe /f /retail"But when I rightclick the "My computer" icon, and look at properties, the registered owner is still the one set in winnt.sif.. Link to comment Share on other sites More sharing options...
[BM]Crusher Posted April 30, 2004 Share Posted April 30, 2004 when we sell pre-built Omega Technology systems, before we box them up, we run sysprep off a floppy disk and the PC reboots, then asks for your Name, Org, User accounts etc...I will have a look at the floppy and see what it actually does to do this... I am pretty sure it doesn't use mini setup but I will check if I can find one of the disks lying around Link to comment Share on other sites More sharing options...
[BM]Crusher Posted April 30, 2004 Share Posted April 30, 2004 frig i don't believe it i have to test this to see if it actually works...the disk which we use, it only has 3 files on it.... sysprep.exe, setupcl.exe, netcfg.exe... there isn't even a bloody sysprep.inf ???I have used this disk once myself already.... the machine was on display for a week.. it already had a user account set up as well...i put the disk in and ran sysprep.exe, ticked the NoSidGen box, ticked the Activated box, changed Shutdown to reboot and pressed OK... it rebooted and asked me for all the info... I'm checking this now with a virtual pc installation and will post back once i see what it does when the system is set up for auto-logon to a preconfigured username... Link to comment Share on other sites More sharing options...
Jazz Posted April 30, 2004 Share Posted April 30, 2004 Any sureshot method for this ?Well i'm doin something for this but its not the oobe method, and i'd like to switch to oobe method..Amywatys the method that i use is :- first i have a temp folder in ($oem$\$1)so that makes it $oem$\$1\temp, then i have these 2 files in temp folder :- 1. --> Change.vbs Option Explicit Set ws = WScript.CreateObject("WScript.Shell") Dim ws, t, p1, p2, n, g, cn, cg Dim itemtype p1 = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\" p2 = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\" n = ws.RegRead(p1 & "RegisteredOwner") g = ws.RegRead(p1 & "RegisteredOrganization") t = "Change Owner and Organization Utility" cn = InputBox("Type new Owner and click OK", t, n) If cn <> "" Then ws.RegWrite p1 & "RegisteredOwner", cn ws.RegWrite p2 & "DefName", cn End Ifcg = InputBox("Type new Organization and click OK.", t, g) If cg <> "" Then ws.RegWrite p1 & "RegisteredOrganization", cg ws.RegWrite p2 & "DefCompany", cg End If2. ---> register.cmd@echo offEcho.Echo.set /p username= Please Enter the Name of the Account to be created as Administrator = Echo.Echo.set /p password= Please Enter the Password of the Account to be created as Administrator = net user %username% %password% /addnet localgroup Administrators %username% /addnet accounts /maxpwage:unlimitedECHO.ECHO Registering Windows Xp in your Name...start /wait %systemdrive%\temp\change.vbsECHO.ECHO.if exist "%systemdrive%\Documents and Settings\All Users.windows\*.*" xcopy "%systemdrive%\Documents and Settings\Administrator\Start Menu\Programs" "%systemdrive%\Documents and Settings\All Users.windows\Start Menu\Programs" /s /e /r /y /qif exist "%systemdrive%\Documents and Settings\All Users\*.*" xcopy "%systemdrive%\Documents and Settings\Administrator\Start Menu\Programs" "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs" /s /e /r /y /qEcho.ECHO.ECHO Deleting Temp Installation Files...RD /S /Q %systemdrive%\installRD /S /Q %systemdrive%\tempECHO.ECHO Please wait as we Log you into your New AccountEcho.shutdown.exe -ldel "%systemdrive%\Documents and Settings\Administrator\Start Menu\Programs\startup\register.cmd"Ok now one question is.. see that All users.Windows !! now why do i get that ? i just want all users, also there is another folder that gets created by default, that is Administrator.(my computer name) PLEASE can someone help me wih this ! i dont want these folders to be created.OK, on to the topic, then i have a batch file that installs all the apps, then copies the register.cmd to the startup folder of the current user.I hope this makes some sense Bye,Jazz Link to comment Share on other sites More sharing options...
HerrtheGeek Posted December 31, 2006 Share Posted December 31, 2006 Hey guys, I know this thrad is a little old, but I've search and can't seem to find the answer. Has anyone been able to get the oobe method to work. Right now my cd is fully unattended and installs addational apps via "Windows Post-Installation Wizard", and then reboots directly back insto "Administrators" desktop. I'd like oobe to run after that reboot to allow the user to create the desired user accounts! Link to comment Share on other sites More sharing options...
Volatus Posted March 17, 2008 Share Posted March 17, 2008 Wow, this is some extremely valuable information - on how to restart the Windows XP OOBE process. The first reply with the registry key worked great. The computer didn't have internet access, so I didn't bother writing the whole reg file, I just opened Registry Editor and keyed in the information. If it hasn't already been mentioned, the raw data in that "hex" key is actually "C:\Windows\System32\oobe\msoobe.exe /f /retail" in Unicode (or some other 16-bit language). I just keyed that in (since it was Dell OEM, I switched "retail" for "oem") and switched OobeInProgress to 1, and rebooted... bam, OOBE.World's biggest bump. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now