阅读:1837回复:12
在Win2000下这样替换受系统保护的文件
在Win2000下,OS对有些系统文件进行了保护,怎样替换这些受系统保护的文件?越简单越好
|
|
最新喜欢:![]()
|
沙发#
发布于:2002-04-30 16:48
没有人知道吗?
|
|
|
板凳#
发布于:2002-04-30 20:13
难道非要替换吗?过滤不行吗?不太明白你的目的
|
|
地板#
发布于:2002-05-01 00:34
改个名字,然后先替换CACHE里面的,然后在替换...
|
|
|
地下室#
发布于:2002-05-01 14:00
不行,这样绝对不可以的
|
|
|
5楼#
发布于:2002-05-01 21:59
用户被禁言,该主题自动屏蔽! |
|
6楼#
发布于:2002-05-03 20:42
不可以,在MSDN中时提到将SFCDisable键值修的文章,可我修改了后,还是不可以,至于2、3是可行的,但要求太刻苦了(DOS或双操作系统),有没有其它办法,编程也可以。
|
|
|
7楼#
发布于:2002-05-04 15:45
用户被禁言,该主题自动屏蔽! |
|
8楼#
发布于:2002-05-04 17:02
from ifskit 2k install.htm
Samples This kit includes the FastFAT and CDFS file system samples, and the SFilter file system filter sample. New to this version of the kit is the FileSpy file system filter sample, which replaces the older TFilter sample. The Rdr2 NullMRX MiniRedir sample is new to this version of the kit. Two of the samples included in this kit, FastFAT.sys and CDFS.sys, are taken unmodified from live Windows 2000 source code. A new Windows 2000 feature called Windows File Protection gives the system the new ability to protect some system files -- including these two file systems -- from being modified. If the FastFAT and CDFS samples are built by this kit during the development of a new file system, Windows File Protection must be turned off do install the newly-compiled CDFS and FAT file system drivers. For more information on Windows File Protection, refer to the DDK documentation. FastFAT File System Sources FastFAT is the file system driver for the FAT file system disk format. New to Windows 2000 is FAT32 support. To install, with Windows File Protection turned off, save the original version of fastfat.sys, then copy your new version into %systemroot%\\system32\\drivers\\fastfat.sys, and reboot. |
|
9楼#
发布于:2002-05-04 17:19
能不能不重启而直接通过代码控制,更新后在使其进入保护状态
|
|
|
10楼#
发布于:2002-05-07 07:54
先把你的程序load起来,然后通过编程扫描内存中已有文件的输入节,然后把它们所有指向那个系统文件的调用的地址改为指向替换文件的相应函数的地址,这样就不必替换原有文件,当然此后的每个load起来的文件也同样要对它们做相应的修改,包括拦截LoadLibrary等一系列系统调用。
呵呵,比较烦。 |
|
|
11楼#
发布于:2002-05-08 13:46
楼上的兄弟讲的这种处理机制乎和本帖的问题不相符,不过还是谢谢老兄指教了
|
|
|
12楼#
发布于:2002-05-10 12:35
我在做CSP的时候也遇到这个问题,而且我的分区是NTFS。我试验了很多方法都没用,包括CopyFileEx(使用标志COPY_FILE_RESTARTABLE),用安装大师做安装盘。
最后,我把硬盘挂到别人的机器上才替换成功。 |
|