Yes, in most cases you can recover deleted files from a Windows server, provided Shadow Copies or a backup existed before the deletion. Stop writes to the affected volume now and preserve your backups. Deleted AD objects need the Recycle Bin enabled beforehand or a system state backup. Without either, avoid risky in-place repairs and call us at TechBug.
TL;DR:
- Disconnect shares and pause services that write to the affected volume; record the deletion time, and do not reboot a responsive server.
- Check Previous Versions only if Shadow Copies were enabled before deletion; restore to a separate location first because network deletions usually bypass the Recycle Bin.
- Use wbadmin to restore a backup version dated before deletion, target another location, and verify files and permissions before moving them back into production.
- For deleted Active Directory accounts, the Recycle Bin must have been enabled beforehand; otherwise, restore System State authoritatively, which can roll back later object changes.
- If a server will not boot or disks may be failing, capture errors and image disks offline before repair; never force a RAID rebuild.
Table of Contents
- What should you do in the first ten minutes?
- How do you recover files from Shadow Copies (Previous Versions)?
- How do you restore files with Windows Server Backup (wbadmin)?
- How do you restore deleted Active Directory objects?
- What if the server won’t boot after the deletion?
- How do you verify restored files and prevent a repeat?
- How do ReFS and NTFS change your recovery options?
- Are deleted user profiles different from deleted files?
- How do you recover from cloud backups or hybrid setups?
- How do you stop accidental deletions happening again?
- How does recovery work in virtualised Windows Server environments?
- When should you call TechBug for emergency server recovery?
- What mistakes do we see again and again?
- FAQ
- Sources
- Where can you find the official documentation?
What should you do in the first ten minutes?
The initial response can determine whether recovery is straightforward or becomes a forensic exercise. Every write to the affected volume can overwrite the data you want back, so the goal is to freeze the scene before you fix anything.
- Stop writes: disconnect SMB shares, pause services that write to the volume (backup agents, indexers, sync clients, scheduled tasks) and block user access.
- Do not reboot or reimage a server that still responds. If it is a VM, use the hypervisor console to inspect errors rather than power cycling.
- Locate your last backup and snapshot timestamps. Note the volume letters, the time of deletion and any changes made since.
- If an AD user account was deleted, check whether the Active Directory Recycle Bin was enabled before the deletion. The answer changes your whole restore path.
- Record times, take screenshots and keep backup manifests intact. If you are unsure at this point, contact your IT provider before touching anything.
Pro Tip: Write down when the deletion happened before you do anything else. Every restore decision, from choosing a snapshot to picking a backup version, starts from that timestamp.
How do you recover files from Shadow Copies (Previous Versions)?
Previous Versions is built on Volume Shadow Copy Service snapshots, and Microsoft documents the feature as a way to recover files that were accidentally deleted or overwritten. The catch is that it only works if it was enabled on that specific volume before the deletion. Nothing you do afterwards can create a snapshot from the past.
Shadow Copies only help if they were switched on before the file was deleted, so confirming that comes first. Many servers never had it enabled, because it is often off by default, and a deletion from a network share usually bypasses any Recycle Bin on the server.
To check and restore:
- Open the volume’s Properties in File Explorer and look at the Shadow Copies tab, or use the Shared Folders MMC (Configure Shadow Copies) to see which volumes are protected and their schedule.
- From PowerShell, run
vssadmin list shadows /for=D:orGet-CimInstance Win32_ShadowCopyto list snapshots and their creation times. - Browse to the parent folder of the deleted file, right-click and choose Properties, then Previous Versions. Pick a snapshot dated before the deletion.
- Copy the file to an alternate safe location first. Restore over the original path only after you have confirmed the contents, and choose the overwrite option deliberately.
- If expected versions are missing, the snapshot schedule or the storage allocated to shadow copies is the usual reason. Older snapshots are discarded when the allocation fills.
Microsoft’s own guidance is that Shadow Copies help recover accidental deletions but are not a substitute for regular backups, so treat them as the quick first option rather than your only line of defence.
How do you restore files with Windows Server Backup (wbadmin)?
When there is no usable snapshot, Windows Server Backup is the next stop. wbadmin start recovery restores specific files, folders, volumes or applications from a previous backup, to the original location or an alternate target.
Work through it in this order:
- List available backups with
wbadmin get versionsand note the version identifier that predates the deletion. - Check what that backup contains using the version identifier you noted.
- Build the recovery command, for example:
wbadmin start recovery -version:03/14/2026-02:00 -itemType:File -items:D:SharesFinanceBudget.xlsx -recoveryTarget:E:Restore -overwrite:CreateCopy. - Restore to an alternate location with
-recoveryTargetfirst. Use-overwrite:Skip,CreateCopyorOverwritedepending on how cautious you need to be. Add-notRestoreAclonly if you deliberately want the restored files to inherit permissions from the target rather than keep the originals. - Verify the result before moving anything back into production.
How backups were taken matters later. A copy backup (-vssCopy) leaves file history untouched, so scheduled incrementals are not disturbed, while -vssFull updates file history and may truncate earlier logs. If you take an ad hoc backup before a risky restore, use the copy option.
Copy backups perform a full backup without updating the file history, ensuring that subsequent scheduled incremental or differential backups are not impacted.
If your estate runs enterprise backup software instead, Veeam’s file share recovery options include instant file share recovery, full restore, point-in-time rollback and file or folder selection from restore points. Our write-up on Datto versus Veeam covers how those architectures affect recovery.
How do you restore deleted Active Directory objects?
Deleted accounts and groups follow a different path from deleted files. Microsoft’s guidance is clear that the Active Directory Recycle Bin must have been enabled before the object was deleted, and that enabling it is irreversible. Without it, recovering an object means an authoritative restore from a System State backup, which rolls back changes made to the object since that backup, and it requires domain administrator privileges.
- Recycle Bin enabled: open Active Directory Administrative Center, go to the Deleted Objects container for the domain, select the object and choose Restore. In PowerShell, find it with
Get-ADObject -Filter 'isDeleted -eq $true -and Name -like "*jsmith*"' -IncludeDeletedObjectsand pipe the result toRestore-ADObject. - Recycle Bin not enabled: boot a domain controller into Directory Services Restore Mode, restore System State with wbadmin, then mark the object authoritative with ntdsutil so the restored version replicates outward instead of being overwritten.
- Permissions: the account doing the restore needs the Reanimate Tombstone control access right on the domain naming context, in addition to rights on the target container.
After the restore, confirm the account is enabled, reset the password, check group memberships (some are restored, some need rebuilding) and verify the user can reach the resources they could before.
Pro Tip: Before enabling the Recycle Bin in production, test the forest functional level and the irreversibility on a lab domain. Then enable it today, because it only protects deletions made after it is on.
What if the server won’t boot after the deletion?
Resist the urge to keep rebooting. Each restart attempt can trigger automatic repair, journal replay or filesystem checks that overwrite metadata you may need later. Capture the exact console error first. As console boot messages map to distinct recovery actions, the message tells you whether you face a missing boot loader, a corrupted filesystem or a configuration fault, and that determines the safest path.
- Open the VM or host console and photograph or copy the full error text, including any stop code.
- If the data is at stake, create an offline image of the disk before any write, whether by hypervisor snapshot, disk export or sector-level copy to separate storage.
- Attach the disk to a rescue system or another server read-only, and copy out the files you need.
- If the files are gone from the disk itself, boot rescue media and perform an offline restore from your backup images to alternate storage.
- Decide between repair and rebuild. When the filesystem or OS is badly damaged, rebuilding the server and restoring data from backup is often faster and safer than coaxing a broken installation back.
If you suspect failing disks or a degraded RAID array, stop and power down cleanly rather than forcing a rebuild. That is the point to hand over to a specialist.
How do you verify restored files and prevent a repeat?
A restore is not finished until you have proved it worked.
- Open a sample of restored files in their native applications and compare checksums (
Get-FileHash) against known-good copies where you have them. - Confirm ACLs and inherited permissions match the original with
icacls, especially if you restored with-notRestoreAclor to an alternate path. - Start the services and applications that depend on the restored data and watch event logs for access errors.
- Document the incident: timeline, snapshots and backups used, commands run and gaps found. Update snapshot schedules and backup jobs accordingly.
- Set policy: scheduled restore tests, Shadow Copies on critical volumes, an AD Recycle Bin decision, and a managed backup agreement with defined recovery targets if you lack the staff to run it.
How do ReFS and NTFS change your recovery options?
NTFS is the forgiving one. Deleted file records stay in the Master File Table until reused, which is why third-party recovery tools can sometimes find files after the Recycle Bin and snapshots have failed. That window closes quickly as the volume stays in use, which is why stopping writes matters. Run any recovery tool from another volume and save recovered files to a different disk.
ReFS is less forgiving. Its copy-on-write design and checksummed metadata favour resilience over undelete, and mainstream file recovery tools have narrower support for it. In practice, treat Shadow Copies, backups and replicas as your realistic recovery routes on ReFS volumes. If the volume holds Hyper-V or Storage Spaces data, remember that the underlying pool and virtual disks add layers a generic undelete tool will not understand.

