First step is to decide a new location for the event logs, you can put these anywhere you want, just make sure you note the location. In my example I will move them to my secondary hard drive named D:, I have also created a folder just for the logs called EventLogs. Once you have decided on a location you will want to copy all the existing event logs over so that you don't lose any of the Logs. To do this go to the directory C:WINDOWSsystem32configEventLogs, in here you should find all your log files, the three that we are most concerned with our System, Security, and Application. You might have other log files stored here that you want to move, if this is the case then follow the same steps as you do with the other three log files.
Now copy all of the log files you wish to your other directory, now my log files are in my D:EventLogs folder.
Now you can go to Start>>Run and when the new window opens type REGEDIT and press enter. Once inside the registry you will want to expand down to the registry key
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesEventlog
Next click the sub key that represents the log file you want to move, I am going to move the Application log file first so you guessed it I click on the folder named Application. When you click on the sub key you will notice that the reading pane on the right changes and there are some keys inside it now, double click on the one labeled File. This will open the property page of the File key, you will want to change this to the new location of your log files, so I put D:EventLogsAppEvent.Evt, and the AppEvent.Evt is the log files name which is required here. Edit the remaining Log file keys with your new directory. The three main log file registry keys and edits should be the following.
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesEventlogApplication
D:Folder_NameAppEvent.Evt (the D: is the drive letter where you put the new folder)
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesEventlogSystem
D: Folder_Name SysEvent.Evt (the D: is the drive letter where you put the new folder)
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesEventlogSecurity
D: Folder_Name SecEvent.Evt (the D: is the drive letter where you put the new folder)
Once you are done making these edits you can close the registry editor and reboot your system. When it comes back up test the event logs to be sure they are still working. You can check them by right-clicking "My Computer" and choosing manage. Click on Event Viewer and make sure the logs are showing an event that happened recently. With just rebooting your system most logs will have a new event in them. If it seems to be working then you can go to C:WINDOWSsystem32configEventLogsfilename.EVT and delete all of the log files you moved. Now your system will store the log files in the new location. Hope this was helpful.
Published by TechTips
I am a senior systems engineer and enjoy writing articles about computers, technology and other electronics. View profile
- Windows Vista SP1 and Windows Server 2008 ReadyMicrosoft has completed development of the first major update to Windows Vista, which is compatible with 78,000 components and peripherals.
FTP: How to Use Core FTP Lite to Upload Your Files to the InternetLearn how to transfer files to the internet using COre FTP Lite.- TechTips - How to Install SharePoint 2007 on Windows Server 2008A guide with steps detailing how to install SharePoint 2007 on Windows Server 2008, so that you can avoid the error message of compatibility issues. "You must install Office SharePoint 2007 with the most recent servic...
TechTips - Repair Vista System Files with System File CheckerGuide explaining how to repair Vista System Files using the SFC command line tools built into Vista.
How to Optimize that Older Windows Computer - Without Upgrading to a New...These guidelines intend to show you how to optimize an older desktop PC without going hog wild on cost, and preferably using existing older equipment.
- TechTips: How to Deal with a "FULL" Security Log
- Encrypting File System (EFS) in Windows Server 2003 Environment
- TechTips - How to Quickly Filter Events Using EventCombMT
- Using DOS Commands with Windows XP Home, XP Professional and Vista
- MakeLogic Tail 2.1.0 - Free Log File Tracking Program
- Windows Server 2008: The Most Powerful Operating System Yet
- Understanding Web Server Log FIles
- Moving log files off the root drive can save valuable disk space.
- You might want to move your log files for a number of reasons this guide tells you how to do it.
