2BrightSparks Support Area

Login / Register

User

Pass



Register | Forget pass?

Search KnowledgeBase

 

KnowledgeBase

Main > Frequently Asked Questions > SyncBackPro, SyncBackSE, and SyncBackFree
Minimize Text   Default    Enlarge Text
 

Access Denied error message


Print
Save to list
Subscribe
Created
Modified 2013-04-23
Views 32702
Author

Access Denied error message

If a file cannot be copied because of an Access Denied error message it is because the file security permissions are not set correctly (or the user does not have the access rights to the file). You either do not have the access rights to read the file, or do not have access rights to create/overwrite the file.

Network Security

This type of error commonly occurs when copying to a network share. On the computer that is sharing the folder over the network:

- Run Windows Explorer
- Navigate to the folder you’re sharing
- Right-click on the folder and select Sharing and Security... from the pop-up menu
- Depending on how Windows XP is configured there are two different options:

1) Tick the checkbox that says Allow network users to change my files

or

2) Click on the Permissions button and make sure Full Control is ticked

If it still fails try removing the share and recreating it with Full Control / Allow network users to change my files. This will reset the file permissions.

Encrypted Blocked Files

If you download a file, e.g. using Internet Explorer, to an NTFS volume, then the file may be marked as blocked by Windows. You can see if a file is blocked by right-clicking on it and selecting Properties from the pop-up menu. At the bottom of the General tab it will say if the file is blocked or not (This file came from another computer and might be blocked to help protect this computer). You can click the Unblock button to unblock the file. If a file is both NTFS encrypted, and blocked, then you cannot copy the file from a remote computer. You must either unblock it or unencrypt it. It is possible to configure Windows not to block downloaded files automatically:
- Run gpedit.msc
- Goto: User Configuration > Administrative Templates > Windows Components > Attachment Manager
- Enable: Do not preserve zone information in file attachments
This change will only take effect on new files and not existing files.

Encrypted Files

If a file is encrypted you may also receive an Access Denied error, as the following Microsoft KB article explains:
http://support.microsoft.com/kb/250494

Network Drives

If you are connecting to a UNC path, e.g. \\server\share\folder\, then it may be that you are connected to it using a different user account. Although you can specify which username to use (in your profile settings) Windows will not use that username if there is already a connection to that server, even if it is using a different username. Try rebooting and then running your profile (so that SyncBack has a chance to connect to the server with the user credentials you've supplied).

File Security

If you are not using a network share check that the file security permissions are correct for the file being read and/or the folder where it is being copied to. The following Microsoft KB article explains how to change the security for a file or folder:
http://support.microsoft.com/kb/308419

You may also get Access Denied error messages when using the Backup read/write file copying method in your profile configuration. If so, try switching it to Standard Windows file copying.

Bypassing File Security

If you are a member of the Backup Operators user group then you may be able to bypass the file security. Note that this method does not work for backup to Zip files or to FTP, and is not relevant to SyncBackFree. The following Microsoft article explains how to add yourself to the Backup Operators group (if you are an Administrator then you probably are already, but it is best to check):
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntbackup_create_operator.mspx?mfr=true

If you added yourself to the group, then close SyncBackSE/Pro and restart it. Modify your profile, enable Expert mode, and go to the Copy/Delete - Advanced page of the profile configuration. Enable the option "If a file cannot be copied because of security (Access Denied) then try Backup Read/Write copy method" and save the profile. If you still get Access Denied errors it may be because of the "Make safe copies" option (also on the Copy/Delete - Advanced page of the profile configuration). With the safe copies option enabled SyncBackSE/Pro will copy a file to a temporary file, and if it copies correctly, then it will replace the actual file with the temporary file. This avoids problems like network connections dropping during file copying (which would corrupt your backup file). However, there is no way to bypass file security when moving files, only when copying files. Because of this you may need to switch off the "Make safe copies" option, but be aware of the risks involved in doing this.

NAS Devices

Some Network Attached Storage (NAS) devices give an Access Denied error message when the "Make safe copies" option is enabled. Check to make sure you are using the latest version of SyncBacKSE as this issue was resolved in V4.2.5.0 (it is thus not relevant to SyncBackPro, which was released later). If you still have a problem try switching off the "Make safe copies" option on the Copy/Delete - Advanced page of the profiles configuration. It is also strongly advised that you check to see if you are using the latest firmware for your NAS device.




Related Articles
Creating a network share to backup or synchronize
Creating a network share to backup or synchronize Introduction This article shows how to create a network share to backup or synchronize files from a desktop...
Logon failure: the user has not been granted the requested logon type at this computer. (0x80070569)
Logon failure: the user has not been granted the requested logon type at this computer. (0x80070569) If you receive this error from the Windows Task Scheduler then it...
FAQ: When I run SyncBackSE/Pro on Windows Vista (or later) it always prompts me with "A program needs your permission to continue". Why?
Q: When I run SyncBackSE/Pro Windows always prompts me with “A program needs your permission to continue”. Why? Windows Vista introduced some very strict...
 

 

2BrightSparks Copyright 2003-2013 | Homepage | Sitemap | Support | Forum