Tuesday, September 18, 2007

The .adm file cpao12.adm is not in a valid format and must be replaced. Details: A string is expected at line 56.

The group policy templates for Office 2007 are a great help to system administrators, however upon installing them and setting the default template path for our workgroup – I received that error. (with the path to file before cpao12.adm)

A workaround courtesy of Felix on mcse.ms, edit cpao12.adm in notepad, and change every value of the following:

VALUEON !!L_true

VALUEOFF !!L_false

To

VALUEON NUMERIC 1
  

VALUEOFF NUMERIC 0

Do a replace all on that, and then while you are there, fix up outlk12.adm, changing:

KEYNAME Software\Policies\Microsoft\Office\12.0\Outlook\Security

VALUEON NUMERIC 1    

VALUEOFF NUMERIC 0    

VALUENAME PromoteErrorsAsWarnings    

EXPLAIN !!L_PromotingerrorsaswarningsExplain    

END POLICY

To

KEYNAME Software\Policies\Microsoft\Office\12.0\Outlook\Security

VALUENAME PromoteErrorsAsWarnings    

VALUEON NUMERIC 1    

VALUEOFF NUMERIC 0    

EXPLAIN !!L_PromotingerrorsaswarningsExplain    

END POLICY

There should be one instance of that (though there is a lot of outlook security keynames,
 so search for 'PromoteErrorsAsWarnings'. 

1 comment:

Unknown said...

It's Very GOOD !
You help me to fix the problem !!!

How come there have no solution from Microsoft !?