删除system32目录中的System文件 [英] Deleting a System file in system32 directory

查看:382
本文介绍了删除system32目录中的System文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Suaidh。



i希望制作一个按钮事件来删除系统文件(%windir%\ systemL \ sethc.exe ).i想通了我需要首先拥有所有权。但即使这样一个错误。访问被拒绝被警告。

i想要删除它点击没有其他复杂情况。





我是C#编程的新手,所以我希望有人知道该语言来帮助我

解决这个问题。

和...我会确保没有用户受此影响。我已经采取了备份。这也只是为了理解在这种情况下使用的方法。 :)

提前感谢。

Hi, i am Suaidh.

i want to make a button event to delete a system file ("%windir%\system32\sethc.exe").i figured out i need to take ownership first to do it.but even then an error."access denied " was alerted.
i want to delete it on click no other complications.


I am new to C# programming so i would like someone who already knows the language to help me
solve this problem.
and ... I'll make sure no user is affected by this.as i have already taken a backup.and also this is just to understand the method used in such cases. :)
thanks in advance.

推荐答案

为了从System32文件夹中删除任何文件,您需要完全管理员权限 - 您需要可能不会也可能不应该。



为什么要删除Windows的一部分:SETHC.EXE是一个用于控制某些部分的系统应用程序可访问性选项,并删除它可能会对您的用户产生不良影响。
In order to delete any file from the System32 folder, you need full admin permissions - which you probably don't and probably shouldn't have.

Why would you want to delete a part of Windows anyway: SETHC.EXE is a system app for controlling some of the accessibility options, and removing it may have undesired effects on your users.


首先检查没有编码转到sys32目录并尝试从那里删除它是否有效然后尝试从编码如果你不删除然后你不能从编码
first check without coding go to sys32 dir and try to delete from there if it works then try from coding if u dont delete then u cant do it from coding


这篇关于删除system32目录中的System文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