![]() |
|
[C#] Regedit and cmd - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [C#] Regedit and cmd (/showthread.php?tid=6182179) |
Regedit and cmd - 00xByte - Nov 23, 2021 how to disable regedit and cmd using c# ? RE: Regedit and cmd - Terry A. Davis - Dec 5, 2021 Find the associated registry keys, look at the Microsoft GPO files, they will have what keys, I'm not providing, think of it as an exercise for the reader. RE: Regedit and cmd - oje28830 - Dec 21, 2021 There's multiple ways, best one is to edit the policy using the GPO api - https : //docs . microsoft . com/en-us/windows/win32/api/_policy/ You could also use WMI ProcessTrace component to check which processes are launching and then terminate them. Here's a .NET wrapper for GPO manipulations - https : //github . com/FSecureLABS/SharpGPOAbuse |