Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Moving IIS Log Files to another Drive on Server 2012

Posted on 2014-09-24
13
923 Views
1 Endorsement
Last Modified: 2014-09-24
Hi

I have a exchange mail server that is running low on disk space. I would like to move the logfiles to D drive from the current C drive (%SystemDrive%\inetpub\logs\LogFiles).  Can I just change the setting and restart the IIS Admin?  Will it move the current log files? If not can I delete them too?

Regards

Yamin
1
Comment
Question by:yaminz66
  • 6
  • 5
  • 2
13 Comments
 
LVL 29

Accepted Solution

by:
becraig earned 167 total points
ID: 40341010
Here are some steps on doing this, also applicable in later versions of IIS no restart is needed, but you can safe run:
iisreset /noforce


http://exchangeserverpro.com/change-log-file-directory-iis7/
0
 
LVL 4

Assisted Solution

by:Vishalnarse
Vishalnarse earned 333 total points
ID: 40341029
0
 

Author Comment

by:yaminz66
ID: 40341039
Hi

thank you - both responses are great. I had a feeling this would be matter of simply pointing to a new drive, but wanted to be certain.

Yamin
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:yaminz66
ID: 40341042
Hi

I will do the move tonight, as users are on the system now.

Yamin
0
 
LVL 29

Expert Comment

by:becraig
ID: 40341043
Sounds great, happy to be able to help, you can change the logs at any point and then move them later.

There is no requirement for users to be offline in order to accommodate this.
0
 
LVL 4

Expert Comment

by:Vishalnarse
ID: 40341062
That great, I glade to help you, if you need any further assistance please me know.

Thank you.
0
 

Author Comment

by:yaminz66
ID: 40341273
HI

The system went down again so I have been forced to change the directory to the new drive.

As for the old log files can I just move them or delete them

Regards

Yamin
0
 
LVL 4

Expert Comment

by:Vishalnarse
ID: 40341301
You can try and change the path.
0
 

Author Comment

by:yaminz66
ID: 40341305
Hi

Yes I have changed the path - but the old log files are still taking up space on the old drive. I am asking about those - can I delete them? I have moved them to the new drive in a different directory, as time was short.

Regards

Yamin
0
 
LVL 4

Expert Comment

by:Vishalnarse
ID: 40341307
Can you please share the screenshot path change and old path.
0
 

Author Comment

by:yaminz66
ID: 40341313
The old path was - c:\inteput\logs\logfiles\

New path is - D:\inteput\logs\logfiles\
0
 
LVL 4

Assisted Solution

by:Vishalnarse
Vishalnarse earned 333 total points
ID: 40341314
Yes you can delete with confirm that you have take the backup.
0
 
LVL 4

Expert Comment

by:Vishalnarse
ID: 40341318
If you need more help on this you can share remote via teamviewer 9.
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question