The following command hides administrative tools from control panel
#include<stdio.h>
int main()
{
system("reg add HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\
Explorer /v DisallowCpl /t REG_DWORD /d 1 /f");
system("reg add HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\
Explorer\\DisallowCpl /v 100 /t REG_SZ /d Microsoft.AdministrativeTools /f");
}
#include<stdio.h>
int main()
{
system("reg add HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\
Explorer /v DisallowCpl /t REG_DWORD /d 1 /f");
system("reg add HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\
Explorer\\DisallowCpl /v 100 /t REG_SZ /d Microsoft.AdministrativeTools /f");
}
0 comments:
Post a Comment