/RunElevated for all sections

Beiträge: 800
Registriert: 22 Jun 2012, 19:18

/RunElevated for all sections

Beitragvon SisterOfMercy » 04 Jul 2017, 23:51

Some registry keys are owned by TrustedInstaller. With a workaround you can change registry keys that are 'protected' by TrustedInstaller. This involves creating a .bat file and running this with the RunFromToken program. This is a bit of a hassle.

Running a registry section elevated or with trustedinstaller credentials might prevent messages like this in the logfile, as these happen quite often:

Code: Alles auswählen

[6] [Jul 04 21:08:29:786] [win7-settings]               Registry key [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\Autologger\SQMLogger]  opened
[6] [Jul 04 21:08:29:786] [win7-settings]                 Key closed
[6] [Jul 04 21:08:29:786] [win7-settings]                 Info: Registry key [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\Autologger\SQMLogger\{2ff3e6b7-cb90-4700-9621-443f389734ed}]   could not be opened by RegOpenKeyEx,  Errorno 5 "Access is denied.<"
[6] [Jul 04 21:08:29:786] [win7-settings]                 Registry key [HKEY_LOCAL_MACHINE\]  opened
[5] [Jul 04 21:08:29:786] [win7-settings]                 Error: subkey "{2ff3e6b7-cb90-4700-9621-443f389734ed}" could not be deleted.  Errorcode 5. Message "Access is denied.<"
[6] [Jul 04 21:08:29:786] [win7-settings]                 Key closed
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!

Zurück zu „Comments, suggestions, wish list“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast