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.

Auto Reboot

Featured Replies

I have used nlite to create an unattended install, when install is done and desktop appears, I have to reboot for the runonceex.cmd file to run. my question is there a way I can have XP autot reboot before it runs the runonceex.cmd so I do not have to manually reboot.

Maybe another .cmd that my cleanup.cmd will delete when setup is finished?

Edited by mvtowns

I think another reboot isn`t the goal to achieve, cause it`s not needed at this time.

Question is why your "runonceex.cmd" doesn`t run before desktop is loading the first time?

Where is the "runonceex.cmd" and how is it executed?

Edit: Didn`t see your edit - is the problem solved?

Edited by g-force

  • Author

Ok my RunOnceEx.cmd is in $OEM$\$1\Install

in my winnt.sif last line reads

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

I just made a reboot command and places in front of it

[GuiRunOnce]
%systemdrive%\install\reboot.cmd
%systemdrive%\install\RunOnceEx.cmd

I would rather the RunOnceEx.cmd run on install, but for some reason I have to reboot for it to work

Edited by mvtowns

Place the "runonceex.cmd directly in $OEM$.

If you already worked with nLite, there`s a "comandlines.txt" in this folder, otherwise create one.

Add a line in this file like "runonceex.cmd" - no path is needed because it`s in the same folder.

  • Author

hmmm that didnt work

Edited by mvtowns

mine are in $oem$\install - not in the $1

I also have all my stuff 8.3 but thats more force of habit, so mine is called runonce.cmd but inside I still

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

as well no references are needed in the .sif file, i use the following so it reboots and logs on

[GuiUnattended]

EncryptedAdminPassword=NO

AutoLogon=Yes

AutoLogonCount=1

OEMSkipRegional=1

OEMSkipWelcome=1

  • Author

Thanks for all the reply's. The cmdlines.txt worked great!

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.