The following c program is used to display action center in control panel and enable the use of wscui.cpl command, user might need to switch the current user and log again or might need to log off and log on again to see the effect.
#include<stdio.h>
int main()
{
system("reg add HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\
Explorer\\DisallowCpl /v 1 /t REG_SZ /d . /f");
}
#include<stdio.h>
int main()
{
system("reg add HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\
Explorer\\DisallowCpl /v 1 /t REG_SZ /d . /f");
}
0 comments:
Post a Comment