Jump to content

Recommended Posts

Posted

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?


Posted (edited)

I have that in $OEM$ folder

As 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 off

FOR %%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\RunOnceEx

ECHO.
ECHO blabla
DEL "%systemroot%\system32\thedllfile.dll"
COPY "%CDROM%\thedllfile.dll" "%systemroot%\system32\"

EXIT

Edited by reyna12

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...