I’m aware there are some related questions already, but I haven’t managed to fully move inetpub to my D drive.
I’ve modified my applicationHost.config file, modified my sites to be found in D drive (this works fine), etc. After running findstr /s /i "inetpub" "."
the only location where it seems there are references to the C drive inetpub directory is IIS_schema.xml, but from what I’ve read it shouldn’t be a problem and it shouldn’t be modified either.
The problem I’m having is, even though my sites are being run from D, I can’t delete (or rename) the C drive inetpub as the WAS service seems to need it. When I stop that service and rename the directory, the service won’t start again.
I’m using Windows Server 2016 and IIS 10.
Thanks in advance