Forum Discussion
olha_serdiuk
Sep 12, 2024Copper Contributor
WebDav installation issue with IIS
Hi! I have failed installation IIS for Web Server on virtual machine windows server 2016, that have connection via proxy and I connected to it via xfreerdp. What it can be?  
kyazaferr
Nov 13, 2024Iron Contributor
Proxy Configuration
Since your VM is connected via a proxy, there may be network restrictions or misconfigurations affecting the installation of IIS and WebDAV. IIS may require external internet access for certain components or updates during installation, especially if you're using a remote desktop or RDP connection to perform the setup.
Solutions:
- Check Proxy Settings: Ensure that the proxy settings on the VM are configured correctly. Open Internet Options (Control Panel > Internet Options > Connections tab > LAN settings) and make sure the proxy server is properly set.
- Verify Proxy Access: Verify that the VM can access required external resources, such as Windows Update or the IIS installation files (if applicable). You can test this by trying to access a website from the VM or running ping commands to external servers to confirm there is no network block.
- Use Local Repository: If your proxy restricts access to external resources, try installing IIS and WebDAV from a local repository instead of downloading from the internet. You can use the Windows Server installation media or a local update server to install the features.
2. Permissions and Administrative Privileges
Installing IIS and the WebDAV feature requires administrative permissions. If you're connected via xfreerdp (a remote desktop client), there could be a permissions issue when trying to install IIS from the remote session.
Solutions:
- Run as Administrator: Ensure that you are logged into the VM with an account that has administrative privileges. When using xfreerdp, try to run the installation process by explicitly choosing the Run as Administrator option.
- Check User Account Control (UAC): Sometimes, UAC settings may block certain installation actions. You may want to temporarily disable UAC or adjust its settings to allow installation.
3. Corrupted Installation or Missing Features
It is possible that IIS or required features are not fully installed, or the installation might be corrupted, leading to issues when installing WebDAV.
Solutions:
- Install IIS Manually: Try installing IIS manually through the Server Manager:
- Open Server Manager and go to Add Roles and Features.
- In the wizard, select Web Server (IIS) and choose the required WebDAV features.
- Proceed with the installation and check the installation log for errors.