How to Include Your Edited System Files in Windows Setup?



Many times we edit system files like Shell32.dll, Explorer.exe, msgina.dll, ntoskrnl.exe, logonui.exe, etc to change the look-n-feel of Windows. But sometimes we want to include our edited files in Windows Setup, so that whenever we make a fresh installation of Windows, we don't loose our changed files and we don't need to make those changes again.

Here is a step-by-step tutorial on how to include your own edited files in Windows Setup:

1. Download following .Zip file and extract it:

Download File

2. You'll get "modifype.exe" file after extracting the .zip file.

3. Now copy this "modifype.exe" file to the same folder where you have your edited files which you want to include in Windows setup. Lets suppose you have copied all edited files in "D:\Setup" folder, so copy "modifype.exe" file to "D:\Setup" folder.

4. Open Command Prompt and navigate to the same folder where your files are stored, which is "D:\Setup" in our example.

5. Now provide following command:

modifype file_name.extension -c

Replace "file_name.extension" with the name of the file which you want to include in setup. e.g.

modifype shell32.dll -c

modifype explorer.exe -c

modifype msgina.dll -c

6. It'll fix the checksum of the file and Windows will accept the file without any problem at installation time.

7. Now the last step. We have to compress the file using "makecab" command. As you can see all files in Windows Setup folder "I386" are in compressed format like shell32.dl_, explorer.ex_, msgina.dl_, etc. So provide following command to compress the file:

makecab file_name.extension

Replace "file_name.extension" with the name of the file which you want to include in setup. e.g.

makecab shell32.dll

makecab explorer.exe

makecab msgina.dll

8. Thats it. You'll get a compressed file, which you can safely copy to "I386" folder of your Windows setup.

NOTE: If you want to extract any existing file from the Setup, you can use "expand" command.

expand -r file_name.extension

Replace "file_name.extension" with the name of the file which you want to extract. e.g.

expand -r shell32.dl_

expand -r explorer.ex_

expand -r msgina.dl_



This article was posted in Windows XP.

Subscribe to RSS Feed | Email Newsletter | More Articles

Related Articles

Popular Articles



100 Comments

  • Thanks vg but i cant find Logonui.exe in setup disk of windows xp where it is located?????????? i want to edit it in setup disk......... please help

  • Thanks vg but i cant find Logonui.exe in setup disk of windows xp where it is located?????????? i want to edit it in setup disk……… please help

    & how to edit that welcome wallpaper or how to replace that wallpaper

  • please reply man!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • VG

    ^^ Please wait for some time before I reply. I'll always reply everyone but it might take some time. I'm sorry for any inconvenience. :)

    Reg. to your question, the "Logonui.exe" file would be stored in "I386" folder with the name "logonui.ex_".

  • :neutral: Sorry , & thanks for reply how can i edit that logonui.ex_ ??????????????

  • Hi vishal i found a solution for that . have to extract the files & then edit them with resource hacker after that i have to compress them & then replace them with origional present in i386 folder. Now just tell me thecommand for extracting the files present in D:/NewFolder the files are LOGOFF.EX_ LOGONUI.EX_ SYSDM.CP_ please provide command of extration for these files in their location please

  • VG

    ^^ I have already mentioned the command in "NOTE" section at last of the tutorial.

  • it is not work for files located in new folder in d drive!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1

  • :cool: hey vg have you ever seen the win xp sp3 by amit talkin :?: please tell me how to do it :?:

  • VG

    ^^ Nope. I hvnt.

    @goldi
    It'll work. You can also move the files to root of the drive and then use the command given in NOTE section. Anyway why do you want to extract the files? Just use your already edited system files and compress them using the above tutorial and then copy them to "I386" folder. Thats it.

Add a Comment

NOTE: If you can't see your comment, please be patient. It'll appear as soon as we approve it.


Create an avatar that will appear with your comment.