September 10, 2009

Q: How can we relocate the event log files of our Windows Server 2003 and Windows Server 2008 file servers to a different drive?

RSS
Subscribe to Windows IT Pro | See More Windows OSs Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

A: On a Server 2003 machine, the event log files are, by default, located in the %WinDir%\System32\Config folder. On a Server 2008 machine, they default to the folder %WinDir%\System32\Winevt\Logs.

To relocate the event log files on Server 2003, you must modify the file system path stored in the "File" registry value. You can find this value in the registry key HKLM \SYSTEM\CurrentControlSet\Services\Eventlog\<EventLogName>. The <EventLogName> placeholder represents the name of the log for which you want to configure a different location—it can be the Application, System, or Security log. To apply the change, you must restart the computer.

In Server 2008, you can relocate the event log files from the Server Manager console. To do so, start Server Manager and expand Diagnostics/Event Viewer/Windows Logs in the console tree. Right-click the log for which you want to change the location and click Properties. Type the new file system location for the event log in the Log path box and click OK.

Related Reading:

End of Article



Windows IT Pro Community
Blogs





Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...


Related Events Deep Dive into Windows Server 2008 R2 presented by John Savill

Getting ready for Windows 7, eLearning series with Mark Minasi

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


SQL Server Magazine Office & SharePoint Pro DevProConnections asp.netPRO ITTV
IT Library Technology Resource Directory Connected Home Windows SuperSite
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc.     Terms of Use | Privacy Statement | Reprints and Licensing