dsj001 Posted November 4, 2005 Share Posted November 4, 2005 Hi,I've run into a very strange problem, when I run my unattended ISO for Windows 2003 in my virtual enviroment RunOnceEx does what it's supposed todo. This screen shows up, programs installing and everyone is happy.But... when I run then same ISO on a physical server everything is going fine until RunOnceEx...Windows autologon and a gray screen, Programs is installing but the window telling everyone whats going on is just gone. It's a bit frustrating... Can someone help? I've run out of ideas...this is my RunOnceEx.cmdcmdow @ /HID@Echo OffIF EXIST D:\CD.txt SET CDROM=D:IF EXIST E:\CD.txt SET CDROM=E:IF EXIST F:\CD.txt SET CDROM=F:IF EXIST G:\CD.txt SET CDROM=G:SET PP=%cdrom%\Apps\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs" /fREG ADD %KEY%\000 /VE /D "Legato Networker" /fREG ADD %KEY%\000 /V 1 /D "%PP%legato\NetWorker.msi /qn" /fREG ADD %KEY%\001 /VE /D "CA InoculateIT" /fREG ADD %KEY%\001 /V 1 /D "\"%PP%CA\eTrust Antivirus.msi\" /qn" /fREG ADD %KEY%\002 /VE /D "HP Network config util" /fREG ADD %KEY%\002 /V 1 /D "%PP%HP\net_conf\cp005319.exe /s" /fREG ADD %KEY%\003 /VE /D "HP Array config util" /fREG ADD %KEY%\003 /V 1 /D "%PP%HP\array_conf\cp005393.exe /s" /fREG ADD %KEY%\004 /VE /D "HP Insight agents" /fREG ADD %KEY%\004 /V 1 /D "%PP%HP\insight_agents\cp005413.exe /s" /fREG ADD %KEY%\005 /VE /D "Applying custom registry entries" /fREG ADD %KEY%\005 /V 1 /D "REGEDIT /s C:\install\nomys.reg" /fREG ADD %KEY%\005 /V 2 /D "REGEDIT /s C:\install\legato.reg" /fREG ADD %KEY%\006 /VE /D "Finalizing and cleaning up" /fREG ADD %KEY%\006 /V 1 /D "C:\install\cleanup.cmd >> C:\Errors.log 2>&1" /fEXITand this is my WINNT.SIF[Data]Autopartition = 0MsDosInitiated = 0UnattendedInstall = YesOemDrivers = OemInfFiles[Unattended]UnattendMode = FullUnattendedUnattendSwitch = YesOemPreinstall = YesOemSkipEula = YesFileSystem = *WaitForReboot = NoNoWaitAfterTextMode = 1NoWaitAfterGUIMode = 1DriverSigningPolicy = IgnoreNonDriverSigningPolicy = IgnoreHibernation = No[OemInfFiles]OemDriverFlags = 1OemDriverPathName = "%SystemRoot%\nldrv"OemInfName = "ich5core.inf","cpqcidrv.inf","q57win32.inf","cpqcisse.inf","cpqcissm.inf"[GuiUnattended]AutoLogon = YesAutoLogonCount=1EncryptedAdminPassword = NoAdminPassword = "1234"TimeZone = 110OEMSkipRegional = 1OemSkipWelcome = 1[Shell]DefaultThemesOff = YesDefaultStartPanelOff = Yes[LicenseFilePrintData]AutoMode = PerSeat[Components]Indexsrv_system = Off[UserData]ProductKey = ComputerName = *FullName = OrgName = [RegionalSettings]Language = 041d[Networking]InstallDefaultComponents = Yes[WindowsFirewall]Profiles = WindowsFirewall.TurnOffFirewall[WindowsFirewall.TurnOffFirewall]Mode = 0[Identification]JoinWorkgroup = install Link to comment Share on other sites More sharing options...
hooovahh Posted January 30, 2006 Share Posted January 30, 2006 Danget, I seen you have the same problem as me...only my runonceex doesn't even run on a virtual machine. Well let me clarify, the programs get installed but there's no picture saying whats happening. I was so hoping some on had replyed to you that would help me too. Link to comment Share on other sites More sharing options...
hooovahh Posted January 31, 2006 Share Posted January 31, 2006 I have found a runonceex replacement which is talked about herehttp://www.msfn.org/board/index.php?showto...58&hl=runonceexIt uses runonce to run it self. I've tried it and it works for me, hope it helps you. Link to comment Share on other sites More sharing options...
edk Posted February 10, 2006 Share Posted February 10, 2006 Try setting the flags value in the top key. I notice neither example specifically sets it. Its a dword value that controls logging and error handling. >> REG ADD %KEY% /V Flags /T REG_DWORD /D 0000. I had some trouble with this as well. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now