rdp / screen-capture-recorder-to-video-windows-free

a free open source windows "screen capture" device and recorder (also allows VLC/ffmpeg and others to capture/stream desktop/audio)
https://github.com/rdp/screen-capture-recorder-to-video-windows-free/releases
Other
2.09k stars 458 forks source link

capture_mouse_default_1 registry key has no effect when running as local SYSTEM account #70

Closed ccc-tomr closed 8 years ago

ccc-tomr commented 8 years ago

Awesome SW!

I use it a lot but recently found one minor bug:

The status (0 or 1) of the registry key 'capture_mouse_default_1' doesn't disable mouse grabbing when screen-capture-recorder is running within the local SYSTEM account. I.e. in order to grab the login or screensaver screen as part of a remote desktop solution.

If screen-capture-recorder is running as a regular user account or as admin, the 'capture_mouse_default_1' key influences the mouse capturing correct.

rdp commented 8 years ago

interesting, must be because I use "HKCU" (current user) for the registry I read from...the reason for that is that it is writable "without special permissions" for the logged in user. Alternative suggestion?

On Sun, Feb 28, 2016 at 10:27 PM, Thomas Ruge notifications@github.com wrote:

Awesome SW!

I use it a lot but recently found one minor bug:

The status (0 or 1) of the registry key 'capture_mouse_default_1' doesn't disable mouse grabbing when screen-capture-recorder is running within the local SYSTEM account. I.e. in order to grab the login or screensaver screen as part of a remote desktop solution.

If screen-capture-recorder is running as a regular user account or as admin, the 'capture_mouse_default_1' key influences the mouse capturing correct.

— Reply to this email directly or view it on GitHub https://github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/70 .

ccc-tomr commented 8 years ago

Yea, that might be it. I am not a big registry key expert but I wonder whether HKLM is a better place to put screen-capture-recorder's keys.

ccc-tomr commented 8 years ago

You were right.

After some googling about where a local system account reads out registry keys, I found this: https://social.msdn.microsoft.com/Forums/vstudio/en-US/cef6584d-d05e-4510-a7c2-7ab529c303f9/setting-user-registry-keys-hkcu-from-a-local-system-account-service?forum=vcgeneral

I did a little experiment: Adding a capture_mouse_default_1 DWORD key to HKEY_USERS/.DEFAULT/Software/screen-capture-recorder, this key DOES influence the capture of the mouse when running screen_capture_recorder as local system account.

Problem solved, closing...

rdp commented 8 years ago

Nice!

On Sat, Mar 5, 2016 at 10:00 AM, Thomas Ruge notifications@github.com wrote:

You were right.

After some googling about where a local system account reads out registry keys, I found this:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/cef6584d-d05e-4510-a7c2-7ab529c303f9/setting-user-registry-keys-hkcu-from-a-local-system-account-service?forum=vcgeneral

I did a little experiment: Adding a capture_mouse_default_1 DWORD key to HKEY_USERS/.DEFAULT/Software/screen-capture-recorder, this key DOES influence the capture of the mouse when running screen_capture_recorder as local system account.

Problem solved, closing...

— Reply to this email directly or view it on GitHub https://github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/70#issuecomment-192686541 .