Hello
\nI’m connected to the file server with my domain admin login and i want to restore a file from shadow copy when i try i get no permission to do so
\nwhat is wrong with this ?
\nThanks<\/p>","upvoteCount":1,"answerCount":10,"datePublished":"2025-02-18T14:37:02.664Z","author":{"@type":"Person","name":"Pierre-A","url":"https://community.spiceworks.com/u/Pierre-A"},"suggestedAnswer":[{"@type":"Answer","text":"
Hello
\nI’m connected to the file server with my domain admin login and i want to restore a file from shadow copy when i try i get no permission to do so
\nwhat is wrong with this ?
\nThanks<\/p>","upvoteCount":1,"datePublished":"2025-02-18T14:37:02.787Z","url":"https://community.spiceworks.com/t/vss-issue-cannot-restore-files/1176535/1","author":{"@type":"Person","name":"Pierre-A","url":"https://community.spiceworks.com/u/Pierre-A"}},{"@type":"Answer","text":"
Even if you are a Domain Admin, NTFS permissions still apply(yeah even admin don’t have explicit direct access to everything). If your account does not have Full Control over the file/folder, you may not be able to restore it.<\/p>\n
Right-click the parent folder > Properties > Security tab and check if your account or the Administrators group has Full Control.\nIf needed, take ownership: (carefull with that one it can break it....Last resort please)\n Right-click the folder > Properties > Security tab > Advanced.\n Change Owner to your admin account or Administrators group.\n Apply and then grant yourself Full Control.\n<\/code><\/pre>\n\n- Check Share Permissions (if accessing via a UNC path) (bad habit when trying to do some VSS work)<\/li>\n<\/ol>\n
If you’re accessing the file via \\server\\share, share-level permissions could be blocking you.<\/p>\n
Right-click the shared folder > Properties > Sharing tab > Advanced Sharing > Permissions.\nEnsure the Administrators group has Full Control.\n<\/code><\/pre>\n\n- Run Windows Explorer as Administrator<\/li>\n<\/ol>\n
Even as Domain Admin, UAC might restrict you(rare but it happens). Try running Explorer as Administrator:
\nHere is a quick how to :
\nPress Win + R, type explorer, and press Ctrl + Shift + Enter to launch it with elevated privileges.<\/p>\n
\n- Check Shadow Copy Settings<\/li>\n<\/ol>\n
If Shadow Copy is enabled, but files cannot be restored, check the VSS configuration:<\/p>\n
Run vssadmin list shadows in Command Prompt (Admin) to check if snapshots exist.\nIf the snapshot is missing, you might need to configure Shadow Copies correctly.\n<\/code><\/pre>\n\n- Try Restoring via PowerShell (again please be carefull here)<\/li>\n<\/ol>\n
vssadmin list shadows<\/p>\n
Identify the snapshot ID and use:<\/p>\n
copy “\\?\\GLOBALROOT\\Device\\HarddiskVolumeShadowCopyX\\Path\\to\\file” “C:\\restore\\file”<\/p>\n
(Replace X with the shadow copy number.)<\/p>\n
\n- Check Group Policy Restrictions (that would be wierd but possible)<\/li>\n<\/ol>\n
There might be a GPO restriction preventing file restores. Check:<\/p>\n
Computer Configuration\\Administrative Templates\\Windows Components\\File Explorer\\Previous Versions. check for the Prevent restoring options check if any are enable**<\/p>\n
\n- Test with a Different Admin Account (You might have direct restriction pointed to your own account)<\/li>\n<\/ol>\n
If other Domain Admins can restore but you cannot, your account might have specific restrictions.<\/p>","upvoteCount":0,"datePublished":"2025-02-18T15:10:47.029Z","url":"https://community.spiceworks.com/t/vss-issue-cannot-restore-files/1176535/2","author":{"@type":"Person","name":"Psychoredfish","url":"https://community.spiceworks.com/u/Psychoredfish"}},{"@type":"Answer","text":"
hello Again
\nit’s a Windows server 2022 sorry i forgot to mention.<\/p>\n
Thanks<\/p>","upvoteCount":1,"datePublished":"2025-02-18T15:17:31.489Z","url":"https://community.spiceworks.com/t/vss-issue-cannot-restore-files/1176535/3","author":{"@type":"Person","name":"Pierre-A","url":"https://community.spiceworks.com/u/Pierre-A"}},{"@type":"Answer","text":"