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.

Strange Issue Sysprep -reseal and RunOnceEx?

Featured Replies

The issue im having is that the RunOnceEx commands in cmdlines.txt in $OEM$, are running over and over again, after each reboot. My runonceex commands ends with sysprep resealing the operating system, so the user can enter a key and other information. After i enter the product key, user name passwords etc, it installs all the applications all over again and reseals the os again? RunOnceEx never stops. Anyone have any ideas? My files are listed below.

ZipPhReaK

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%\005 /VE /D "Adobe Reader 6" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\silent\adobe.cmd" /f

REG ADD %KEY%\010 /VE /D "AIM 5.5" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\silent\aim.cmd" /f

REG ADD %KEY%\015 /VE /D "Spyware Blaster 3.1" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\silent\blaster.cmd" /f

REG ADD %KEY%\020 /VE /D "Macromedia Flash 7.0" /f

REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\silent\flash.cmd" /f

REG ADD %KEY%\025 /VE /D "Google Toolbar for IE" /f

REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\silent\google.cmd" /f

REG ADD %KEY%\030 /VE /D "Sun Java VM 1.4.2" /f

REG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\silent\java.cmd" /f

REG ADD %KEY%\035 /VE /D "MS Java VM" /f

REG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\silent\msvm.cmd" /f

REG ADD %KEY%\040 /VE /D "Quicktime Player 6.3" /f

REG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\silent\quicktime.cmd" /f

REG ADD %KEY%\045 /VE /D "RealPlayer 10 Gold" /f

REG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\silent\realplayer.cmd" /f

REG ADD %KEY%\050 /VE /D "Macromedia Shockwave" /f

REG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\silent\shockwave.cmd" /f

REG ADD %KEY%\055 /VE /D "Spybot 1.3" /f

REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\silent\spybot.cmd" /f

REG ADD %KEY%\060 /VE /D "StartupMonitor" /f

REG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\silent\startmon.cmd" /f

REG ADD %KEY%\065 /VE /D "Task Switcher PowerToy XP" /f

REG ADD %KEY%\065 /V 1 /D "%systemdrive%\install\silent\taskswitch.cmd" /f

REG ADD %KEY%\070 /VE /D "TweakXP 2.10" /f

REG ADD %KEY%\070 /V 1 /D "%systemdrive%\install\silent\tweak.cmd" /f

REG ADD %KEY%\075 /VE /D "Visual Basic 6.0 Runtime" /f

REG ADD %KEY%\075 /V 1 /D "%systemdrive%\install\silent\vbrun.cmd" /f

REG ADD %KEY%\080 /VE /D "RealVNC 3.3.7" /f

REG ADD %KEY%\080 /V 1 /D "%systemdrive%\install\silent\vnc.cmd" /f

REG ADD %KEY%\085 /VE /D "Winamp 5.0.3" /f

REG ADD %KEY%\085 /V 1 /D "%systemdrive%\install\silent\winamp.cmd" /f

REG ADD %KEY%\090 /VE /D "Adaware 6.0" /f

REG ADD %KEY%\090 /V 1 /D "%systemdrive%\install\silent\adaware.cmd" /f

REG ADD %KEY%\095 /VE /D "Winzip 9.0" /f

REG ADD %KEY%\095 /V 1 /D "%systemdrive%\install\silent\winzip\winzip.cmd" /f

REG ADD %KEY%\100 /VE /D "Sun OpenOffice" /f

REG ADD %KEY%\100 /V 1 /D "%systemdrive%\install\silent\ooo\openoffice.cmd" /f

REG ADD %KEY%\105 /VE /D "Uninstalling WeatherBug" /f

REG ADD %KEY%\105 /V 1 /D "%systemdrive%\install\unwise.cmd" /f

REG ADD %KEY%\110 /VE /D "Modifying Windows XP NTOSKRNL.EXE" /f

REG ADD %KEY%\110 /V 1 /D "%systemdrive%\install\bootlogo.cmd" /f

REG ADD %KEY%\115 /VE /D "Cleaning up Start Menu" /f

REG ADD %KEY%\115 /V 1 /D "%systemdrive%\install\startmenu.cmd" /f

REG ADD %KEY%\120 /VE /D "Importing Registry Tweaks" /f

REG ADD %KEY%\120 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.cmd" /f

REG ADD %KEY%\125 /VE /D "Sysprep Resealing and Shutdown" /f

REG ADD %KEY%\125 /V 1 /D "%systemdrive%\install\sysprep\sysprep.cmd" /f

EXIT

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

CMDLINES.txt

[COMMANDS]

"RunOnceEx.cmd"

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

winnt.sif

;SetupMgrTag

[Data]

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

TargetPath=CPUXP

OemPreinstall=Yes

UnattendSwitch="yes"

Repartition=Yes

WaitForReboot="No"

OemPnPDriversPath="Drivers\006_storage;Drivers\006_storage\3ware6k;Drivers\006_storage\3ware78k;Drivers\006_storage\3112;Drivers\006_storage\3112r;Drivers\006_storage\3114;Drivers\006_storage\3114r;Drivers\006_storage\3124;Drivers\006_storage\3124r;Drivers\006_storage\hpt371;Drivers\006_storage\nvidia;DRIVERS\SND\ALI;DRIVERS\SND\CMEDIA;DRIVERS\SND\NV;DRIVERS\SND\RT;DRIVERS\SND\SBAU;DRIVERS\SND\SBLS\Win2K_XP;DRIVERS\SND\SIGMATEL;DRIVERS\SND\VIA\ENVY;DRIVERS\SND\VIA\VINYL;Drivers\ati\Driver;Drivers\ati\wdm;Drivers\belkin;Drivers\intelpro\pro100;Drivers\intelpro\pro1000;Drivers\nvidia;Drivers\usb100m;Drivers\via;Drivers\vmware\memctl;Drivers\vmware\pointer;Drivers\vmware\scsi;Drivers\vmware\video;Drivers\vmware\vmnet;Drivers\Intel;Drivers\soundmax;"

Hibernation=No

DriverSigningPolicy=Ignore

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone=35

OemSkipWelcome=1

AutoLogon=Yes

[userData]

ProductKey=removed

FullName="Default"

OrgName="None"

ComputerName=CPUXP

Home_Page=http://www.google.com

[Display]

BitsPerPel=16

Xresolution=800

YResolution=600

Vrefresh=75

[TapiLocation]

CountryCode=1

Dialing=Tone

AreaCode=781

[identification]

JoinWorkgroup=WORKGROUP

[Networking]

InstallDefaultComponents=Yes

[GuiRunOnce]

[Components]

msmsgs=off

msnexplr=off


if your autologon account creation failed, or you are logging on as a non-admin account, the runonceex commands won't get flushed...

usually though, most of them will have errors about access denied etc if this is the case....

this is the only time i have seen my runonceex commands repeat (when autologon account creation failed and logging in with a non-admin account)

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.