Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

Azure File Sync : How to enable Self-Service restore

Posted on 16/03/202619/05/2026 Link State By Link State No Comments on Azure File Sync : How to enable Self-Service restore
  1. Home
  2. AWS/Azure/OpenShift
  3. Azure File Sync : How to enable Self-Service restore
Azure File Sync

Azure File Sync is a service for centralizing an organization’s file shares in Azure Files while keeping the flexibility, performance, and compatibility of a Windows file server. In this article, we shall discuss “Azure File Sync : How to enable Self-Service restore”. Please, see Unicode Manipulation: CVE-2026-25177 Privilege Escalation in AD, how to replace Veeam Recovery Orchestrator License, and how to Fix failed to connect to the backup server: Make sure it is online.

Although you can opt to keep a full copy of your data locally, Azure File Sync can transform Windows Server into a quick cache of an Azure file share.

You can use any protocol that’s available on Windows Server to access your data locally, including Server Message Block (SMB), Network File System (NFS), and File Transfer Protocol over SSL/TLS (FTPS). You can have as many caches as you need across the world.

Also, see How to fix Domain Join Error during Windows Deployment, SCVMM setup Error 10421: Fix VMM Service Account conflict, and SCVMM setup Fails: Fix Missing Windows ADK Deployment Files.

Things to know before enabling this feature

VSS Schedule Overwrite: If you use the -Force parameter while enabling self-service and the Volume Shadow Copy (VSS) service is currently active, the program will overwrite your existing VSS snapshot schedule with the default one. Ensure you back up your custom VSS configuration before enabling self-service recovery as described above.

Cluster Environments: If you enable self-service recovery on a cluster node, you must perform the same process on all other nodes in the cluster.

Storage Consumption and Azure Billing: Enabling self-service recovery can increase storage usage and Azure costs. This impact applies only to files currently tiered on the server. The feature keeps a cloud-side version of each file available so the local file server can reference it through Previous Versions (VSS snapshots).

  • Disabling the feature: If you disable this function while files are tiered, Azure will gradually reduce storage consumption until the “compatible days” window expires. You cannot accelerate this process.

Non-Tiered Environments: If you are not using the Cloud Tiering feature, no additional Azure storage will be consumed; however, you must still enable this function to allow users to perform self-service recovery.

Please, see how to Integrate Hyper-V [SCVMM] with Veeam Recovery Orchestrator, how to Integrate Hyper-V: Install System Center Virtual Machine Manager, and How to reset Microsoft 365 User Password.

What is Cloud Tiering? (The “Stub” File)

Cloud Tiering is a feature designed to optimize local server capacity.

  • How it works: Frequently accessed files stay on your local server, while infrequently used files are moved to the cloud (Azure). A small “pointer” or stub file remains on the local server, looking and acting like the original.
  • The Benefit: If you have 10TB of data but only a 2TB local server, you can still present the full 10TB to your users. The server seamlessly downloads files from the cloud only when a user opens them.

2. What is VSS (Volume Shadow Copy Service)?

VSS is a Windows technology that captures “point-in-time” snapshots of files.

  • Functionality: It allows users to right-click a folder and select “Previous Versions” to recover deleted or accidentally modified files on their own, without needing to contact a system administrator.

Please, see Inbound connection Error: Failed to Perform Scheduled Replication [Part 2], How to license Veeam Enterprise Manager and Add VBR Servers, and How to upgrade Windows Admin Center from v2411 to v2511.

Enable Self-Service Restore

Import Storage Sync Module

Import-Module "C:\Program Files\Azure\StorageSyncAgent\StorageSync.Management.ServerCmdlets.dll"

# Check Storage self service Resore

Get-StorageSyncSelfServiceRestore -Driveletter D:
01 Import Module

# Enable self-service restore on the D:\ volume

Enable-StorageSyncSelfServiceRestore -Driveletter D: -force
02 EnableStorageSync

#Disable self-service restore policy

Disable-StorageSyncSelfServiceRestore -Driveletter D:
03 Message EnableSYnc

How to schedule VSS snapshot

Follow the steps below to schedule a VSS snapshot. Right click on the drive and select properties

04 How To Schedule VSS Snapshot

Click on Settings

05 Disk Proprieties010

Click on Schedule

06 Settingd12

Select a schedule and click on OK

07 Date Vss Scheduling014

#Formula

days = max_shadow_copies / snapshots_per_day

In your case:

64 / 3 ≈ 21.3 days

So:

  • MaxShadowCopies = 64
  • Snapshots/day = 3
  • Retention ≈ 21 days

