Windows 2008 Server - Can't save files, but can overwriteHi, on our server running windows 2008 server sp2, we are having problems editing some configuration files for our applications. The files (plain-text) can be opened and read, but if we try to edit them, and then save them, Notepad replies &quot;Cannot create &lt;filename&gt; file.&quot; Wordpad replies something similar. The only way we've found to edit these files so far is by saving the changed file to another directory, and then copy/pasting the new file, overwriting the old file. <br/> <br/> The files do not appear to be marked as read-only, and they are owned by the Administrator group which my user is in, which again has 'Full access' to all these files.<br/> <br/> How can we find out what is stopping us from editing these files?<br/> <br/> Anders© 2009 Microsoft Corporation. All rights reserved.Thu, 16 Jul 2009 19:38:13 Z6b812f46-5015-40d2-bbb1-b4a17bedee98http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/6b812f46-5015-40d2-bbb1-b4a17bedee98#6b812f46-5015-40d2-bbb1-b4a17bedee98http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/6b812f46-5015-40d2-bbb1-b4a17bedee98#6b812f46-5015-40d2-bbb1-b4a17bedee98apaulsenhttp://social.technet.microsoft.com/Profile/en-US/?user=apaulsenWindows 2008 Server - Can't save files, but can overwriteHi, on our server running windows 2008 server sp2, we are having problems editing some configuration files for our applications. The files (plain-text) can be opened and read, but if we try to edit them, and then save them, Notepad replies &quot;Cannot create &lt;filename&gt; file.&quot; Wordpad replies something similar. The only way we've found to edit these files so far is by saving the changed file to another directory, and then copy/pasting the new file, overwriting the old file. <br/> <br/> The files do not appear to be marked as read-only, and they are owned by the Administrator group which my user is in, which again has 'Full access' to all these files.<br/> <br/> How can we find out what is stopping us from editing these files?<br/> <br/> AndersTue, 30 Jun 2009 13:00:54 Z2009-06-30T13:00:54Zhttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/6b812f46-5015-40d2-bbb1-b4a17bedee98#50bd18b5-bc16-4547-8827-3ca46e390c00http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/6b812f46-5015-40d2-bbb1-b4a17bedee98#50bd18b5-bc16-4547-8827-3ca46e390c00Michael316http://social.technet.microsoft.com/Profile/en-US/?user=Michael316Windows 2008 Server - Can't save files, but can overwriteMaybe it helps, if you start the Wordpad as administrator (rightclick...). And then open the file.<br/> <br/> It seems that wordpad has no rights. But the user has.<br/>Tue, 30 Jun 2009 13:28:43 Z2009-06-30T13:46:40Zhttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/6b812f46-5015-40d2-bbb1-b4a17bedee98#4199734a-eb42-4db9-924b-522a44b23d9ehttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/6b812f46-5015-40d2-bbb1-b4a17bedee98#4199734a-eb42-4db9-924b-522a44b23d9eBrian Borghttp://social.technet.microsoft.com/Profile/en-US/?user=Brian%20BorgWindows 2008 Server - Can't save files, but can overwriteI have seen this, but only with files that are in use.  In this case, Wordpad will not open them but Notepad will.<br/><br/>Strangely enough, after the &quot;Cannot create...&quot; message, when the &quot;save as&quot; dialog opens I can save using the same name and Windows will actually save the edited file even though it is in use.Wed, 01 Jul 2009 03:01:22 Z2009-07-01T03:01:22Zhttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/6b812f46-5015-40d2-bbb1-b4a17bedee98#9230b4ec-f0a7-421a-88b4-f3a337ea17abhttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/6b812f46-5015-40d2-bbb1-b4a17bedee98#9230b4ec-f0a7-421a-88b4-f3a337ea17abapaulsenhttp://social.technet.microsoft.com/Profile/en-US/?user=apaulsenWindows 2008 Server - Can't save files, but can overwriteRunning wordpad as administrator allows me to save the file, but it doesn't make much sense to me as the Administrator user is a member of the same (and only) group my user is a member of, namely the group Administrators. The other users that are experiencing the same problem are also in this group.Wed, 01 Jul 2009 06:49:06 Z2009-07-01T06:49:06Zhttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/6b812f46-5015-40d2-bbb1-b4a17bedee98#a07fb852-d4cc-4bae-bc34-93e9d1c7d792http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/6b812f46-5015-40d2-bbb1-b4a17bedee98#a07fb852-d4cc-4bae-bc34-93e9d1c7d792apaulsenhttp://social.technet.microsoft.com/Profile/en-US/?user=apaulsenWindows 2008 Server - Can't save files, but can overwrite<blockquote>Strangely enough, after the &quot;Cannot create...&quot; message, when the &quot;save as&quot; dialog opens I can save using the same name and Windows will actually save the edited file even though it is in use.</blockquote> Unfortunately, this doesn't work for me. It still gives me the same errors as before.<br/>Wed, 01 Jul 2009 06:51:02 Z2009-07-01T06:51:02Zhttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/6b812f46-5015-40d2-bbb1-b4a17bedee98#49451594-1d30-41a8-98d9-5dd059df84a5http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/6b812f46-5015-40d2-bbb1-b4a17bedee98#49451594-1d30-41a8-98d9-5dd059df84a5David Shen - MSFThttp://social.technet.microsoft.com/Profile/en-US/?user=David%20Shen%20-%20MSFTWindows 2008 Server - Can't save files, but can overwrite<p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">Hello Anders,</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">Please check whether the application or the corresponding service is running when you tried to edit the configuration file of that application. If that is the case, it is most probably that we cannot save the configuration file after we modify it. It is because that the file was owned and handled by that application at that time.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">For investigating what application open the file handle of the configuration file, we may use Handle utility to dump the file handle.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p style="background:white;margin-bottom:0pt"><span style="font-size:10pt;color:black;font-family:'Verdana','sans-serif'">Download: Handle</span></p> <p style="background:white;margin-bottom:0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"><a href="http://download.sysinternals.com/Files/Handle.zip"><span style="color:#3333ff">http://download.sysinternals.com/Files/Handle.zip</span></a><span style="color:black"></span></span></p> <p style="background:white;margin:0in 0in 0pt 12pt"><span style="font-size:10pt;color:black;font-family:'Verdana','sans-serif'"> </span></p> <p style="background:white;margin-bottom:0pt"><span style="font-size:10pt;color:black;font-family:'Verdana','sans-serif'">Gather the information at the problematic client:</span></p> <p style="background:white;margin:0in 0in 0pt 12pt"><span style="font-size:10pt;color:black;font-family:'Verdana','sans-serif'"> </span></p> <p style="background:white;margin-bottom:0pt"><span style="font-size:10pt;color:black;font-family:'Verdana','sans-serif'">handle –a &gt; clienthandle.txt</span></p> <p style="background:white;margin:0in 0in 0pt 12pt"><span style="font-size:10pt;color:black;font-family:'Verdana','sans-serif'"> </span></p> <p style="background:white;margin-bottom:0pt"><span style="font-size:10pt;color:black;font-family:'Verdana','sans-serif'">handle –a &gt; serverhandle.txt</span></p> <p style="background:white;margin-bottom:0pt"><span style="font-size:10pt;color:black;font-family:'Verdana','sans-serif'">Hope it helps.</span></p><hr class="sig">This posting is provided &quot;AS IS&quot; with no warranties, and confers no rights.Thu, 02 Jul 2009 06:13:19 Z2009-07-02T06:13:19Zhttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/6b812f46-5015-40d2-bbb1-b4a17bedee98#6aed0e08-250d-41f6-8f6f-5d377d1b4eeehttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/6b812f46-5015-40d2-bbb1-b4a17bedee98#6aed0e08-250d-41f6-8f6f-5d377d1b4eeeapaulsenhttp://social.technet.microsoft.com/Profile/en-US/?user=apaulsenWindows 2008 Server - Can't save files, but can overwrite<blockquote> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">Hello Anders,</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">Please check whether the application or the corresponding service is running when you tried to edit the configuration file of that application. If that is the case, it is most probably that we cannot save the configuration file after we modify it. It is because that the file was owned and handled by that application at that time.</span></p> </blockquote> When running handle.exe, and with the application NOT running, i find the file listed like so:<br/> System pid: 4 \&lt;unable to open process&gt;<br/>  228C: File  (RW-)   C:\pathtoconfigfile.xml<br/> <br/> What does this mean?<br/>Fri, 03 Jul 2009 08:34:12 Z2009-07-03T08:34:12Zhttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/6b812f46-5015-40d2-bbb1-b4a17bedee98#b5c4aea7-7d8a-4ec0-a3fd-df5ed2c02eeehttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/6b812f46-5015-40d2-bbb1-b4a17bedee98#b5c4aea7-7d8a-4ec0-a3fd-df5ed2c02eeeDavid Shen - MSFThttp://social.technet.microsoft.com/Profile/en-US/?user=David%20Shen%20-%20MSFTWindows 2008 Server - Can't save files, but can overwrite<blockquote> <blockquote> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">Hello Anders,</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">Please check whether the application or the corresponding service is running when you tried to edit the configuration file of that application. If that is the case, it is most probably that we cannot save the configuration file after we modify it. It is because that the file was owned and handled by that application at that time.</span></p> </blockquote> When running handle.exe, and with the application NOT running, i find the file listed like so:<br/>System pid: 4 \&lt;unable to open process&gt;<br/> 228C: File  (RW-)   C:\pathtoconfigfile.xml<br/><br/>What does this mean?<br/></blockquote> Hi Anders,<br/><br/>To help you analyze the issue, could you please send the result of handle.exe to us via tfwst@microsoft.com<br/><br/>Thanks.<br/><br/><hr class="sig">This posting is provided &quot;AS IS&quot; with no warranties, and confers no rights.Fri, 03 Jul 2009 10:23:57 Z2009-07-03T10:23:57Zhttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/6b812f46-5015-40d2-bbb1-b4a17bedee98#a742240b-b81f-43ea-ad81-7981ee63d28dhttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/6b812f46-5015-40d2-bbb1-b4a17bedee98#a742240b-b81f-43ea-ad81-7981ee63d28dDavid Shen - MSFThttp://social.technet.microsoft.com/Profile/en-US/?user=David%20Shen%20-%20MSFTWindows 2008 Server - Can't save files, but can overwrite<blockquote> <blockquote> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">Hello Anders,</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">Please check whether the application or the corresponding service is running when you tried to edit the configuration file of that application. If that is the case, it is most probably that we cannot save the configuration file after we modify it. It is because that the file was owned and handled by that application at that time.</span></p> </blockquote> When running handle.exe, and with the application NOT running, i find the file listed like so:<br/>System pid: 4 \&lt;unable to open process&gt;<br/> 228C: File  (RW-)   C:\pathtoconfigfile.xml<br/><br/>What does this mean?<br/></blockquote> Hi Anders,<br/><br/>I perform a research on the handle.txt that you send. <br/><br/>228C: File  (RW-)   C:\pathtoconfigfile.xml<br/><br/>This means that the configuration file is open with Read and Write by a system application file. Please kindly check to verify that application is not running when you tried to modify the configuration file at that time.<br/><br/>Thanks.<br/><hr class="sig">This posting is provided &quot;AS IS&quot; with no warranties, and confers no rights.Mon, 06 Jul 2009 05:37:35 Z2009-07-06T05:37:35Zhttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/6b812f46-5015-40d2-bbb1-b4a17bedee98#7746503f-f1d5-4731-9658-fa375bdd00c4http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/6b812f46-5015-40d2-bbb1-b4a17bedee98#7746503f-f1d5-4731-9658-fa375bdd00c4apaulsenhttp://social.technet.microsoft.com/Profile/en-US/?user=apaulsenWindows 2008 Server - Can't save files, but can overwrite<blockquote>Hi Anders,<br/><br/>I perform a research on the handle.txt that you send. <br/><br/>228C: File  (RW-)   C:\pathtoconfigfile.xml<br/><br/>This means that the configuration file is open with Read and Write by a system application file. Please kindly check to verify that application is not running when you tried to modify the configuration file at that time.<br/><br/></blockquote> <br/>Like i mentioned in the email to you, there are other files that i cannot edit, that are not listed in this file. I've also tried stoppig the application and editing the file listed, and it does not help. Neither does rebooting and trying again. We've had to downgrade from Windows 2008 for now, since we think the system is unusable this way. Since the installation no longer exists, there is no way of testing anymore.Wed, 15 Jul 2009 15:39:09 Z2009-07-15T16:49:00Z