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.

runonce installs

Featured Replies

I seem to be having a few problems with the runonce command.

I copied over my files into the $OEM$\1$\install$ directory and assumed both these files got copied over to

c:\install

during installation, so under runonce i had the command

[GuiRunOnce]

c:\install\batch_file.cmd

but on first boot i receive an error message saying unable to find batch_file.cmd.

did i read the documentation wrong and the files are not copied over?

im sure im missing something simple, help please!!!!!!

  • Author

no idea why i tagged that $ sign on the end of install, was a typo on the forum post does not appear like that on my disc.

\I386\$OEM$\$1\install

is how it appears, any ideas?

Use: $OEM$\$1\install

$OEM$\$1 <----means Systemdrive

$OEM\$$ <-----means win directory

  • Author

the problem is the files are just not copied over [this is windows2000 btw]

i will try and go into more detail see if you guys can pick out the problem

my file structure is as follows

i386

$OEM$

$1

install -> batch_file.cmd, file.exe

my winnt.sif has the following line

[GuiRunOnce]

c:\install\batch_file.cmd

and my batch file is as follows

copy "c:\install\file.exe" "c:\documents and settings\all users\desktop"

now on first boot i receive the error "batch_file.cmd cannot be found" and it appears no files from my install directory are copied over to c:\install.

Is OemPreinstall=Yes in winnt.sif under [unattended]?

  • Author

indeed it is ill paste my full winnt.sif

;SetupMgrTag
[Data]
   AutoPartition=1
   MsDosInitiated="0"
   UnattendedInstall="Yes"

[Unattended]
   UnattendMode=FullUnattended
   Repartition=Yes
   OemSkipEula=Yes
   OemPreinstall=Yes
   DriverSigningPolicy=Ignore
   KeyboardLayout="United Kingdom"

[GuiUnattended]
   AdminPassword=******************
   AutoLogon=Yes
   AutoLogonCount=1
   OEMSkipRegional=1
   TimeZone=85
   OemSkipWelcome=1

[UserData]
   FullName="Rossington All Saints"
   OrgName=RAS
   ComputerName=*
   ProductID="********************"

[TapiLocation]
   CountryCode=44

[Identification]
   JoinWorkgroup=WORKGROUP

[Networking]
   InstallDefaultComponents=Yes

[GuiRunOnce]
   c:\install\batch_file.cmd

Hey i'm not sure if this is true for you, but i realise for my case i need to name the batch file under a 8.3 format like XXXXXXXX.XXX instead of long XXXXXXXXXXXXXXXXXXXXXX.XXX. If i name the long way, windows can't find the file.

  • Author

none of the files from the install directory copy over, so no c:\install is created.

im assuming ive placed something in the wrong folder but i cant figure out what :/

  • 2 weeks later...

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.