怎样在Win2000下删除系统的DLL文件?

clam3485 2002-10-03 05:26:18
怎样在Win2000下删除系统的DLL文件?(直接删除将出错)
(在Win98下可使用Wininit.ini, 那么在Win2000下呢?)
...全文
49 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
clam3485 2003-03-09
  • 打赏
  • 举报
回复
算了吧,这个东西并没有什么价值。
所谓之,Windows一更新换代就没用了。
就此打住吧。
milpas 2003-02-26
  • 打赏
  • 举报
回复
1.在安全模式下可以,但是很麻烦
2.在没打SP之前改注册表然后重启一次就可以(改哪个KEY我忘了,你可以找找)
其它的就不行了,MS的WFP还是蛮厉害的,研究了很久也没搞定
loveyankee 2003-02-21
  • 打赏
  • 举报
回复
你们还是放弃这个想法吧
在2000下(尤其是你打了SP2或者SP3之后)想更改文件什么的,似乎不太现实吧?
真把微软想得也太弱智了点吧?

不相信你可以自己试试,就连你删除一个Wscript.exe,它也会自动copy一份,呵呵
ly_liuyang 2003-02-20
  • 打赏
  • 举报
回复
好像MoveFileEx也OK的,保护的文件就不行了
The MoveFileEx function renames an existing file or directory.

BOOL MoveFileEx(

LPCTSTR lpExistingFileName, // address of name of the existing file
LPCTSTR lpNewFileName, // address of new name for the file
DWORD dwFlags // flag to determine how to move file
);


Parameters

lpExistingFileName

Points to a null-terminated string that names an existing file or directory.

lpNewFileName

Points to a null-terminated string that specifies the new name of lpExistingFileName.
When moving a file, the destination can be on a different file system or drive. If the destination is on another drive, you must set the MOVEFILE_COPY_ALLOWED flag in dwFlags.
When moving a directory, the destination must be on the same drive.

Windows NT:
//Reboot时,替换文件!
If dwFlags specifies MOVEFILE_DELAY_UNTIL_REBOOT, lpNewFileName can be NULL. In this case, MoveFileEx registers the
//可以删除文件的
lpExistingFileName file to be deleted when the system reboots.
clam3485 2003-02-20
  • 打赏
  • 举报
回复
是wininit.ini吧,好像不行耶.
stanely 2002-11-01
  • 打赏
  • 举报
回复
系统下次启动的时候会在启动windows之前运行win.ini的脚本,并且在运行玩就删除win.ini所以你启动windows以后看不到这个文件。
但是可以自己建立这个文件。具体的section和ident网上有很多资料,去google查吧
stanely 2002-11-01
  • 打赏
  • 举报
回复
写win.ini
电脑抱上介绍得多了!
ZHENG017 2002-11-01
  • 打赏
  • 举报
回复
好像不可能吧.m$有保护的如果它的dll被改掉它又用重新copy.以前替换dll的方法行不能的.
zyq2137 2002-11-01
  • 打赏
  • 举报
回复
建立一个批处理文件如:

c:\type a.bat

del c:\winnt\system32\a.dll
ren c:\winnt\system32\b.dll c.dll
运行该BAT文件

xue_fg 2002-10-25
  • 打赏
  • 举报
回复
建议你进入纯DOS,如果没有建议你先装一个吧!!
wanderung 2002-10-25
  • 打赏
  • 举报
回复
因为这些动态连接库在系统进程中,所以不能直接删除~!

1,184

社区成员

发帖
与我相关
我的任务
社区描述
Delphi Windows SDK/API
社区管理员
  • Windows SDK/API社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