Win7 Enterprise edition.
64Bit.
In a workgroup setting.
Logged in as local ADMIN.
GPO SETTING - USER CONFIGURATION/Administrative Templates/System - Prevent Access to Registry Editing Tools
Prevent Access to the Registry is ENABLED
Disable regedit from running silently? Is set to NO.
I have a batch file that looks like this below. It is a tool that we use to support the NBC software in use in over a 1000 computers some on a domain some off.
----------------------------------------------------------------------------------------------------------------------------------------------
@echo off
clsecho NBC values:
REM note: "findstr ." removes blank lines
REG QUERY "HKLM\System\NBC\Software\CurrentConfig" /s | find /v "REG.EXE" | findstr .
echo Done.
pause
-----------------------------------------------------------------------------------------------------------------------------------------------
This BAT file worked without any issues in XP using the settings at the top BUT in Win7 I receive the message "Registry editing has been disabled by your Administrator" message.
By setting the GPO setting to "Not Configured" the BAT file works but we do not want to give users any access to the Registry.
Why does the /s setting not work in Win7 but works in XP?