clair Posted September 3, 2004 Posted September 3, 2004 how to make a reg file to run first before RunOnceEx.cmdbecouse of the security warning...Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Download]"CheckExeSignatures"="no""RunInvalidSignatures"=dword:00000001[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{11D31951-7848-48E3-89C2-6762AF05C427}User\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments]"SaveZoneInformation"=dword:00000001[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations]"LowRiskFileTypes"=".exe;.bat;.com;.cmd;.reg;.msi;.htm;.html;.gif;.bmp;.jpg;.avi;.mpg;.mpeg;.mov;.mp3;.m3u;.wav;"and should this reg file go here $$_system32
jrzycrim Posted September 3, 2004 Posted September 3, 2004 You can try importing your reg file from cmdlines.txt:Place your reg file in $OEM$make a new text file named cmdlines.txt in $OEM$ and place this in the file:[Commands]"regedit /s regfile.reg"At around T-13 during setup, the commands in cmdlines.txt will be executed; this is well before RunOnceEx entries are executed.
clair Posted September 3, 2004 Author Posted September 3, 2004 You can try importing your reg file from cmdlines.txt:Place your reg file in $OEM$make a new text file named cmdlines.txt in $OEM$ and place this in the file:[Commands]"regedit /s regfile.reg"At around T-13 during setup, the commands in cmdlines.txt will be executed; this is well before RunOnceEx entries are executed.like this?cmdlines.txt [COMMANDS]"regedit /s regfile.reg""RunOnceEx.cmd"can i have both off them in same file..
jrzycrim Posted September 4, 2004 Posted September 4, 2004 Yes, since you already have a cmdlines.txt file just add the "regedit /s regfile.reg" to it.
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