Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » AWS/Azure/OpenShift » Azure File Sync : How to enable Self-Service restore

Azure File Sync : How to enable Self-Service restore

Posted on 16/03/202617/03/2026 Link State By Link State No Comments on 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.

Rate this post

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, Cloud Tiering, Enable Self-Service Restore, How to schedule VSS snapshot, Volume Shadow Copy Service)

Post navigation

Previous Post: Unicode Manipulation: CVE-2026-25177 Privilege Escalation in AD

Related Posts

  • cloudqueryfeature
    How to Manage Cloud Assets in AWS with CloudQuery AWS/Azure/OpenShift
  • Slide2 1
    How to deploy WordPress on Azure App Service AWS/Azure/OpenShift
  • Microsoft LAPS
    Configure Windows LAPS Management with Microsoft Intune AWS/Azure/OpenShift
  • Simple Notification Service AWS SNS
    Create Simple Notification Service (SNS) Notification on AWS AWS/Azure/OpenShift
  • image 19
    Download your MySQL database from Azure to a local PC with MySQL Workbench AWS/Azure/OpenShift
  • Screenshot 2024 02 29 at 8.03.48 PM
    How to create an Elastic Beanstalk environment in AWS AWS/Azure/OpenShift

More Related Articles

cloudqueryfeature How to Manage Cloud Assets in AWS with CloudQuery AWS/Azure/OpenShift
Slide2 1 How to deploy WordPress on Azure App Service AWS/Azure/OpenShift
Microsoft LAPS Configure Windows LAPS Management with Microsoft Intune AWS/Azure/OpenShift
Simple Notification Service AWS SNS Create Simple Notification Service (SNS) Notification on AWS AWS/Azure/OpenShift
image 19 Download your MySQL database from Azure to a local PC with MySQL Workbench AWS/Azure/OpenShift
Screenshot 2024 02 29 at 8.03.48 PM How to create an Elastic Beanstalk environment in AWS 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

  • credentialguard
    Enable or disable Windows Defender Credential Guard Security | Vulnerability Scans and Assessment
  • Featured Image 1
    How to enable or disable a Remote WMI Connection in Windows Windows
  • Windows Image Converation from Evaluation to retail Edition
    Convert Windows Server Essentials or Evaluation to Retail Edition Windows
  • ansible vault
    Concept of Ansible on Windows using Cygwin Configuration Management Tool
  • Create AWS RDS instance
    How to create an Amazon Relational Database Service Instance AWS/Azure/OpenShift
  • Complete Guide on TestRail as a Test Management Tool   banner
    Complete Guide on TestRail as a Test Management Tool Security | Vulnerability Scans and Assessment
  • maxresdefault 2
    How to uninstall Applications with PowerShell Script Scripts
  • ArchiveUnarchiveDelete134
    Manage a GitLab Project: How to archive or unarchive and delete GitLab projects Version Control System

Subscribe to Blog via Email

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

Join 1,821 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.