Access is denied. (\IP ADDRESS\ADMIN$\complusbackup)

כאשר מתקבלת שגיאת הגיבוי Access is denied. (\IP ADDRESS\ADMIN$\complusbackup) יש לגשת למכונה הנמצאת בכתובת ה- IP או למכונה (לפי שם) המופיעה בהודעת השגיאה ולבצע את הפעולות הבאות:

1. מבצעים חיפוש עבור firewall.cpl ומפעילים את מערכת חומת האש של התחנה:

firewallCPL 1

2. מקליקים על: Allow an app or feature through Windows Defender Firewall כפי שמודגם להלן:

firewallCPL 2

 3. מתקבל מסך בו יש להקליק על הכפתור: Change settings כפי שמודגם כאן:

firewallCPL 3

4. כעת יש לגלול עד להגדרה: Remote Scheduled Tasks Management, לסמן V בתיבת הסימון שבצידה השמאלי וכן לסמן V בשתי תיבות הסימון מימין: Private, Public. בסיום יש ללחוץ על כפתור OK:

firewallCPL 4

Symptoms

The error may be reported when attempting a backup for SQL Server backup sets configured with pipe option for database dump or when running a backup for a file system with VSS option enabled.

Cause

a) The Windows user configured for backup set credentials is not member of local Administrators group on the computer holding the SQL Server instance to be backed up.
b) The computer holding the SQL Server instance to be backed up runs Windows Vista or newer and the UAC is turned on (so administrative shares cannot be accessed remotely).

Workaround

a) Ensure the user is member of local Administrators group and that it has granted the sysadmin role on the SQL Server instance to be backed up.
b) Turn off the UAC on the backup target computer or follow the steps below:

  1. Click Start, type regedit in the Start Search box, and then click regedit.exe in the Programs list.
  2. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system
  3. On the Edit menu, point to New, and then click DWORD Value.
  4. Type LocalAccountTokenFilterPolicy for the name of the DWORD, and then press ENTER.
  5. Right-click LocalAccountTokenFilterPolicy, and then click Modify.
  6. In the Value data box, type 1, and then click OK.
  7. Exit Registry Editor and restart the backup target computer.
דילוג לתוכן