Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

RunOnceEx only runs after a reboot

Featured Replies

After the windows installation is done, there is just a blank blue screen after it finishes loading. I have to restart, and then the RunOnceEx starts. Anyone know why this happens?

Thanks

I've had the same problem. It turned out to be because I called RunOnceEx.cmd from [GuiRunOnce] in Winnt.sif. If you call it from cmdlines.txt it will work as expected.

I reread your question... You say you get a blank screen after the Windows installation. Not even a start menu?

Normally, the computer should reboot after the Windows installation finished. Then while booting into Windows for the first time it will perform the RunOnceEx stuff. From what I understand, that works correctly on your unattended but somehow Windows doesn't automatically reboot after the Windows installation finished (you do it manually, but RunOnceEx gets executed at the correct moment). You should try to figure out why it doesn't reboot automatically (I wouldn't know)...

Were you able to resolve this? My latest CD is also hanging when setup finished, just a blank blue screen.

My only suspicion is that since I used a Microsoft Corporation.img from a different CD, and didnt use CDIMAGE for this one. I'll try changing this later.

After I Reset Manually it loads XP for the first time to setup Updates/Accounts/Etc and continues fine.

Post a copy of your RunOnceEx.cmd

have you got the 'exit' command at the bottom?

I had this but have resolved the problem but dont know why.....

RunOnceEx.cmd

cmdow @ /HID
@echo off

IF EXIST D:\CD.txt set CDROM=D:
IF EXIST E:\CD.txt set CDROM=E:
IF EXIST F:\CD.txt set CDROM=F:
IF EXIST G:\CD.txt set CDROM=G:
IF EXIST H:\CD.txt set CDROM=H:
IF EXIST I:\CD.txt set CDROM=I:
IF EXIST J:\CD.txt set CDROM=J:

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\005 /VE /D "UNPACKING Office 2003 Professional with SP1" /f
REG ADD %KEY%\005 /V 1 /D "%CDROM%\OEM\Software\Office2003\Office2003.exe" /f

REG ADD %KEY%\010 /VE /D "INSTALLING Office 2003 Professional with SP1" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\OfficeTEMP\setup.exe TRANSFORMS=Unattended.MST /qb-" /f

REG ADD %KEY%\020 /VE /D "Adobe Reader 6.02" /f
REG ADD %KEY%\020 /V 1 /D "%CDROM%\OEM\Software\Adobe\acroread602.exe" /f

REG ADD %KEY%\025 /VE /D "Microsoft .NET Framework 1.1 SP1 Integrated" /f
REG ADD %KEY%\025 /V 1 /D "%CDROM%\OEM\Software\NetFramework\netfxsp1.exe" /f

REG ADD %KEY%\030 /VE /D "SpywareBlaster 3.2" /f
REG ADD %KEY%\030 /V 1 /D "%CDROM%\OEM\Software\SpywareBlaster\spywareblastersetup.exe /verysilent" /f
REG ADD %KEY%\030 /V 2 /D "pskill.exe spywareblaster.exe" /f

REG ADD %KEY%\040 /VE /D "Winrar 3.40 FINAL" /f
REG ADD %KEY%\040 /V 1 /D "%CDROM%\OEM\Software\Winrar\Winrar340.exe /s /W" /f

REG ADD %KEY%\045 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\045 /V 1 /D "REGEDIT /S %CDROM%\OEM\Software\regtweaks.reg" /f

REG ADD %KEY%\050 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\050 /V 1 /D "%CDROM%\OEM\Software\cleanup.cmd" /f

EXIT

That looks ok to me. but i am not the expert. :)

make sure in all of your .cmd's you have the EXIT at the bottom.

what is in your cmdlines.txt?

mine looks like this

cmdlines.txt

[COMMANDS]
"konten.cmd"
"RunOnceEx.cmd"

konten.cmd

net user BritishBulldog /add
net localgroup Administratoren BritishBulldog /add
net accounts /maxpwage:unlimited
REGEDIT /S autologin.reg
EXIT

autologin.reg

[
Windows Registry Editor Version 5.00

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="BritishBulldog"
"DefaultPassword"=""
"AutoAdminLogon"="1"

will rack my brain to try and remember what i did to get things going again....

I now use the XPlode method and things look even better :thumbup

One thing that could prevent Windows from rebooting is a peripheral in a "wait-state" (I had the same problem with a canon scanner until I installed drivers).

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.