Cannot access IIS manager on my server 2019 through windows 10 - iis

I created a VM server 2019 and I don't want my employees to have remote access to the server. But I want them to be able to access the IIS on the server through a windows 10 machine. I went to the IIS manager in the server and added the users to the IIS manager permission through active directory. On my windows 10, I went to control panel-Programs-Turn Windows Feature on or off and enabled the IIS. So what's happening is that they can find the IIS Manager app under the start menu on windows 10, but when they try to open it there's a pop-up asking if want to allow changes to the device, then it asks for their passwords. And after they enter the password a new pop-up comes up saying I need to be an Administrator to use IIS manager. They are not admin to windows 10 and I don't want for them to be admin. Any idea how I can fix this?

Remote administration 1.2 no longer available for download.
Make sure the WinRM IIS Extension is checked and installed on Win Server 2019 (Under "Feature" selection. (Add Roles and Features Wizard)
This is the missing piece that took me an hour to figure out in the latest version.

It sounds like you need to delegate IIS administration to non-admin user.
Then you need to install IIS manager for remote administration 1.2 as lex said. Once you install it, IIS will no longer as for administrator prevelige.
The next you need to do is install IIS management and create IIS manager user. Then you could add your win10's IP to management service IP restirction, so only your win 10 have permission to connect the server.
PS:Please remember to allow 8172 in windows firewall.
https://learn.microsoft.com/en-us/archive/blogs/leesab/delegating-iis-administration-to-domain-users-non-administrators

Related

Remote Desktop Services error on WS 2012

I have Remote Desktop Services running on Windows Server 2012 R2. This feature is still working just fine. I can log into the RD Web page, and access all of my remote applications that I have published.
However, I can no longer manage the deployment. When I launch server manager, and navigate to Remote Desktop Services, I see a message "A Remote Desktop Services deployment does not exist in the server pool. To create a deployment, run the Add Roles and Features Wizard and select the Remote Desktop Services installation option."
When I click manage > Add Roles and Features. The RD Web components are showing as installed. This just started happening recently. Does anyone know why?
I fixed it! I'm not sure why this fixed it, but disabling the options for IPv6 worked. Basically, go into your NIC adapter properties, and uncheck the box next to IPv6.

Remotely manage IIS on NANO 2016 using IIS Manager

Is it possible to remotely manage an IIS server, running on Server 2016 NANO using the IIS Manager 10 from the client?
I have a newly created nano VM. I've installed IIS, dotnet, IIS Administration API, and File Services on it. IIS is working from the client side. I can see the default page when I browse to the VM's IP address. I can authenticate to the IIS Administration API through the browser. I can copy files from the client machine to the server's inetpub\wwwroot directory through Windows Explorer. Everything seems to be working but when I open IIS Manager 10 on my client machine and try to connect it to the nano server, I get an error message that says "Could not connect to the specified computer. Details: The remote server returned an error: (401) Unauthorized."
I've already followed the instructions at
https://blogs.iis.net/adminapi/microsoft-iis-administration-on-nano-server
That's how I've gotten as far as I have but now I'm just stuck and can't seem to find any path forward.
EDIT: BTW, I am able to connect to the site and administer it with http://manage.iis.net/
As far as I can tell, it's not possible.
You can see what's available with dism /online /get-feature, but IIS-WebServerManagementTools is not in that list.

Web Deploy from Visual Studio 2012 to a remote IIS 8 server

I have a remote Windows 2012 server running IIS 8 from which I am hosting a web application. My local development box is running Visual Studio 2012. Currently I am publishing my app as a web deployment package (.zip), RDP'ing to the production server, copy + pasting to a folder and deploying the application from within IIS. My question is, what changes do I need to make to deploy directly to IIS from Visual Studio 2012 using the web deploy option?
I have tried to follow this guide but it refers to a service URL which I must obtain from my hosting company. I don't have a hosting company, my server is co-located.
I am presented with the following options:
Is the username and password the one I use for the RDP account? I already have Web Deploy 3.0 installed on IIS do I need to enable further settings?
OK I found the solution but it took me a whole day to get it working! Basically the steps are as follows. This is very sketchy but see the detailed guides below which helped me.
Enable the IIS Web Management role feature.
Install Web Deploy 3.0 (or higher). Make sure to customise the install to include the handlers (See notes below). If you're not presented with this option go to add/remove programs, find webdeploy, right click and select "change" option.
In IIS click on the server node and find the "Management Service" icon. Enable remote access and configure a dedicated IIS User for remote deployment (These will be the credentials that will go in the user name and password boxes).
At the site level in IIS assign this user to manage the website.
Make sure port 8172 is open on the web server (you can check this port here).
Try reconnecting from Visual Studio. There was some trial and error here for me but the error messages do link to a MS guide for decoding :)
Even after connecting successfully I had to wrangle with permissions, so my IIS user had sufficient privileges to create the app pool, directories and general file management jobs.
The following links really helped!
Configuring the handler on the web server:
http://www.iis.net/learn/publish/using-web-deploy/configure-the-web-deployment-handler
Connecting via Visual Studio:
http://msdn.microsoft.com/en-us/library/dd465337(v=vs.110).aspx
NOTES:
To ensure the handler is running, login into your IIS server and point your browser to the following URL.
https://<servername>:8172/MsDeploy.axd
F12 to open up the dev tools to see the HTTP response. Also MsDeploy also creates IIS logs in inetpub/logs which should give you some clue if you're having connectivity problems.
I had the same problem and this post was very useful to help me solve the issue. I had anyhow serious troubles while trying to install Web Deploy on my Windows Server 2012. The installation of Web Deploy 3.0 was giving me several errors and it couldn't be completed.
I tried to solve the problem installing "Microsoft Web Platform Installer 5.0" from http://www.microsoft.com/web/downloads/platform.aspx but it didn't solve it.
I thought it was due to Firewall Settings, Authorizations issues, Users without permissions or something like that. Finally I found out it wasn't due to any of the mentioned reasons.
I found the most simple solution and I hope it will help other users too: it was enough to download Web Deploy 3.5 installation directly from Microsoft Website:
http://www.microsoft.com/en-us/download/details.aspx?id=39277
This may sound banal but it solved it. I was able to install "Web Management Service" but not the second needed IIS service "Web Deployment Agent Service".

IIs 7 Management Service

I have a site in my office and i want to administrate remotely from home.
Searching on internet said that i have to enable something in MANAGMENT SERVICE.
In my IIS dont exist MANAGEMENT SERVICE
How can install it.
After few hours of research for the same problem I can tell you that the specified feature is not available in the "client" editions of Windows (i.e. Windows 7).

MSDeploy remote permissions needed for Windows 2003 Server / IIS 6

What are the permissions needed for running delegated deployments, using MSDeploy, targeting a Windows 2003 Server / IIS 6.0 ?
EDIT: this is a duplicate of ... How to allow non-admin user to deploy web applications on IIS 6 using web deploy
IIS6 can't be published to directly via Web Deploy, so you will need to use Web Deployment Agent. Once you have setup the agent, the endpoint address should look something like this:
http://myserver/MsDeployAgentService
Note this is not an HTTPS address and does not explicitly specify a port. Also, the account publishing to this endpoint must have admin rights on the server (nasty, but necessary). Finally, make sure the "Web Deployment Agent Service" is actually running because it's not set to start automatically by default.

Resources