Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"Access Denied" error message after you restore GPOs from a CD-R backup in Group Policy Management Console


View products that this article applies to.

Symptoms

After you use Microsoft Group Policy Management Console (GPMC) to restore Group Policy objects (GPOs) from a CD-R backup, when you try to access GPOs, you receive an error message that is similar to the following:
Access Denied.

↑ Back to the top


Cause

This problem occurs because, when a file is saved to a CD-R, the read-only file attribute is automatically assigned to the file. When Group Policy object (GPO) is restored to your server from the CD-R, the file retains the read-only file attribute.

↑ Back to the top


Workaround

To work around this problem, copy the GPO files that you want to restore from the CD-R to a folder on your hard disk, remove the read-only attribute from the GPO files, and then use GPMC to restore GPOs from the folder on your hard disk. To do this, follow these steps:
  1. Insert the CD-R disc that contains the backed up GPO files in the CD-ROM or DVD-ROM drive on your Microsoft Windows 2000 Server-based computer.
  2. Start Microsoft Windows Explorer, and then in the Folders pane, click the hard disk where you want to copy the GPO files.
  3. On the File menu, point to New, and then click Folder.
  4. Type GPO_Temp, and then press ENTER to name the new folder.
  5. Copy the GPO files that you want to restore from the CD-ROM to the GPO_Temp folder.
  6. Right-click the GPO_Temp folder, and then click Properties.
  7. In the GPO_Temp Properties dialog box, in the Attributes area, click to clear the Read-only check box, and then click Apply.
  8. In the Confirm Attribute Changes dialog box, click Apply changes to this folder, subfolders and files, and then click OK.
  9. In the GPO_Temp Properties dialog box, click OK.
  10. Start GPMC, and then restore GPOs from the GPO_Temp folder.
Alternatively, you can use Command Prompt to copy the files and then use the attrib command to remove the read-only attribute from the files. To do this, follow these steps:
  1. Insert the CD-R disc that contains the backed up GPO files in the CD-ROM or DVD-ROM drive on your Windows server.
  2. Start Command Prompt.
  3. Type the following commands, and then press ENTER after each command:
    cd\
    md GPO_Temp
    cd GPO_Temp
    copy CD_Or_DVD_Drive_Letter:\GPO_Files_You_Want_To_Restore_From_Backup
    attrib -R /D /S
  4. Start GPMC, and then restore GPOs from the C:\GPO_Temp folder.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in Microsoft Group Policy Management Console.

↑ Back to the top


More information

For additional information about Group Policy Management Console, visit the following Microsoft Web site:

For more information about the attrib command, click the following article number to view the article in the Microsoft Knowledge Base:
326549� You cannot view or change the Read-only or the System attributes of folders in Windows Server 2003, in Windows XP, or in Windows Vista

↑ Back to the top


Keywords: KB833319, kbprb, kbbug, kberrmsg

↑ Back to the top

Article Info
Article ID : 833319
Revision : 4
Created on : 10/30/2006
Published on : 10/30/2006
Exists online : False
Views : 315