Rada amatéra, zkoušels ten kód napsat opačně?regkey.SetValue("EnableTaskMgr", keyValueInt); nevím jestli to tak je ...