Recursos para Profesionales de TI > Página principal de foros > Group Policy > The process cannot access the file because it is being used by another process.
Formular una preguntaFormular una pregunta
 

RespondidaThe process cannot access the file because it is being used by another process.

  • jueves, 02 de julio de 2009 21:12Briank00 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    Hi,

    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.

    I also tried backing up and restoring and that didn't fix the issue. I got the same error when trying to restore.

    Thanks.


    Deploy GPO: Desktop Policies - Windows Settings...Failed

    The overall error was: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

     Additional details follow.

    [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.
    The following error occurred:
    The process cannot access the file because it is being used by another process.
     
    ----------------------------------------------------------------------------------------------

    1 actions failed.

Respuestas

  • viernes, 03 de julio de 2009 10:37Miles ZhangMSFT, ModeradorMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida

    Hi,

    Thanks for the post.

    From your description, I understand that the following error message is received when trying to deploy the Group Policy.

    The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

    Now open up gpedit.msc on the problematic server.

    User Configuration
    Administrative Templates
    System
    Group Policy

    Change the following policy

    "Group Policy domain controller selection"

    Enable this and set it to use "Use any available domain controller"

    Close gpedit.msc and run gpupdate /force

    Try to deploy policy again.

     

    Does it work?

     

    If this problem continues, please collect the Setup&Performance version of MPSReport from the problematic server.

     

    a. Download the MPS Report Tool from the following link:

    http://download.microsoft.com/download/b/b/1/bb139fcb-4aac-4fe5-a579-30b0bd915706/MPSRPT_SETUPPerf.EXE

     

    b. After the download is complete, double-click this " MPSRPT_SETUPPerf.EXE" file. Then a CAB file will be generated called %COMPUTERNAME%_MPSReports.CAB. For example, if your computer name is "MyComputer", this CAB file will be named "MyComputer_MPSReports.CAB".

     

    c. Open My Computer, browse to the "%systemroot%\MPSReports\Setup\Logs\CAB" folder. You can find the CAB file above and please send it to me.

     

    Use Windows Live SkyDrive (http://www.skydrive.live.com/) to upload the file and then give me the download address.

     

    Hope this helps.

     

Todas las respuestas

  • viernes, 03 de julio de 2009 10:37Miles ZhangMSFT, ModeradorMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida

    Hi,

    Thanks for the post.

    From your description, I understand that the following error message is received when trying to deploy the Group Policy.

    The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

    Now open up gpedit.msc on the problematic server.

    User Configuration
    Administrative Templates
    System
    Group Policy

    Change the following policy

    "Group Policy domain controller selection"

    Enable this and set it to use "Use any available domain controller"

    Close gpedit.msc and run gpupdate /force

    Try to deploy policy again.

     

    Does it work?

     

    If this problem continues, please collect the Setup&Performance version of MPSReport from the problematic server.

     

    a. Download the MPS Report Tool from the following link:

    http://download.microsoft.com/download/b/b/1/bb139fcb-4aac-4fe5-a579-30b0bd915706/MPSRPT_SETUPPerf.EXE

     

    b. After the download is complete, double-click this " MPSRPT_SETUPPerf.EXE" file. Then a CAB file will be generated called %COMPUTERNAME%_MPSReports.CAB. For example, if your computer name is "MyComputer", this CAB file will be named "MyComputer_MPSReports.CAB".

     

    c. Open My Computer, browse to the "%systemroot%\MPSReports\Setup\Logs\CAB" folder. You can find the CAB file above and please send it to me.

     

    Use Windows Live SkyDrive (http://www.skydrive.live.com/) to upload the file and then give me the download address.

     

    Hope this helps.