Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


error with iernonce.dll

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic




  • Member
  • PipPip
  • 195 posts
  • Joined 11-April 04
I get the following error when trying to run the runonceex registry entries:

Error in iernonce.dll
Missing entry:runonceexprocess

The runonceex reg entries where successfully merged by right-click install of runoncex.inf:

Signature="$Windows NT$"

;Windows XP and later syntax:
;diskid = disk-description[,[tag-or-cab-file],[unused,path],[flags][,tag-file]]
1 = %cdname%,%cdtagfile%,,\$OEM$


;http://support.microsoft.com/?kbid=232509  avoid microsoft help like the plague

HKLM,"%RunOnceEx%\",Title,0,"Another Day in Paradise"

;This one I edited the default on the graphics driver inf
;HKLM,"%RunOnceEx%\01",,,"Adjusting Display"
;HKLM,"%RunOnceEx%\01",1,,"%1%\$OEM$\1365VidChng.exe 1600x1200x32@75 -q"

HKLM,"%RunOnceEx%\98",,,"Registry Settings"

HKLM,"%RunOnceEx%\99",,,"Cleanup on Isle 9"
HKLM,"%RunOnceEx%\99",1,,"%11%\cmd.exe /c del /Q """%16386%\Remote Assistance.lnk"""
HKLM,"%RunOnceEx%\99",2,,"%11%\cmd.exe /c del /Q """%16406%\Windows Catalog.lnk"""
HKLM,"%RunOnceEx%\99",3,,"%11%\cmd.exe /c del /Q """%16406%\Set Program Access and Defaults.lnk"""
HKLM,"%RunOnceEx%\99",4,,"%11%\cmd.exe /c del /Q """%16406%\Windows Update.lnk"""
HKLM,"%RunOnceEx%\99",5,,"%11%\cmd.exe /c ping -n 7 -w 1000 > %systemroot%\Temp\null"

cdname = "Windows XP Professional CD-ROM"
cdtagfile = "\win51ip"
Run = "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx"
md5 for iernonce.dll: af37f64e79719a445aa4715d5eeb9e97
HHHHEEEEELLLP :D :D :rolleyes: :)

How to remove advertisement from MSFN




  • Member
  • PipPip
  • 195 posts
  • Joined 11-April 04
BTW, the cd never spins up. One of the registry entries above correctly reads E:\$OEM$\registry.bat, where E:\ is the cdrom drive




  • Member
  • PipPip
  • 195 posts
  • Joined 11-April 04
Figured out my prob. I was typing:
rundll32.exe iernonce.dll,runonceexprocess

instead of:
rundll32.exe iernonce.dll,RunOnceExProcess

Now I have to figure out why it doesn't run during unattended setup.



    You think you know so much.

  • Member
  • PipPipPip
  • 351 posts
  • Joined 06-June 03
I received the same error message when running the following commands straight from cmdlines.txt:

"rundll32 setupapi,InstallHinfSection XP 128 runonceex.inf"
"rundll32.exe iernonce.dll,RunOnceExProcess"

The location of runonceex.inf was in the $OEM$ folder, but it was not being read for some reason. The second command generated the error message you saw.

To fix it, I modified the path of the first command by adding a .\ in front of runonceex.inf and having both command run in a .cmd file called upon by cmdlines.txt. It ran flawlessly with no errors.

I would check your command lines for any quote, if you are running it the same way. I'm not sure if the quotes in cmdlines.txt drive the two command crazy or not.
Posted Image