Cannot Purge or Move log files
I have a client that is running Exchange 2003 SP1 on Windows 2003 SP1. We wanted to turn on the automatic removal of the Exchange Server log files. When I go into the properties for the server, on the General tab there is a check-box that can be enabled to allow you to input a number in the "Remove files older than (days):" text box. However, if I make modifications and try to Apply them, I get the following error message:
Illegal path format.
Facility: Microsoft Exchange ManagementID no: c1034930Microsoft Exchange Management
In looking at the Log file directory, it contains the following data:
Either a required impersonation level was not provided, or the provided impersonation level is invalid.
Facility: Win32ID no: c0070542Microsoft Exchange Management
If I change the path to something valid and try to apply it, it gives the same error.
We had had a similar problem on the server several years ago, and it ended up being tied to issues with WMI. When I go into the WMI Control and open up properties, I see the following:
Failed to initialize all required WMI classes.
Win32_Processor: WMI: Access deniedWin32_WMISetting: SuccessfulSecurity information: SuccessfulWin32_OperatingSystem: WMI: Access denied
This is where we had the problems before. We ended up calling Microsoft and resolving the issue by running a script that rebuilt the WMI. In doing some research, I found the following script that is supposed to do this:
FIXWMI.CMD ------------------------ @echo on cd /d c:\temp if not exist %windir%\system32\wbem goto TryInstall cd /d %windir%\system32\wbem net stop winmgmt winmgmt /kill if exist Rep_bak rd Rep_bak /s /q rename Repository Rep_bak for %%i in (*.dll) do RegSvr32 -s %%i for %%i in (*.exe) do call :FixSrv %%i for %%i in (*.mof,*.mfl) do Mofcomp %%i net start winmgmt goto End :FixSrv if /I (%1) == (wbemcntl.exe) goto SkipSrv if /I (%1) == (wbemtest.exe) goto SkipSrv if /I (%1) == (mofcomp.exe) goto SkipSrv %1 /RegServer :SkipSrv goto End :TryInstall if not exist wmicore.exe goto End wmicore /s net start winmgmt :End
I have run this script, and it did appear to go thru and re-register everything, but the WMI Control still has the 'Access denied' errors. This machine is a DC and I am logged on as a Domain Admin. Can anyone advise anything further before I contact Microsoft again?
Thanks.
November 13th, 2006 9:31pm