Viper999 Posted November 9, 2009 Share Posted November 9, 2009 I have been trying to figure out for about two weeks why my unattended keeps hanging at t-12. Please see the enclosed cmdlins.txt and runonceex.cmd. Any help would be greatly appreciated as I have been driving myself crazy trying to figure it out.Thanks,JimRunOnceEx.cmdcmdlines.txt Link to comment Share on other sites More sharing options...
HØLLØW Posted November 14, 2009 Share Posted November 14, 2009 (edited) Hi Viper999,I don't know why it it hangs but here are some lines you should modify:RunOnceEx.cmd@echo offcwnd /HIDE @IF 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:IF EXIST H:\CD.txt set CDROM=H:IF EXIST I:\CD.txt set CDROM=I:IF EXIST J:\CD.txt set CDROM=J:Change it to:CMDOW @ /HID@ECHO OFFFOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:You change the resolution the following way:REG ADD %KEY%\001 /VE /D "Changing Resolution..." /fREG ADD %KEY%\001 /V 1 /D "%CDROM%\$OEM$\$$\system32\1365VidChng.exe 1280x1024x8@60 -q" /fWhy don't you use the "WINNT.SIF" file?[Display] Xresolution=1280 YResolution=1024 Vrefresh=60 AutoConfirm=1What does this line in your "cmdlines.txt" file mean?"ROE.exe 937" Edited November 14, 2009 by HØLLØW Link to comment Share on other sites More sharing options...
Raoul90 Posted November 15, 2009 Share Posted November 15, 2009 Why not use this method:SetLocal enableextensionsSET CDROM=%~d0EndLocalLike I said here also.http://www.msfn.org/board/runonceex-troubl...ded#entry892082Also explained here:http://unattended.msfn.org/unattended.xp/view/web/59/ 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