[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 139
  • Last Modified:

Moving Inetpub folder to another drive in SBS2011

IIS VersionHi,
  I have SBS2011 and I noticed that Inetpub folder is located in F drive. I like to move it to C drive.
  When I open F:\Inetpub, I see a bunch of W3SVC folders under F:\Inetpub\Logs\LogFiles. Fyi this server does not host any websites.
  How can I move it safely?
  When I run IIS Manager, I see this under Help/About.

Thanks.
0
sglee
Asked:
sglee
  • 7
  • 7
1 Solution
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
> Fyi this server does not host any websites.
This is untrue.

The server hosts OWA for Exchange
The server hosts WSUS for updating PCs - which uses web technologies
The server hosts RWA for remote access
The server may hosts Sharepoint sites

All these are web based.

You can relocate them to C: but why?  NORMALLY I don't move them off C: but I certainly don't object to having them off C:... good for you (or your predecessor) for doing so.
1
 
sgleeAuthor Commented:
I stand corrected. IIS is needed for OWA, RWW and WSUS.
I am in the process of removing F drive completely, so I need to move it back to C drive. It is not an option for me.
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
You can steadily re-adjust the locations of everything...

If you provide more information as to what exactly you're doing with the server (why are you removing a drive) we may be able to offer better advice.
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
sgleeAuthor Commented:
The reason for moving is that I am moving the server to virtual environment.
0
 
sgleeAuthor Commented:
Inetpub folder in C driveLog files in C driveInetpub folder in F driveLog files in F driveSomething I just discovered and should have been included my original posting:
I was checking the C drive and saw C:\Inetpub folder there too.
It appears that C drive has more current file dates & time too.
I don't understand why Inetpub folder is in two separate location.
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
Hyper-V or VMWare?

Use the Proper P2V tools and just convert - there's no reason you need to get rid of drives.
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
It's possible someone COPIED or more likely MOVED them to the F: drive to free space on C.  Those are log files so you can technically delete them but I don't like doing that... logs help resolve issues, sometimes ones you didn't even know you had.
0
 
sgleeAuthor Commented:
I like to know why this folder is found in two different drives and still need to consolidate.
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
I'll repeat:

It's possible someone COPIED or more likely MOVED them to the F: drive to free space on C.  Those are log files so you can technically delete them but I don't like doing that... logs help resolve issues, sometimes ones you didn't even know you had.

You DON'T need to consolidate.  Proper P2V allows multiple drives.
1
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
Windows / SBS / IIS did NOT create them in two places - a HUMAN did the second one...
1
 
sgleeAuthor Commented:
I am the one who set this up back in 2012. I don't recall if and why why I might wanted to create F:\Inetpub.
I will need to get rid of F drive and it is not an option.
Is there a way to determine what program uses this F:\Inetpub folder when there is C:\Inetpub?
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
I give up.  Unless you want to share more details so I better understand your issues, I can't help you any more.

Last tip.  RENAME the folder on F:.  Does it allow it?  If not, look through the files for the most recent modified date. once you know what files are actively in use you can figure out what is using them and change the settings.
1
 
sgleeAuthor Commented:
Yes I was able to rename it.
0
 
sgleeAuthor Commented:
Log File Folders in F DriveI remember trying to delete WSUS folder around 6/12/2016 from F:\WSUS folder. I think that is when I removed Windows Server Update Service Role in Server Manager, disabled "Specify intranet Microsoft update service location although I actually deleted .mdf and .ldf files this week.
Maybe WSUS has been creating and updating log files in F:\Inetpub\Logs\LogFiles\W3SVC1572271583 folder and it stopped when I removed WSUS role from SBS2011. Maybe I can simply delete this folder without consequence.
Other W3SVC folders have file dates from 2011 thru 2013.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 7
  • 7
Tackle projects and never again get stuck behind a technical roadblock.
Join Now