For either filesystem, work on an image rather than the live volume wherever possible. Any recovery software you choose should be tested on non-critical data first, and you should never install it onto the affected volume.
Are deleted user profiles different from deleted files?
Yes, and mixing them up wastes time. A deleted file is data. A deleted user profile can mean three separate things: the folder under C:Users or a roaming profile share, the profile registry entry under ProfileList, or the AD account itself.
If the profile folder was deleted but the account exists, restore the folder from a snapshot or backup into the correct path. The user then logs on and Windows picks it up, provided the ProfileList registry entry still points to it. If the registry entry was removed along with the folder, you may need to recreate the SID mapping before the restored folder is recognised, and check that ownership and ACLs belong to the right SID.
For roaming profiles and folder redirection, restore the profile share and test with a single user first. If the account itself was deleted, you are in Active Directory territory, covered above: a restored object keeps its original SID, so the old profile reattaches cleanly, whereas a recreated account gets a new SID and will not match the old folder without manual permission fixes. Data held in Microsoft 365 follows a separate process, covered in our Microsoft 365 backup guide.

How do you recover from cloud backups or hybrid setups?
Hybrid environments add a question that on-premises servers do not: where does the good copy live? A file deleted on the server may already have synced the deletion to the cloud, and a retention policy may be quietly expiring your recovery points.
Start by identifying every copy: cloud backup vault, replicated storage, sync client recycle bins and any immutable or air-gapped tier. Cloud backup restores are bounded by bandwidth, so for large datasets ask whether the provider can ship a seed device or restore to a cloud VM and mount it from there. Check the retention window before you start, because versions age out on a schedule. Our guides to backup retention policy and air gapped backups cover how to set those windows, and the notes on cloud backup for small business explain how those tiers fit together.
Restore to an alternate location first, verify, then move data back. Disable any sync client on the affected path during the restore so a half-finished copy does not propagate back up the chain.
How do you stop accidental deletions happening again?
Most server deletions are permission problems in disguise. Tighten the setup before the next incident.
- Enable Shadow Copies on every data volume, with a schedule matched to how often data changes and enough storage allocation that older snapshots survive.
- Take scheduled backups that follow the 3-2-1 idea: multiple copies, different media, one offsite or immutable. Test restores on a calendar, not when you need them.
- Enable the AD Recycle Bin and protect critical OUs from accidental deletion.
- Apply least privilege on shares and use separate admin accounts so everyday logons cannot delete production data.
- Turn on file server auditing for delete events on sensitive shares, so you know who and when.
- Consider File Server Resource Manager quotas and screening, and make deletion in bulk require a change ticket.
A written runbook for the initial response, kept somewhere that does not depend on the failed server, can help preserve data.
How does recovery work in virtualised Windows Server environments?
Virtualisation gives you extra options, and extra ways to make things worse. If a VM lost files, the hypervisor layer may hold a checkpoint, replica or image-level backup that predates the deletion. Image-level backups let you mount a restore point and pull individual files without rolling back the whole machine, which is usually what you want.
Be careful with checkpoints. Reverting a VM to a checkpoint rolls back everything on that machine, including legitimate changes made since, and for domain controllers it can cause USN rollback and replication damage. Never revert a domain controller VM to an old checkpoint to bring back a deleted object.
Prefer restoring a copy of the VM or its disks to an isolated network, extracting the files, and copying them to the production guest. If the guest will not boot, attach its virtual disk to a healthy VM read-only, as covered in the boot section above. Keep the original disks untouched until you are sure the recovery is complete.
When should you call TechBug for emergency server recovery?
Some situations are better handed over early:
- You have no backups or snapshots covering the deleted data.
- A complex AD restore is needed and you are unsure about authoritative steps.
- The server will not boot, or you suspect RAID or hardware failure.
- Ransomware is involved, or you cannot trust the integrity of your backups.
Our emergency workflow is simple: we triage the situation, take an offline image before anything writes to the disks, perform a targeted restore, verify the data and permissions with you, then follow up with hardening so it does not recur. We are vendor-agnostic, so we recommend what suits your environment rather than what a single supplier sells, and we work toward tested restores. If you want ongoing cover, our managed IT services include backup monitoring, or contact us through our main site and tell us what happened and when. We can also walk you through our data recovery approach before you commit.

