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.

reboot after runonceex-install: what command?

Featured Replies

So I finally got my Unattended Install going (I think), I bump into this minor but necessary little thing.

When the runonceex.cmd is done installing all wanted programs, I want it to restart the computer. Otherwise some programs won't function (properly or at all). I've been searching the forum but I can't find an answer. What's the entry in runonceex to get it to reboot?

TIA.

shutdown.exe -r -f -t xx

xx = time in second before reboot

-r = reboot

-f = force application to close without warning

Just put the following commandline into your RunOnceEx.cmd

REG ADD %KEY%\085 /VE /D "Restart" /f
REG ADD %KEY%\085 /V 1 /D "%systemdrive%\apps\cleanup.cmd" /f

In the cmd file that is started with this just put the following lines

cmdow @ /HID
shutdown.exe -r -f -t 30 -c "Windows XP will restart in 30 seconds..."
EXIT

I would use this method if i wouldn't use WPI 2.9.3.

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.