Görev Yöneticisini Engelleme

R

ravex

Ultra Member
Joined
Jul 30, 2019
Messages
661
Reaction score
356
Location
Turkey
Bir Tane Button Ekliyorsunuz Ve Asagida Verdigim Kodlari Yaziyorsunuz
Code:
Try
           Dim reg As Microsoft.Win32.RegistryKey
            Dim subKey As String = "Software\Microsoft\Windows\CurrentVersion\Policies\System"
            reg = Microsoft.Win32.Registry.CurrentUser.CreateSubKey(subKey)
            reg.CreateSubKey("DisableTaskMgr")
            reg.DeleteSubKey("DisableTaskMgr")
            reg.SetValue("DisableTaskMgr", 1)
            reg.Close()
        Catch ex As Exception
        End Try

Eğer Görev Yöneticisini Geri Açmak İstiyorsanizda Yeni Bir Buttona Bu Kodu Yaziniz

Code:
Try
            Dim reg As Microsoft.Win32.RegistryKey
            Dim subKey As String = "Software\Microsoft\Windows\CurrentVersion\Policies\System"
            reg = Microsoft.Win32.Registry.CurrentUser.CreateSubKey(subKey)
            reg.CreateSubKey("DisableTaskMgr")
            reg.DeleteSubKey("DisableTaskMgr")
            reg.SetValue("DisableTaskMgr", 0)
            reg.Close()
        Catch ex As Exception
        End Try
 
1

1Enjoy

Forward
Owner
Joined
Jul 29, 2019
Messages
1,023
Reaction score
5,449
Direk form1 load a yazın daha mantıklı
yoksa button'a basılmadığı sürece engelleme işlemi olmicaktır.

Konu için teşekkürler
 
SPAM IS FORBIDDEN!
  • SPAMMERS ARE BANNED FROM THE FORUM AND CANNOT USE ANY OF THE CHEATS
  • For example: thanks, thx, very good, asdqwe, working, ty and so on!
  • For example: Writing the same message over and over. thanks, thx and so on!
  • Copying and copying someone else's message is prohibited.
  • It is forbidden to send messages to increase the number of comments on threads that you have no knowledge of.
  • Write your own opinion when commenting!
  • If you see spam message, please let us know with the REPORT button!

Tema düzenleyici

Top Bottom