Last updated April 11, 2012. Created on December 19, 2007.
Edited by marptr, JordanCronin. Log in to edit this page.

This page will tell you how to change the file permissions on a Windows server.

Through Windows Explorer

On Windows 2003 with IIS

  1. Navigate to the file or folder that needs its permissions changed.
  2. Right-click on the file or folder and click on Properties.
  3. Select the Security tab.
  4. Click on the Internet Guest Account and make sure that the Allow checkbox is set for Write permissions.
  5. If you don't find the Internet Guest Account click Add/Advanced/Find Now/ and find in the list the name starting with IUSR_ . Then press Ok.
    This name is the same name found in Computer Management/Default II Services/Web Sites/Default Web Site/Properties/Directory Security/Edit...
    Finally make sure that the Allow checkbox is set for Write permissions.
  6. If you are changing these permissions for the Drupal install process, when the installation is complete, for security reasons, you should revoke write permissions on the files or folders that Drupal no longer needs to write to.
  7. To revoke write permissions, just uncheck it.

On Windows XP with IIS

Windows XP's security tab is hidden by default, so before the permissions can be set you need to:

  1. Go to My Computer.
  2. Click on the Tools>Folder Options menu item.
  3. Select the View tab.
  4. Under Advanced settings, scroll down to the bottom and uncheck Use simple file sharing (Recommended).
  5. Click Ok.
  6. Navigate to the file or folder that needs its permissions changed.
  7. Right-click on the file or folder and click on Properties.
  8. Select the Security tab.
  9. Click on the Internet Guest Account and make sure that the Allow checkbox is set for Write permissions.
  10. If you are changing these permissions for the Drupal install process, when the installation is complete, for security reasons, you should revoke write permissions on the files or folders that Drupal no longer needs to write to.
  11. To revoke write permissions, just uncheck it.

Windows Screenshot 1Windows Screenshot 2

NOTE: Be aware that certain IIS configuration options can disable file permissions regardless of the NTFS file system settings. For more information about IIS, see this.

Other access methods

If you do not have access to the windows GUI, then your web host has probably set up a web-based interface to enable you to add write permissions. Otherwise, contact your web host and ask them to allow PHP scripts (Drupal) write access on specify files here.

External links

Here are links to either more information or alternate instructions to change permissions.

  1. How to set required NTFS permissions and user rights for an IIS 5.0 Web server - Microsoft.com
  2. How to configure Web server permissions for Web content in IIS - Microsoft.com
  3. Instructions with screenshots, from the Coppermine website
  4. A blog post on with instructions for changing permissions on Windows 2003 or XP

Looking for support? Visit the Drupal.org forums, or join #drupal-support in IRC.