Not able to access registrty beyond a certain level, does it need admin rights? If yes, how to do it?
Unsolved
General and Desktop
-
I'm trying to access this location in windows registry - "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\MySampleTask".
I'm able to reach till & fetch value till - "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule"
QSettings currVersionKey("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Schedule\\",QSettings::NativeFormat); QStringList keylist = currVersionKey.childGroups(); bool bStatus = keylist .contains("TaskCache"); if(bStatus ) { QVariant taskCache = currVersionKey.property("TaskCache"); // RETURNS NULL }
How to access remaining folder i.e. "TaskCache\Tree\MySampleTask" ? Is there any way? By elevating to admin rights?
Thanks in advance.