Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Disable Regedit, Run, CMD, Right click in VB.net

Hello Friends.

This is the way i use to Disable Regedit, Run, CMD, Right click in My project. VaQS v3


Disable Regedit
Code
My.Computer.Registry.SetValue("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System", "DisableRegistryTools", "1")

Disable Run
Code
My.Computer.Registry.SetValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer", "NoRun", "1")

Disable Rightclick
Code
My.Computer.Registry.SetValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer", "NoViewContextMenu", "1")

Disable CMD
Code
My.Computer.Registry.SetValue("HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System", "DisableCMD", "2")



This code is written by me no copy pasting.

Enjoy.
This is ok been posted alot and needs admin but its ok
numair add me on msn: [email protected]
Delete some PM's. I can't Pm you :P
(May 15, 2010 04:23 AM)Matt39 Wrote:  Nice but if you Disable Regedit the Function:
Code
My.Computer.Registry.SetValue
Wont Work

Agreed, you should this line last, because once that line has been executed the other command lines wont work.
Thank you. I'll add this to my upcoming project :)
Ok if it works thanks for youre post buddyu


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by eras269Feb 8, 2022 01:12 PM 0 106 Feb 8, 2022 01:12 PM
Last Post: eras269
[C#] by 00xByteDec 21, 2021 11:42 AM 2 188 Dec 21, 2021 11:42 AM
Last Post: oje28830
[.NET] by 00xByteDec 2, 2021 05:15 AM 1 140 Dec 2, 2021 05:15 AM
Last Post: gghitman