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/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.

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
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

  • How to create EC2 instance using Ansible
    How to launch an EC2 instance AWS/Azure/OpenShift
  • TLS1.2
    Unable to install Azure AD Connect, TLS 1.2 is required: How to enable or disable TLS 1.2 on a Windows Server via the Registry and PowerShell AWS/Azure/OpenShift
  • HybridCloudTrust
    WHFB Hybrid Cloud Kerberos Trust Model is now available AWS/Azure/OpenShift
  • Create an S3 Bucket
    Backup Repository: How to Create Amazon S3 buckets AWS/Azure/OpenShift
  • How to Manage Azure Virtual Machines with Windows Admin Center and Serial Console​
    Manage Azure Virtual Machine with Windows Admin Center and Serial Console AWS/Azure/OpenShift
  • Angular 1
    How to deploy an Angular App to AWS S3 AWS/Azure/OpenShift

More Related Articles

How to create EC2 instance using Ansible How to launch an EC2 instance AWS/Azure/OpenShift
TLS1.2 Unable to install Azure AD Connect, TLS 1.2 is required: How to enable or disable TLS 1.2 on a Windows Server via the Registry and PowerShell AWS/Azure/OpenShift
HybridCloudTrust WHFB Hybrid Cloud Kerberos Trust Model is now available AWS/Azure/OpenShift
Create an S3 Bucket Backup Repository: How to Create Amazon S3 buckets AWS/Azure/OpenShift
How to Manage Azure Virtual Machines with Windows Admin Center and Serial Console​ Manage Azure Virtual Machine with Windows Admin Center and Serial Console AWS/Azure/OpenShift
Angular 1 How to deploy an Angular App to AWS S3 AWS/Azure/OpenShift

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

veeaam100

Veeam Vanguard

  • Why you should not Upgrade Windows on an ePO Server
    Why you should not Upgrade Windows on an ePO Server Windows Server
  • Windows Boot Error 0xc0000098 e1786788075757
    How to fix Windows Boot Error 0xc0000098 (winload.efi) Windows
  • sql stuck
    How to uninstall Microsoft SQL Server Management Studio Oracle/MSSQL/MySQL
  • PrintNightMare
    Mitigating ‘PrintNightmare’ Vulnerability: Print Spooler Solutions Security | Vulnerability Scans and Assessment
  • Screenshot 2020 06 22 at 23.27.40
    How to fix unable to install msodbcsql17 tool on Ubuntu Oracle/MSSQL/MySQL
  • Proxmox Installation
    Install Proxmox VE on a Beelink EQ12 Mini PC Virtualization
  • adfs training
    Post-Deployment of Active Directory Federation Service (ADFS) Windows Server
  • article 1280x720.aa742702
    How to create a custom view in Windows Event Viewer 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,752 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

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.