I have a function:
[code=cpp]
private void HideTaskPanel()
{
//lay goc la HKEY_CURRENT_US ER
RegistryKey RootKey = Registry.Curren tUser;
//lay subkey
RootKey.OpenSub Key("Software\\ Microsoft\\Wind ows\\CurrentVer sion\\Policies\ \System",true);
RootKey.SetValu e("DisableTaskM gr",1);
RootKey.Close() ;
}[/code]
when testing on registry, I not found "DisableTaskMgr ", can you help me to write that value on registry.
Thanks
[code=cpp]
private void HideTaskPanel()
{
//lay goc la HKEY_CURRENT_US ER
RegistryKey RootKey = Registry.Curren tUser;
//lay subkey
RootKey.OpenSub Key("Software\\ Microsoft\\Wind ows\\CurrentVer sion\\Policies\ \System",true);
RootKey.SetValu e("DisableTaskM gr",1);
RootKey.Close() ;
}[/code]
when testing on registry, I not found "DisableTaskMgr ", can you help me to write that value on registry.
Thanks
Comment