Title: Image upload fail
Last modified: August 18, 2016

---

# Image upload fail

 *  [taylorren](https://wordpress.org/support/users/taylorren/)
 * (@taylorren)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/image-upload-fail/)
 * Installed Vista Business a week ago. PHP+MySQL configured OK. WP runs almost 
   fine except one thing:
 * When I am trying to upload an image (in the Writing a post section), I get the
   following error:
 * **Failed to write to disk. **
 * I have checked the upload directory (default one). It (and its sub-dir) had Full
   Control granted to “Everyone” and I also granted Full Control to “IUSR_xxxx” 
   which is the Internet guest account.
 * Still does not work.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [ender](https://wordpress.org/support/users/ender/)
 * (@ender)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/image-upload-fail/#post-555185)
 * I have the same problem.
 * did you ever find a solution?
 * Originally i installed and ran wp on apache on vista business. worked fine including
   upload of images. Long story short, moved wp over to iis7. seemed to work until
   I tried to upload an image. same error message “Failed to write to disk.”
 * Not sure why this is not a support topic. My dev machined is vista. I need to
   upload images to test. IIS permissions seem fine, but who knows. Also I can find
   no trace of an error outside of the message displayed.
 *  [dcduo12](https://wordpress.org/support/users/dcduo12/)
 * (@dcduo12)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/image-upload-fail/#post-555187)
 * I have just found the solution to this problem after spending hours trawling 
   the net so I hope this helps you.
 * make a blank file called test.php and just put the following code into it
 * <?php phpinfo(); ?>
 * Now check to see where your upload_tmp_dir is pointing to. I had the problem 
   of it saying not defined. So I created one in the C:/intepub/wwwroot called uploads
   and then opened my php.ini file and changed the following line
 * upload_tmp_dir = “C:\Inetpub\wwwroot\uploads”
 * *remember to uncomment it
 * Then apply the permissions to full in the security tab. Since then it has worked
   fine
 *  [visiblemedia](https://wordpress.org/support/users/visiblemedia/)
 * (@visiblemedia)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/image-upload-fail/#post-555197)
 * here’s a wrinkle… i did that but this is what i found:
 * upload_tmp_dir no value no value
 * any idea how to overcome this?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Image upload fail’ is closed to new replies.

## Tags

 * [iis](https://wordpress.org/support/topic-tag/iis/)
 * [upload](https://wordpress.org/support/topic-tag/upload/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 4 participants
 * Last reply from: [visiblemedia](https://wordpress.org/support/users/visiblemedia/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/image-upload-fail/#post-555197)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
