Skip to content

TechDirectArchive

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

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

Azure File Sync : How to enable Self-Service restore

Posted on 16/03/202623/06/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

  • AWS Principals
    MFA on Root Account: Create a User on AWS and Register MFA AWS/Azure/OpenShift
  • IAM AWS
    Creating IAM Users, Adding MFA and Policies on AWS AWS/Azure/OpenShift
  • image 54
    How to enable Amazon S3 default bucket encryption using S3 Console AWS/Azure/OpenShift
  • chamedk8s featured
    Install CNF Certified Kubernetes in AWS AWS/Azure/OpenShift
  • maxresdefault 2 6
    How to create an AMI from the Command line AWS/Azure/OpenShift
  • Screenshot 2024 02 09 at 1.06.54 PM
    Programmatically Deploying App Service Resources in Azure AWS/Azure/OpenShift

More Related Articles

AWS Principals MFA on Root Account: Create a User on AWS and Register MFA AWS/Azure/OpenShift
IAM AWS Creating IAM Users, Adding MFA and Policies on AWS AWS/Azure/OpenShift
image 54 How to enable Amazon S3 default bucket encryption using S3 Console AWS/Azure/OpenShift
chamedk8s featured Install CNF Certified Kubernetes in AWS AWS/Azure/OpenShift
maxresdefault 2 6 How to create an AMI from the Command line AWS/Azure/OpenShift
Screenshot 2024 02 09 at 1.06.54 PM Programmatically Deploying App Service Resources in Azure 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

  • Remove Orphaned VHR Repository
    Unable to Remove Orphaned VHR Repository v2 from VBR v13 Backup
  • images 5
    Perform Pleasant Password Self-Service Reset Enrolment Password Manager
  • VMware vCenter Standalone
    Fix VMware vCenter converter standalone started but not running Virtualization
  • UpdateOfficeOnlineServer 1
    Perform Office Online Server Update via the Microsoft Update Catalog Network | Monitoring
  • Slide1 1
    Enable or disable Secure Boot in Windows via UEFI Firmware Settings Windows
  • VBR console update
    Veeam Backup Console must be updated to the latest version Backup
  • 41592 3264bitw10
    What is the difference between 32-bit and 64-bit processors Windows Server
  • esd convert wim 1280x720 1
    Differences between Capture image, Discover image, Install and Boot images Windows Server

Subscribe to Blog via Email

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

Join 1,779 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 © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.