The process cannot access the file because it is being used by another process.<p>Hi,<br/><br/>I'm getting the follwoing error when trying to deploy a policy. Rebooting the server seems to fix the issue. Does anyone know what's causing this? I would like to deploy a policy out without rebooting every time.<br/><br/>I also tried backing up and restoring and that didn't fix the issue. I got the same error when trying to restore.<br/><br/>Thanks.<br/><br/><br/>Deploy GPO: Desktop Policies - Windows Settings...Failed</p> <p>The overall error was: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)</p> <p> Additional details follow.</p> <p>[GPMC Error] An error occurred during the restore task, and the GPO could not be rolled back to its original state. You should reattempt the restore.<br/>The following error occurred:<br/>The process cannot access the file because it is being used by another process.<br/> <br/>----------------------------------------------------------------------------------------------</p> <p>1 actions failed.</p>© 2009 Microsoft Corporation. All rights reserved.Wed, 08 Jul 2009 02:54:09 Z6b49da66-5e51-43de-b774-eb824fb801cbhttp://social.technet.microsoft.com/Forums/en-US/winserverGP/thread/6b49da66-5e51-43de-b774-eb824fb801cb#6b49da66-5e51-43de-b774-eb824fb801cbhttp://social.technet.microsoft.com/Forums/en-US/winserverGP/thread/6b49da66-5e51-43de-b774-eb824fb801cb#6b49da66-5e51-43de-b774-eb824fb801cbBriank00http://social.technet.microsoft.com/Profile/en-US/?user=Briank00The process cannot access the file because it is being used by another process.<p>Hi,<br/><br/>I'm getting the follwoing error when trying to deploy a policy. Rebooting the server seems to fix the issue. Does anyone know what's causing this? I would like to deploy a policy out without rebooting every time.<br/><br/>I also tried backing up and restoring and that didn't fix the issue. I got the same error when trying to restore.<br/><br/>Thanks.<br/><br/><br/>Deploy GPO: Desktop Policies - Windows Settings...Failed</p> <p>The overall error was: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)</p> <p> Additional details follow.</p> <p>[GPMC Error] An error occurred during the restore task, and the GPO could not be rolled back to its original state. You should reattempt the restore.<br/>The following error occurred:<br/>The process cannot access the file because it is being used by another process.<br/> <br/>----------------------------------------------------------------------------------------------</p> <p>1 actions failed.</p>Thu, 02 Jul 2009 21:12:25 Z2009-07-02T21:12:25Zhttp://social.technet.microsoft.com/Forums/en-US/winserverGP/thread/6b49da66-5e51-43de-b774-eb824fb801cb#9beb40c5-ab94-42c9-b928-bb46597bf49ahttp://social.technet.microsoft.com/Forums/en-US/winserverGP/thread/6b49da66-5e51-43de-b774-eb824fb801cb#9beb40c5-ab94-42c9-b928-bb46597bf49aMiles Zhanghttp://social.technet.microsoft.com/Profile/en-US/?user=Miles%20ZhangThe process cannot access the file because it is being used by another process.<p style="margin-bottom:12pt"><span style="font-family:'Verdana','sans-serif';color:black;font-size:10pt" lang=EN-US>Hi,<br/><br/>Thanks for the post.<br/><br/>From your description, I understand that the following error message is received when trying to deploy the Group Policy.<br/><br/>The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)</span></p> <p class=MsoNormal style="text-align:left;margin:0cm 0cm 0pt" align=left><span style="font-family:'Verdana','sans-serif';font-size:10pt" lang=EN-US>Now open up gpedit.msc on the </span><span style="font-family:'Verdana','sans-serif';font-size:10pt" lang=EN-US>problematic</span><span style="font-family:'Verdana','sans-serif';font-size:10pt" lang=EN-US> server.<br/><br/>User Configuration<br/>Administrative Templates<br/>System<br/><span class=keywordhighlight1><span style="font-weight:normal"><span>Group</span></span></span><strong style=""> </strong><span class=keywordhighlight1><span style="font-weight:normal"><span>Policy</span></span></span><br/><br/>Change the following <span class=keywordhighlight1><span style="font-weight:normal"><span>policy</span></span></span><br/><br/>&quot;<span class=keywordhighlight1><span style="font-weight:normal"><span>Group</span></span></span><strong style=""> </strong><span class=keywordhighlight1><span style="font-weight:normal"><span>Policy</span></span></span> domain controller selection&quot;<br/><br/>Enable this and set it to use &quot;Use any available domain controller&quot;<br/><br/>Close gpedit.msc and run gpupdate /force<br/><br/>Try to <span class=keywordhighlight1><span style="font-weight:normal"><span>deploy</span></span></span><strong style=""> </strong><span class=keywordhighlight1><span style="font-weight:normal"><span>policy</span></span></span><strong style=""> </strong>again.</span></p> <p class=MsoNormal style="text-align:left;margin:0cm 0cm 0pt" align=left><span style="font-family:'Verdana','sans-serif';font-size:10pt" lang=EN-US> </span></p> <p class=MsoNormal style="text-align:left;margin:0cm 0cm 0pt" align=left><span style="font-family:'Verdana','sans-serif';font-size:10pt" lang=EN-US>Does it work?</span></p> <p class=MsoNormal style="text-align:left;margin:0cm 0cm 0pt" align=left><span style="font-family:'Verdana','sans-serif';font-size:10pt" lang=EN-US> </span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-family:'Verdana','sans-serif';font-size:10pt" lang=EN-US>If this problem continues, </span><span style="font-family:'Verdana','sans-serif';font-size:10pt" lang=EN-US>please collect the Setup&amp;Performance version of MPSReport from the problematic server.</span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-family:'Verdana','sans-serif';font-size:10pt" lang=EN-US><span style=""> </span></span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-family:'Verdana','sans-serif';font-size:10pt" lang=EN-US>a. Download the MPS Report Tool from the following link:</span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span lang=EN-US><a href="http://download.microsoft.com/download/b/b/1/bb139fcb-4aac-4fe5-a579-30b0bd915706/MPSRPT_SETUPPerf.EXE"><span style=""><span style="font-family:Calibri;color:#0000ff;font-size:small">http://download.microsoft.com/download/b/b/1/bb139fcb-4aac-4fe5-a579-30b0bd915706/MPSRPT_SETUPPerf.EXE</span></span></a></span><span style="font-family:'Verdana','sans-serif';font-size:10pt" lang=EN-US></span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-family:'Verdana','sans-serif';font-size:10pt" lang=EN-US><span style=""> </span></span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-family:'Verdana','sans-serif';font-size:10pt" lang=EN-US>b. After the download is complete, double-click this &quot; MPSRPT_SETUPPerf.EXE&quot; file. Then a CAB file will be generated called %COMPUTERNAME%_MPSReports.CAB. For example, if your computer name is &quot;MyComputer&quot;, this CAB file will be named &quot;MyComputer_MPSReports.CAB&quot;. </span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-family:'Verdana','sans-serif';font-size:10pt" lang=EN-US><span style=""> </span></span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-family:'Verdana','sans-serif';font-size:10pt" lang=EN-US>c. Open My Computer, browse to the &quot;%systemroot%\MPSReports\Setup\Logs\CAB&quot; folder. You can find the CAB file above and please send it to me.</span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-family:'Verdana','sans-serif';font-size:10pt" lang=EN-US><span style=""> </span></span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-family:'Verdana','sans-serif';font-size:10pt" lang=EN-US>Use Windows Live SkyDrive (</span><span lang=EN-US><a href="http://www.skydrive.live.com/"><span style=""><span style="font-family:Calibri;color:#0000ff;font-size:small">http://www.skydrive.live.com/</span></span></a></span><span style="font-family:'Verdana','sans-serif';font-size:10pt" lang=EN-US>) to upload the file and then give me the download address.</span></p> <p class=MsoNormal style="text-align:left;margin:0cm 0cm 0pt" align=left><span style="font-family:'Verdana','sans-serif';font-size:10pt" lang=EN-US> </span></p> <p class=MsoNormal style="text-align:left;margin:0cm 0cm 0pt" align=left><span style="font-family:'Verdana','sans-serif';font-size:10pt" lang=EN-US>Hope this helps.</span></p> <p> </p>Fri, 03 Jul 2009 10:37:11 Z2009-07-03T10:37:11Z