What mistakes do we see again and again?
The pattern is consistent: preserve first, fix later. The most expensive mistakes are rebooting a stricken server, restoring in place over the damaged data, and running a repair tool on the only copy. During triage we image before we write, confirm the backups are readable before we rely on them, and check permissions before we hand files back. None of it is glamorous, and all of it works. Test your restores regularly, keep a backup you have actually opened, and call an emergency responder early rather than late.
— Ru
FAQ
How do I recover deleted files from a Windows server?
Check Previous Versions on the parent folder first, then restore from Windows Server Backup or your enterprise backup tool if no snapshot exists. Stop writes to the volume before you start, and restore to an alternate location to verify the files.
Can I recover deleted servers or virtual machines?
If the VM was deleted from the hypervisor, restore it from an image-level backup or replica, or recover its virtual disk files from the datastore backup. Act quickly, because storage space freed by the deletion can be reused.
Does the Windows Server Recycle Bin hold files deleted from a network share?
Usually not. Files deleted over SMB typically bypass the server’s Recycle Bin, so check Shadow Copies or your backup system instead of assuming the file can be undeleted locally.
How do I restore a deleted Active Directory user?
If the Recycle Bin was enabled beforehand, restore the account from the Deleted Objects container or with Restore-ADObject. If not, an authoritative restore from a System State backup is required.
Sources
Where can you find the official documentation?
Follow the vendor procedures when you execute a restore, and check each against your own server version before running it.
- Microsoft’s pages on Shadow Copies, wbadmin and the Active Directory Recycle Bin, linked above.
- Veeam’s file share recovery guide for enterprise backup approaches.
- Your own product documentation, read in full before any restore.
