Re: Event Log Files

From: Laura E. Hunter \(MVP\) (hunter(nospamplease)_at_sfs.upenn.edu)
Date: 04/14/04


Date: Wed, 14 Apr 2004 09:15:43 -0400

http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q216/1/69.ASP&NoWebContent=1

To modify the location of the Event Viewer log files:
Click Start, click Run, type regedt32, and then click OK.
On the Windows menu, click HKEY_LOCAL_ MACHINE on Local Machine.
For the System log:
Click the System\CurrentControlSet\Services\EventLog\System folder, and then
double-click the FILE value.
Type the new drive and path in the String box, include the file name
\SysEvent.Evt, and then click OK. The default path is
%SystemRoot%\System32\Config\SysEvent.Evt
For the Application log:
Click the System\CurrentControlSet\Services\EventLog\Application folder, and
then double-click the FILE value.
Type the new drive and path in the String box, include the file name
\AppEvent.Evt, and then click OK. The default path is
%SystemRoot%\System32\Config\AppEvent.Evt
For the Security log:
Click the System\CurrentControlSet\Services\EventLog\Security folder, and
then double-click the FILE value.
Type the new drive and path in the String box, include the file name
\SecEvent.Evt, and then click OK. The default path is
%SystemRoot%\System32\Config\SecEvent.Evt
Quit Registry Editor, and then restart the computer.

(All usual disclaimers and warnings regarding the perils of Registry editing
apply.)

-- 
******************************
Laura E. Hunter - MCSE, MCT, MVP
Replies to newsgroup only
"Manish" <anonymous@discussions.microsoft.com> wrote in message 
news:D2A06D5C-003A-4E62-B14E-793BB33E0FDA@microsoft.com...
> hi
>
> does anybody know , how to change the default file location where windows 
> log files are stored. any help in this regard will be greatly appreciated.
>
> regards
> Manish 


Relevant Pages

  • Re: How do I delete a folder through code?
    ... SHFILEOPSTRUCTW info =; ... SHFileOperation function the string field is designed to handle a ... This folder contains a long chain of subfolders that exceeds Window's ... I originally get the name of the folder from a Windows ...
    (microsoft.public.vc.mfc)
  • Re: Other version information
    ... header to locate the resource table. ... Windows PE files ... marked by a literal string. ... files in a folder, ...
    (microsoft.public.scripting.vbscript)
  • Re: just to clarify ...
    ... Generally it's correct, but if for some reason the call fails, Ret will be 0 ... string if the call failed. ... For example purposes I used small Access dbase located in System32 folder. ... Will it work on any Windows based systems? ...
    (microsoft.public.vb.general.discussion)
  • Re: locate a file using vba - I am stack
    ... why not use the standard Windows File dialog (see ... >C:\0Templates folder when the user click the button? ... >>> Dim strPath As String ...
    (microsoft.public.access.modulesdaovba)
  • How to designate a folder as a drive D
    ... How can I create a new folder on C and ... have windows 2000 regard it as a new drive D? ... network connection since the computer is in a remote trailer. ...
    (microsoft.public.win2000.file_system)