如何使用appcmd解密IIS app pool账户密码

我相信大部分人在客户环境中,都遇到过因为某些情况,客户无法提供居有特定权限的账户,比如SharePoint系统的farm account,sp_install或者administrator账户,缺少了这些账户,去运行PowerShell,可能会遭遇到权限不够的问题。经过了一番搜索, 我发现了如果这些账户被用作app pool identity的话,那么可以使用appcmd去获取密码。

1. 打开IIS,点击Application Pools,右侧会显示出当前所有的application pool和identity.

2. SharePoint Central Administration v4用得是SPFarm账户,这个也正是我们需要的账户。

3. 打开command prompt, 运行以下代码 到inetsrv文件夹

4. 运行 appcmd.exe list apppool "SharePoint Central Administration v4" /text:*   (可以替换SharePoint Central Administration v4为你需要的app pool name)

5. 注意看这里的Password :)

时间: 2024-10-12 21:16:38

如何使用appcmd解密IIS app pool账户密码的相关文章

SharePoint Error occurred in deployment step 'Recycle IIS Application Pool': 0x80070005:拒绝访问

错误出现的前提:多个用户在一台机器上做开发,使用非系统管理员账号时会出现,因为一般创建网站集时指定管理员为系统管理员: Error occurred in deployment step 'Recycle IIS Application Pool': 0x80070005:拒绝访问 使用 Visual Studio 2010 部署时报错,错误截图如下: 原因:当前部署代码的用户不是部署代码网站集的管理员,加上即可: 一般网站集管理员在网站集创建是指定的: 解决这个错误,可以增加权限: 步骤: 

IIS app pools, worker processes, app domains

Copy from  http://stackoverflow.com/questions/14105345/iis-app-pools-worker-processes-app-domains I try to say them with other words. In a server you can have many asp.net sites that runs together. Each one site is an app domain. You must assign to e

解密所有APP运行过程中的内部逻辑(转)

转贴地址:http://www.freebuf.com/tools/54562.html 0×01前言 这年头,apk 全都是加密啊,加壳啊,反调试啊,小伙伴们表示已经不能愉快的玩耍了.静态分析越来越不靠谱了,apktool.ApkIDE.jd GUI.dex2jar等已经无法满足大家的需求了.那么问题就来了,小伙伴们真正需要的是什么?好的,大家一起呐喊出你内心的欲望吧,我们的目标是-- "debug apk step by step". 0×02那些不靠谱的工具 先来说说那些不靠谱的

[转]Publishing and Running ASP.NET Core Applications with IIS

本文转自:https://weblog.west-wind.com/posts/2016/Jun/06/Publishing-and-Running-ASPNET-Core-Applications-with-IIS#DoyouneedIIS? When you build ASP.NET Core applications and you plan on running your applications on IIS you'll find that the way that Core ap

错误处理:"Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format."

情况:部署程序在 IIS 7.5 windows server 2008 R2 64 bit OS,引用“Oracle.DataAccess.dll” 运行程序会出现:"Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format." 解决方式:设置IIS  app

How do I create an IIS application and application pool using InnoSetup script

Create an IIS application. Create a new IIS application pool and set it's .NET version to 4. Set the application pool of the new application to the new application pool. procedure CreateIISVirtualDir(); var IIS, WebSite, WebServer, WebRoot, VDir: Var

appcmd cmd 操作IIS

创建子站点 appcmd.exe add app /site.name:"Default Web Site" /path:/TestSite /physicalPath:"C:\Applications" 打开C:\Windows\System32\inetsrv\config\applicationHost.config配置,添加下面的配置 <location path="Default Web Site/TestSite"> &l

IIS命令行管理工具使用

AppCmd.exe工具所在目录 C:\windows\sytstem32\inetsrv\目录下 一条命令批量添加应用程序 c:\Windows\System32\inetsrv>for /d %i in (e:\wwwroot\*.*) do appcmd add app /site.name:"Default Web Site" /path:/%~ni /physicalpath:%i 使用命令行管理IIS 7.0时,需要使用IIS7.0提供的全新管理工具AppCmd.ex

Application Pool Identities

Introduction Whether you are running your site on your own server or in the cloud, security must be at the top of your priority list. If so, you will be happy to hear that IIS has a security feature called the application pool identity. This feature