question

AndyHarris-4086 avatar image
1 Vote"
AndyHarris-4086 asked yagmoth555 answered

BGInfo not being applied for users with registry editing restriction

I have set up BGInfo to be applied to users via a logon script in a GPO. The batch file being executed is shown below:
reg add HKEY_CURRENT_USER\Software\Sysinternals\BGInfo /v EulaAccepted /t REG_DWORD /d 1 /f
%logonserver%\NETLOGON\Bginfo\Bginfo64.exe %logonserver%\NETLOGON\Bginfo\bg_config.bgi /silent /TIMER:00 /nolicprompt

This works correctly for all users, except for students who have the following set via GPO:
Prevent access to registry editing tools Enabled
Disable regedit from running silently? No


I'm assuming this registry restriction is blocking the addition of the registry key in the batch file.

Can anyone offer any suggestions about how to resolve this issue?

windows-sysinternals-bginfo
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

yagmoth555 avatar image
0 Votes"
yagmoth555 answered

Use another GPO that target your student, but with Group Policy Preference and set the registry settings by there.

The fact you launch reg.exe to make the change is what block you there.

Some example for GPP;

199321-image.png

That way your setting for the registry editor will still hold.


image.png (74.1 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.