The limit of 64 snapshots per volume is the default setting of Windows VSS, and it also applies to the self-service restore scenario with Azure File Sync.

In the article you linked, with the default schedule (2 snapshots/day), the retention reaches about 45 days because:

64 / 2 ≈ 32 days

But the actual schedule (Mon–Fri) extends the restore window to approximately 45 days of available recovery points.

#If you want to keep data for several days with 3 snapshots per day

MaxShadowCopiesSnapshot/giornoRetention
643~21 Days
1283~42 Days
1923~64 Days
2563~85 Days

Windows permette fino a 512 snapshot per volume modificando la chiave registry MaxShadowCopies.

# The default data for this value is 64. The minimum value is 1. The maximum value is 512.

New-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\VSS\Settings\' `
-Name MaxShadowCopies -PropertyType DWord -Value 128 | Out-Null

#Check

Get-Item -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\VSS\Settings\'
08 Enable Snaptho Number016

Please note that for the new VSS limit to take effect, you need to re-run the cmdlet to enable Previous Versions compatibility on every volume where it was previously enabled, using the -Force parameter to take the new maximum number of VSS snapshots per volume into account.

Re-enable self-service restore

To re-enable self-service restore on the same volume that was previously enabled, run the command below.

Enable-StorageSyncSelfServiceRestore -Driveletter D: -force

Check Previous Version as shown below.

11 Check Prvviuos Version 22

I hope you found this article on “Azure File Sync : How to enable Self-Service restore” very useful. Please, feel free to leave a comment below.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
AWS/Azure/OpenShift Tags:Azure, Azure File Sync, Azure File Sync backup and restore, Azure File Sync file recovery steps, Azure File Sync restore deleted files, Azure File Sync restore files by user, Azure File Sync self service recovery guide, Azure File Sync self service restore, Cloud Tiering, enable self service restore Azure storage, Enable Self-Service Restore, how to enable self service restore Azure File Sync, How to schedule VSS snapshot, Microsoft Azure File Sync restore feature, Volume Shadow Copy Service)

Post navigation

Previous Post: Unicode Manipulation: CVE-2026-25177 Privilege Escalation in AD
Next Post: Build a New DC vs Swing Migration: Upgrade Server OS Correctly

Related Posts

  • image 12
    How to Use Postman with the Amazon Pinpoint API AWS/Azure/OpenShift
  • azure ADConnect
    Repair or Uninstall Azure AD Connect: Uninstall Azure AD Connect AWS/Azure/OpenShift
  • defdfd
    The password has expired: Update your password and try again AWS/Azure/OpenShift
  • AWS Principals
    MFA on Root Account: Create a User on AWS and Register MFA AWS/Azure/OpenShift
  • Screenshot 2024 02 29 at 8.03.48 PM
    How to create an Elastic Beanstalk environment in AWS AWS/Azure/OpenShift
  • adfs
    Guide on federating ADFS with Azure Active Directory AWS/Azure/OpenShift

More Related Articles

image 12 How to Use Postman with the Amazon Pinpoint API AWS/Azure/OpenShift
azure ADConnect Repair or Uninstall Azure AD Connect: Uninstall Azure AD Connect AWS/Azure/OpenShift
defdfd The password has expired: Update your password and try again AWS/Azure/OpenShift
AWS Principals MFA on Root Account: Create a User on AWS and Register MFA AWS/Azure/OpenShift
Screenshot 2024 02 29 at 8.03.48 PM How to create an Elastic Beanstalk environment in AWS AWS/Azure/OpenShift
adfs Guide on federating ADFS with Azure Active Directory AWS/Azure/OpenShift

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • cannot connect to the virtual machine try to connect again HyperV
    Could not connect to virtual machine try to connect again Hyper-V Virtualization
  • How to Restore Microsoft Authenticator App on a New Device
    How to fix “Action required” in Microsoft Authenticator App Microsoft Exchange/Office/365
  • exchange 2016 1
    Remove Microsoft Exchange Server: Using ADSIEdit Tool Network | Monitoring
  • ccsC
    NTuser.dat file: How to correctly load Windows Registry Hive Windows
  • azure logo 1
    How to use the built-in Azure Active Directory Connect tool AWS/Azure/OpenShift
  • Mendeley Cite with MSWord Issue resolved
    Mendeley Cite ECITE40001 Error: Fix issue using Microsoft Word Desktop application Mac
  • drivelock header 002
    The push installation of the agent failed for the computer – Error message (67) The network cannot be found Security | Vulnerability Scans and Assessment
  • Docker ENOENT error
    ENOENT: No such file or directory Error in Docker build Containers

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,800 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.