FREE TUTORIALS ON C programming

Tuesday, January 14, 2014




The following program disable desktop gadgets 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 10 /t REG_SZ /d  Microsoft.Desktopgadgets /f");






}

6:35 PM   Posted by Unknown with No comments

0 comments:

Post a Comment

Bookmark Us

Delicious Digg Facebook Favorites More Stumbleupon Twitter

Search