We recently migrated our domain controller to Windows server 2016 edition. the DC is virtualized under vmware esxi 6.5 with vmware tools ver 10.1.x. I have schedule systemstate backup by using wbadmin command line tool. Example:
wbadmin start systemstatebackup -backuptarget:d: -quiet
After migration to 2016, I observed following error …
Error in backup of C:\windows\\systemroot\ during enumerate: Error [0x8007007b] The filename, directory name, or volume label syntax is incorrect.
After some searching , we found that this error is related to vmware tools version 10.1.x which sets incorrect path for some driver location.
To exactly find what file is causing, use following
- Open command prompt [Run as Administrator] , type below and press ENTER.
DiskShadow /L writers.txt
- The prompt will point to DISKSHADOW>
- Now Type
list writers detailed
and press ENTER
- After a while, this will list all of the writers and affected volumes. After completion, EXIT.
Open the writers.txt file in notepad or any text editor, then a search for windows\\ text , it should find the following:
File List: Path = c:\windows\\systemroot\system32\drivers, Filespec = vsock.sys
So the culprit was VSOCK.SYS To sort this we need to correct the path in the windows REGISTRY.
- Run REGEDIT , then navigate to
HKLM\SYSTEM\CurrentControlSet\Services\vsock
- Then change the ImagePath value string data from the incorrect
\systemroot\system32\DRIVERS\vsock.sys
to
System32\DRIVERS\vsock.sys
As showed in the image below …
BEFORE …
AFTER …
- No need to reboot/log off. Simply run the backup again & this time you should see SUCCESSFUL report.
Regard’s
Syed Jahanzaib