reyna12 Posted January 11, 2006 Posted January 11, 2006 After installation and user logs on, is it possible to directly copy a dll from disk to the system32 directory, overwriting the original.Also, open an application?
boooggy Posted January 11, 2006 Posted January 11, 2006 http://unattended.msfn.org/unattended.xp/view/web/59/or search for runonce
reyna12 Posted January 11, 2006 Author Posted January 11, 2006 (edited) I have that in $OEM$ folderAs far as i'm aware this worked. I'm just a bit stupid, i didn't add a command line to tell it to run an exe DOH!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:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExECHO.ECHO blablaDEL "%systemroot%\system32\thedllfile.dll"COPY "%CDROM%\thedllfile.dll" "%systemroot%\system32\"EXIT Edited January 11, 2006 by reyna12
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