Whenever you start any Microsoft Office 2003, Office XP, or Office 2000 program, like Word or Excel, the End User License Agreement (EULA) dialog appears. If you press I Accept, the EULA dialog disappears and reappears. If you press I Accept again, the EULA dialog disappears, and the Office program works normally, until the next time you start it.

This behavior will occur if your user account DOES NOT have permission to modify the Microsoft Office entries in the registry.

Using the corrected version of SubInAcl, I have scripted FixMyOffice.bat to correct the problem.

The procedure for using FixMyOffice.bat is:

1. Log on as the Administrator, or as a user that is a member of the local Administrators group.

2. Open a CMD.EXE window.

3. Type Drive:\Folder\FixMyOffice and press Enter, where Drive:\Folder is where you create the FixMyOffice.bat file.

FixMyOffice.bat contains:

@echo off
setlocal
for /f "Tokens=*" %%r in ('reg query "HKEY_LOCAL_MACHINE\Software\Microsoft\Office"^|FIND "."') do (
 subinacl /subkeyreg "%%r" /GRANT=Users=F
)
endlocal