MSFN Forum: Odd question in unattended... - MSFN Forum

Jump to content



  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Odd question in unattended... Can you get oobe after autologin? Rate Topic: -----

#21 User is offline   [BM]Crusher 

  • Got milk?
  • PipPipPipPip
  • Group: Members
  • Posts: 570
  • Joined: 05-April 04

Posted 29 April 2004 - 11:06 PM

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


#22 User is offline   [BM]Crusher 

  • Got milk?
  • PipPipPipPip
  • Group: Members
  • Posts: 570
  • Joined: 05-April 04

Posted 29 April 2004 - 11:35 PM

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

#23 User is offline   Jazz 

  • Member
  • PipPip
  • Group: Members
  • Posts: 137
  • Joined: 03-April 04

Posted 29 April 2004 - 11:43 PM

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 If

cg = InputBox("Type new Organization and click OK.", t, g) 
If cg <> "" Then
  ws.RegWrite p1 & "RegisteredOrganization", cg 
  ws.RegWrite p2 & "DefCompany", cg 
End If


2. ---> register.cmd
@echo off

Echo.
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% /add
net localgroup Administrators %username% /add
net accounts /maxpwage:unlimited

ECHO.
ECHO Registering Windows Xp in your Name...
start /wait %systemdrive%\temp\change.vbs
ECHO.
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 /q

if 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 /q

Echo.
ECHO.
ECHO Deleting Temp Installation Files...
RD /S /Q %systemdrive%\install
RD /S /Q %systemdrive%\temp
ECHO.
ECHO Please wait as we Log you into your New Account
Echo.
shutdown.exe -l
del "%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

#24 User is offline   HerrtheGeek 

  • Group: Members
  • Posts: 5
  • Joined: 25-December 06

Posted 30 December 2006 - 08:35 PM

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! :}

#25 User is offline   Volatus 

  • Member
  • PipPip
  • Group: Members
  • Posts: 219
  • Joined: 06-February 07

Posted 17 March 2008 - 12:24 AM

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.

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • 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