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.

Problem with RunOnceEX being found

Featured Replies

Guys I need yr ur help urgently in making out my un attended CD. I don't know where I'm going wrong !!! Everything is working but My Applications aren't installing automatically un attended. Also I'm getting error as below;

"C:\Runonceex.cmd File not found"

I have placed following files in $OEM$ Folder

cmdlines.txt, useraccounts.cmd, autologon.reg,regtweaks.reg and runonceex.cmd

My applications are in this folder $OEM$\$1\Install\

I have placed cleanup.cmd in $OEM\$1\Install

Contents of my files are as below

-------------------------------------------------------------------------------------------

WINNT.SIF

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

[Unattended]
   FileSystem=*
   UnattendMode=FullUnattended
   OemSkipEula=Yes
   OemPreinstall=Yes
   UnattendSwitch="yes"
   TargetPath=\WINDOWS
   OemPnDriversPath="Drivers\000Motherboard\Audio;Drivers\001Display;Drivers\002Modem"
   DriverSigningPolicy=Ignore      


[GuiUnattended]
   AdminPassword="admin"
   EncryptedAdminPassword=NO
   OEMSkipRegional=1
   TimeZone=165
   OemSkipWelcome=1

[UserData]
   ProductKey=*
   FullName="XP-SUPERCD-USER"
   OrgName="XP-SUPERCD"
   ComputerName=XP-SUPERCD-PC

[Display]
   BitsPerPel=32
   Xresolution=800
   YResolution=600
   Vrefresh=60

[TapiLocation]
   CountryCode=971
   Dialing=Tone
   LongDistanceAccess="4004444"

[RegionalSettings]
   LanguageGroup=1
   SystemLocale=00000409
   UserLocale=00000409
   InputLocale=0409:00000409

[Branding]
   BrandIEUsingUnattended=Yes

[Proxy]
   Proxy_Enable=1
   Use_Same_Proxy=1
   HTTP_Proxy_Server=proxy1.emirates.net.ae:8080
   Proxy_Override=<local>

[Identification]
   JoinWorkgroup=WORKGROUP

[Networking]
   InstallDefaultComponents=Yes


[Components]
   msmsgs=off
   msnexplr=off
   freecell=off
   hearts=off
   minesweeper=off
   pinball=off
   solitaire=off
   spider=off
   zonegames=off
   
[Shell]
   DefaultStartPanelOff = Yes

[GuiRunOnce]
   %systemdrive%\RunOnceEx.cmd

--------------------------------------------------------------------------------------------

AUTOLOGON.REG

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="Admin"
"DefaultPassword"="admin"
"AutoAdminLogon"="1"
[/quote]
---------------------------------------------------------------------------------------------

CMDLINES.TXT
[code]
[COMMANDS]
"useraccounts.cmd"
"REGEDIT /S regtweaks.reg"

----------------------------------------------------------------------------------------------

RUNONCEEX.CMD

cmdow @ /HID
@echo off

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

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

REG ADD %KEY%\035 /VE /D "Flashget 1.4" /f
REG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\flashget\flashget.exe /S" /f
REG ADD %KEY%\035 /V 2 /D "REGEDIT /S %systemdrive%\install\flashget\register.reg" /f

REG ADD %KEY%\037 /VE /D "IsoBuster 1.6" /f
REG ADD %KEY%\037 /V 1 /D "%systemdrive%\install\isobuster\IsoBuster.exe /VERYSILENT /SP-" /f
REG ADD %KEY%\037 /V 2 /D "taskkill /F /IM isobuster.exe" /f

REG ADD %KEY%\047 /VE /D "MSN Messenger 6.2 Final" /f
REG ADD %KEY%\047 /V 1 /D "%systemdrive%\install\msn\SETUPDL.exe /qb" /f

REG ADD %KEY%\050 /VE /D "Yahoo Messenger 6.0 Final" /f
REG ADD %Key%\050 /V 1 /D "%systemdrive%\install\yahoo\yahoo.exe /S" /f
REG ADD %Key%\050 /V 2 /D "PSKILL.EXE YPAGER.EXE" /f


REG ADD %KEY%\055 /VE /D "TweakXP Powertoy" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\tweakxp\Tweakxp.exe /VERYSILENT /SP-" /f


REG ADD %KEY%\057 /VE /D "Windows Media Player Version 10" /f
REG ADD %KEY%\057 /V 1 /D "%SystemDrive%\Install\WMP10\mp10setup.exe /q:A /c:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /f

REG ADD %KEY%\058 /VE /D "Chipset INF Updates" /f
REG ADD %KEY%\058 /V 1 /D "%SystemDrive%\Install\Chipset_INF\infinst_enu.exe /verysilent /sp-" /f

REG ADD %KEY%\059 /VE /D "Motherboard USB 2.0 Updates" /verysilent /sp-" /f
REG ADD %KEY%\059 /V 1 /D "%SystemDrive%\Install\USB2.0\setup.exe /verysilent /sp-" /f

REG ADD %KEY%\080 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\080 /V 1 /D "REGEDIT /S %systemdrive%\apps\regtweaks.reg" /f

REG ADD %KEY%\085 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\085 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

---------------------------------------------------------------------------------------------

USERACCOUNTS.CMD

net user "Admin" admin /add
net localgroup Administrators Admin /add
net accounts /maxpwage:unlimited
REGEDIT /S autologon.reg
EXIT

--------------------------------------------------------------------------------------------

That's all ... Please help me urgently :no:

Product Key removed. Code Tags added. Topic Title Changed. That' three rules broken. ~ Alanoll


REG ADD %KEY%\047 /VE /D "MSN Messenger 6.2 Final" /f
REG ADD %KEY%\047 /V 1 /D "%systemdrive%\install\msn\SETUPDL.exe /qb" /f

u cant run /qb with a .exe file & for msn messenger, u need 2 extract setupdl.exe & run the msi instead :)

ps: dont post your key unless u want 30,000 ppl stealing it :)

Call RunOnceEx.cmd from Cmdlines.txt, not GuiRunOnce in winnt.sif.

If you want to call it from GuiRunOnce, put your RunOnceEx.cmd in your $OEM$\$1 directory, instead of your $OEM$ directory. If you want to call it from cmdlines.txt, just add "RunOnceEx.cmd" to your cmdlines.txt (not the %SystemDrive%, since it's not copied to the harddrive).

@MHz: it doesn't have to be, but yes, it's better to do so, so it runs on first logon :)

Put your RunOnceEx.cmd in your $OEM$\$1 directory, instead of your $OEM$ directory.

Why, how would that help. RunOnceEx has to be called from cmdlines.txt.

  • Author

[u cant run /qb with a .exe file & for msn messenger, u need 2 extract setupdl.exe & run the msi instead]

how to do that ?

Have you tried SETUPDL.exe /? at a command prompt. Also with winrar, you may be able to right click on the file and select open with winrar, then extract the contents.

you can't find RunOnceEX.cmd at C:\ simply because IT'S NOT IN C:\. It's in $OEM$ which ISN'T copied over.

add

"RunOnceEX.cmd"

to your CMDLINES.TXT file and that should fix that issue.

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.