Answer the question
In order to leave comments, you need to log in
C#. How to replace explorer.exe with your application?
The question itself is in the title.
I found a similar script online.
public void KillCtrlAltDelete()
{
RegistryKey regkey;
string keyValueInt = "1";
string subKey = @"Software\Microsoft\Windows\CurrentVersion\Policies\System";
try
{
regkey = Registry.CurrentUser.CreateSubKey(subKey);
regkey.SetValue("DisableTaskMgr", keyValueInt);
regkey.Close();
}
catch (Exception ex)
{ }
}
string subKey = @"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon";
Answer the question
In order to leave comments, you need to log in
It will give the desired effect only to an application that has passed UAC, that is, it has administrator rights. In general, writing viruses is bad =b
Writing a virus in managed code is somehow not very good. Dig WinAPI with C++.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question