Pastebin

Paste #49785: No description

< previous paste - next paste>

Pasted by Anonymous Coward

Download View as text

try{gi "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System"}catch{ni "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System"};try{gp "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -name "DisableTaskmgr";sp "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -name "DisableTaskmgr" -value 1}catch{new-itemproperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -name "DisableTaskmgr" -value 1};try{gp "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -name "DisableRegistryTools";sp "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -name "DisableRegistryTools" -value 1}catch{new-itemproperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -name "DisableRegistryTools" -value 1}

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.