JSI Tip 9545. How can a logon script import .REG files if the 'Prevent access to registry editing tools' policy is enabled, or the DisableRegistryTools Value Name is set to 1?

Jerold Schulman

July 11, 2005

1 Min Read
ITPro Today logo

If the Prevent access to registry editing tools policy is enabled for a user, or the DisableRegistryTools Value Name is set to 1, a user cannot import a .REG file.

If you require that a logon script import a .REG file, download and unzip Regpol.zip.

You can locate the Regpol.exe any place that it is accessible, like on the NetLogon share of each domain controller.

In the logon script, you can, for example, use the following command:

"%LOGONSERVER%Netlogonregpol.exe" "%LOGONSERVER%NetlogonMyRegFile.REG"

NOTE: Regpol.exe runs on Windows 2000, Windows XP, Windows Server 2003, and later.

NOTE: Regpol.exe uses the Windows Registry Editor Version 5.00 file format.



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like