Although this could be a bug for how windows work, Try granting your INETPUB_??? user write access to the settings.php file. Drupal tries to modify this file to help you get your db set up.
 
Dave


From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Néstor
Sent: Tuesday, May 19, 2009 3:40 PM
To: support@drupal.org
Subject: [support] drupal 6.12

Hi,

I am trying to adddrupal 6.12 on my WIMP (windows, IIS , mysql, php) web server and I get the following error

Warning: fopen(./sites/default/settings.php) [function.fopen]: failed to open stream: Permission denied in D:\Inetpub\wwwroot\root\nestor\drupal612\includes\install.inc on line 236



Néstor