Hi. My name is Adam Saunders and I live in the world of 1's and 0's. This is my tiny contribution the vastness of internet information. It's just an opinion and should you have your own, please comment it!

01 Aug 2014

One task many webhosts face is that that sometimes Microsoft IIS websites on a shared hosting platform lose their folder permissions for the anonymous user.

In order to fix this, I have created a tool that will work with IIS7 and IIS8 that will go through all of your websites and reset the folder permissions on the root directory to ensure that the user account that IIS needs to access the web files has permissions to access the folder.

This is just an early release, but works with most set ups. Post any comments if you are looking for a few more features.

Current Version : 2.0.0
Works On: Windows 2008, Windows 2008 r2, Windows 2012, Windows 2012 r2 with IIS7+ or IIS8+

Click to Download

Change log

v2.0.0 (May 2016)

Added User check. It will check that NT user exists and will recreate if it does not.
Added User property corrections. It will ensure that the anonymous web user has the correct password, is enabled and password won't expire.
Added -g "GroupName" parameter. Using this parameter will allow you to ensure all anonymous web user accounts are added to the given group.

v1.0.0 (August 2014)

Public Released

Usage

Just download the 7z archive and extract the contents on the server which has IIS installed. You can run from any folder if your choice. There are no installers necessary for this tool.

Start a command line prompt and run the IISPermissionFixer.exe file with the parameter -? to give you the options that are available. e.g.

IISPermissionFixer.exe -?

Note: Running the tool with no options will automatically fix all sites in IIS on the machine.

Please note that this tool is unsupported. Although written with extreme care and attention, any misuse or damage caused by this tool is at your own risk. Any bugs can be reported to me and I'll fix them for you.

I may open source the tool at a later date for people to tweak and change as necessary.

01 August 2014 16:26 GMT+01:00    Posted By: Adam Saunders
Comments *NEW*

Too view and add comments, click on the article titles and scroll to the bottom of the page.

Twitter Updates
About This Blog

The e-home of Adam Saunders

These are the declassified opinions of Adam Saunders. I take no responsibility for the effect these opinions may have on you. Do not read with care...