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.

Windows XP Setup Timeline and RunOnceEx.cmd

Featured Replies

As you can see in the Windows XP Setup Timeline at First Logon it says:

Both [GuiRunOnce]from winnt.sif and RunOnceEx executes at the same time
Does this mean RunOnceEx.cmd automatically starts just like WINNT.SIF, or do I still have put it in WINNT.SIF like this?

[GuiRunOnce]
%systemdrive%\Install\RunOnceEx.cmd

Runonceex.cmd is inserted into cmdlines.txt in $oem$ folder. This contains commands which are entered into registry.

If you choose to install directly from batch script, the you would use the guirunonce in winnt.sif. Like code box that you have displayed.

The msfn unattended guide is a good resource, for researching these 2 methods.

:)

  • Author

You see I'm quit a noob with those scripts :unsure:

So with "batch script" you mean the language with "@ECHO OFF" and "start /wait"?

Then how do you call the script language where you use:...?

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

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

Anyway...I use the batch script and so if I understand correctly I then don't want to put it into cmdlines.txt, but instead only in WINNT.SIF?

if you have commands in your file that are for RUNONCEEX like you have, execute the CMD file from cmdlines.txt.If you instead use conventional batch scripting with

start /wait someprogram.exe

Then use GUIRunOnce.

The two run at the same time, but how they run is different. RunDLL32 executes the RunOnceEX keys the same time as GUIRunOnce, but the keys have to be PRESENT before it executes which is why they're imported at CMDLINES.TXT

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

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.